18

This controller is based on a pair of custom boards that I designed, had manufactured, and assembled. The main board uses an Arduino MEGA2560 Pro and an ESP32. The MEGA2560 runs the machine and the ESP32 acts as a WiFi modem that the controller uses to send MQTT messages.

The top section of this controller is the mains entry, a 12VDC power supply and a 5VDC power supply. The next section down is the PLC that does all the work and a 24VDC power supply that I added later but didn't have room for in the power section above.

On the bottom the left section is analog inputs, the middle section is digital inputs, and the right hand section is digital outputs, mostly using solid state relays.

The box at the bottom of the right section is a driver for a motorized ball valve that I'm planning to use to replace the air solenoid on the vacuum releaser I will eventually replace the vacuum solenoid as well.

The code on the MEGA2560 is written in Bascom AVR, a compiled AVR BASIC. I'm moving away from BASCOM to Great Cow BASIC because the guy who wrote Bascom AVR had a hissy fit when I found a problem in one of the libraries and asked too many question. He cancelled my license and banned me from the forums. Don't use BASCOM AVR, the guy is a dick.

Great Cow BASIC is cross platform and supports AVRs, PICs, and LGTs (Chinese knockoffs of the AVR chips.)

The code for the PLC is around 8,000 lines.

The code for the ESP32 is written in C++.

you are viewing a single comment's thread
view the rest of the comments
[-] neidu3@sh.itjust.works 2 points 6 months ago
[-] MapleEngineer@lemmy.world 3 points 6 months ago

I love the DIN stuff.

this post was submitted on 01 Mar 2026
18 points (100.0% liked)

Maple Engineering

183 readers
1 users here now

Welcome to Maple Engineering

Visit Maple Engineer on YouTube.

This is a community for those who come up with creative ways to make maple syrup. You don't have to be designing and building homemade vacuum or RO systems to participate. Have you done something cool with your buckets and spiles? Tell us! Are you proud of your tubes and buckets? Show us! Have you built your own homemade gravity of pumped vacuum system? Show it off! Do you design, build, or install giant, gleaming, stainless steel maple syrup production systems? Tell us all about it! If you don't make maple syrup but love it on your pancakes of johnnycake and want to ask question, ask away. The people posting here love to talk about making and eating maple syrup.

You may also be interested in:

Maple_Syrup

RULES:

  1. All Lemmy.ca rules apply here.

  2. Everyone (see rule 98) is welcome.

  3. If you've seen a question 100 times answer it the 101st time or ignore it. Even better, write a complete, detailed answer and suggest that the mod(s) pin it to the community.

[Did you actually think there were 98 rules?]

  1. If you present something as fact and are asked to provide proof or a source provide proof or a source. Proof must be from a reliable source. If you fail to provide proof or a source your post or comment may be removed.

  2. Don't be a dick. Yes, this is a catch-all rule.

  3. The mod(s) have the final say.

founded 3 years ago
MODERATORS