Tag: ACS712 AC current

1 articles found.

ESP32 Exhaust Fan with SHT40, SSR-25DA and ACS712 - Proteus Simulation

ESP32 Exhaust Fan with SHT40, SSR-25DA and ACS712 - Proteus Simulation: the ESP32, the SHT40, the ACS712, the SSR-25DA and the 230 V fan

Hello friends, I hope you all are doing great. Today, I am going to share the ESP32 Exhaust Fan with SHT40, SSR-25DA and ACS712 - Proteus Simulation, the ninety-ninth project of our IoT Projects series. If you have searched for an ESP32 humidity-controlled fan, how to switch a 230 V load with a solid-state relay, how to measure AC current with an ACS712, or how to tell if a motor is really running, here is a complete one in a Proteus simulation. Switching a mains load from a microcontroller is easy; knowing that the load actually did what it was told is the part most projects leave out. This project is a smart bathroom exhaust fan. An SHT40 sensor measures the humidity; when a shower pushes it past 70 %, the ESP32 switches the 230 V fan on through an SSR-25DA solid-state relay, and when the air is dry again it lets the fan run on for a while and stops it. An ACS712 current sensor sits in the fan's line wire, so the ESP32 also knows how much current the fan really draws. After every start it learns the fan's normal current; no current at all means a broken wire or a dead relay, and too much current means jammed blades, so the relay is switched off before the motor overheats. A dashboard shows everything, with a BOOST and a RESET. In this tutorial, we will go through the circuit, how the SHT40 measures humidity, how a zero-crossing solid-state relay switches the mains, how an ACS712 measures an AC current, and the code. Then we take a shower and jam the fan in the simulation. ...