AR-152AdvancedPremium

Arduino Industrial Mixing Tank: Fill, Mix, Drain with PLC Logic (HC-SR04 + 2 Relays + NEMA 17 + A4988 + LCD + E-Stop)

The classic batch process task from industrial automation classes: fill the tank, mix, drain, count the batch. The code runs step by step with PLC logic (S0 IDLE → S1 FILL → S2 MIX → S3 DRAIN → S4 DONE). Two relays open the inlet and outlet valves, an HC-SR04 measures the level and a NEMA 17 mixer turns and reverses. It has START, STOP, a latching EMERGENCY STOP, a tower lamp and a timeout fault.

0.0(0)
Arduino Industrial Mixing Tank: Fill, Mix, Drain with PLC Logic (HC-SR04 + 2 Relays + NEMA 17 + A4988 + LCD + E-Stop)
Build a factory mixing tank on your desk: a valve opens, the tank fills, the mixer turns, the tank drains and the batch counter goes up. An ultrasonic sensor above the tank measures the level, two relays open and close the valves, a stepper motor does the mixing, and a three colour tower lamp and a screen show the process. You learn the PLC ideas of steps, transition conditions, interlocks, timeout faults and the emergency stop on a real circuit.

Source Code

Premium Content

The source code, block version and FAQ of this project are open to Premium members.

  • All Project Code
  • Block version
  • Frequently Asked Questions