Arduino

532 readers
9 users here now

This is an UNOFFICIAL Arduino community.

Everyone who uses Arduino board or their clones or associated boards and/or the Arduino IDE is welcome here. If it involves Arduino hardware or software it's welcome here. If it connects to Arduino hardware it's welcome here. If you're building your own boards that you use with an Arduino it's welcome here. There will be no Arduino elitist bullshit in this community.

You may also be interested in:

AVR

RULES:

  1. It's always a floating input.

  2. All Lemmy.ca rules apply here.

  3. Everyone (see rule 98) is welcome.

  4. 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 1 year ago
MODERATORS
26
 
 

This is the bottom board that I designed to fit into the BUD DMB-4774 DIN rail mounted PLC case. It carries the MEGA2560 Pro Mini board (on the left) and the ESP32 board (on the right.) All of the controller code runs on the MEGA2560 (more than 4,000 lines of BascomAVR which I'm converting to Great Cow BASIC right now because the guy who wrote BascomAVR is a dick and GCB is far more feature rich) and the ESP32 does all the WiFi over the MQTT protocol (more than 800 lines of Sketch.) There's also a dual FRAM card standing on edge below the ESP32 which I use to store logs.

The green connectors are 9-place pluggable 5.08 mm screw terminals that let me unplug a whole block instead of undoing a bunch of screws (VERY handy.) The 20-pin box header on the left edge connects to the top board which does the HMI stuff.

The labels on the connectors are things like:

BFS - Bottom Float Switch (in the releaser) TFS - Top Float Switch VS - Vacuum Solenoid AS - Air Solenoid LVL - Releaser Level (an IR laser TOF sensor) PVT - Pump Side Vacuum Transducer CVT - Collection Side Vacuum Transducer VP - Vacuum Pump

That's the first block. The other blocks have similar meanings.

27
 
 

This is the machine that runs my maple syrup machine room. The PLC (the large grey box on the left in the second section from the top) runs a MEGA2560 Pro Mini with an ESP32 as a WiFi modem. There are more than 4,000 lines of BascomAVR running on the MEGA2560 and around 800 lines of Sketch on the ESP32.

The top section is power distribution. The middle section is supposed to be PLC only but my 24V power supply and distribution leaked into the right hand end opposite the PLC. The bottom three sections from left to right are analog input, digital input, and digital output.

This thing runs a vacuum pump (a MasterCool 90066A), a transfer pump (a small Iwaki), an RO pump, and two solenoid valves (to be replaced with motorized ball valves this summer.) It takes inputs from a bunch of float switches, two vacuum transducers, a pressure transducer, three high precision digital thermometers, and two last time of flight sensors. This thing runs the entire process from the trees through collection and storage through the RO into secondary storage and out a tap to be boiled in the evaporator.

The PLC uses a pair of custom boards that I designed to fit in the BUD case they're installed in. I'll post pictures of the inside shortly.