Hi, I am designing an IOT power project for an appliance and USB device at home. I have a question around using relays controlled by my low voltage micro controller to switch high voltage switches. There are numerous "how to" guides for creating IOT 120 plugs online, they all seem pretty straight forward. I am wondering if someone can help me consider an approach to control 2 devices with a micro controller, one 120VAC and one 5V (typical USB powered device). See example schematic below, I put in the micro controller I will be using and a relay I found for 3.3V controllers to switch 120VAC (I am not wedded to that relay, just for example purposes). I would love some advice on relay's to consider for both the 120VAC and 5V side. Also, I am not sure if using a relay for switching the 5V USB device is the way to go, open to any options.
Also, would it be possible to design this to take in the single 120VAC power and supply power to the micro controller and both devices, for a more elegant solution (removing the need to power each device separately)?
Thanks in advance.
Components in example:
ICStation 1CH
ESP8266 NodeMCU Micro Controller
Also, would it be possible to design this to take in the single 120VAC power and supply power to the micro controller and both devices, for a more elegant solution (removing the need to power each device separately)?
Thanks in advance.
Components in example:
ICStation 1CH
ESP8266 NodeMCU Micro Controller
Attachments
-
132.6 KB Views: 2
Last edited: