Raspberry PI motor control

4-channel motor control (for automatic feeders, pumps, fans) based on Raspberry PI, design in Node-Red.

1 – Smartphone /tablet
2 – Raspberry PI with Node-Red installed
3 – Relays 4-Channel Relay Board for Pi Zero
4 – INA219 (i2c, 4-Channels) Waveshare Current/Power Monitor Hat
5 – Motor (5 – 24 V)

The engines turns on and off according to a set schedule. Motors operations are monitored based on current measurements in the circuit using a 4-channel INA219 (over the i2c bus). Errors (breakage, overload, idling) alerts by Email, Telegram.
Configuration (schedule, values of breakage-, overload-, idling- currents, e-mail address, telegram token, etc.) via the browser (Node-Red UI).
A smartphone/tablet can also be used as a router.
The values of breakage, overload, and idle currents for motors /pumps are determined experimentally.