![]() ![]() The 30 amp one will not be sensitive enough for this project, so choose the five or twenty variant. They come in 5, 20, and 30 amp varieties. These Hall-effect sensor breakout boards are notoriously flakey, but for this project, all it needs to do is detect a change in current, not take an accurate current reading. Alternatively, you could use a plain UNO and add an ESP8266 chip to it. ![]() You can use an Arduino but it will have to be one of the few that have WiFi. You can use any microcontroller for this project, but it needs to have Wi-Fi capabilities, so boards based on the ESP8266 or ESP32 chips are best. This is my number one favorite of all time microcontroller because it is small and cheap. 1 NPN transistor (optional, but recommended).I made this little gif to show how everything is tied together: gif by MakerWS Second, the chip that powers the Mini is capable of running an MQTT broker, but it’s really not well-suited for it. The other is responsible for sensing a change in current from a power tool, sending an HTTP request to the relay server, and sending another request after a delay to turn the relay off.Īlthough MQTT seems to be the standard communication protocol for home automation gadgets, I chose to use HTTP for two reasons.įirst, I can’t rely on cloud-based MQTT brokers because the WiFi in my shop is spotty. One Mini acts as a web server that also controls the relay that turns on the shop-vac. I’ll explain why at the end of the guide. I had originally wanted to use a WeMos D1 Mini for the first device, and a Raspberry Pi Zero for the second. In a nutshell, my shop-vac auto-switch uses two devices one to sense a change in electrical current, and another to operate a relay. The author is not responsible for damages to life and property.⚡⚡ If you are not a trained electrician turn back now. ![]() ⚡⚡This project involves working with AC wall voltage. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |