So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By rudy
#71243 If someone does not have any experience working with lethal voltages then I strongly suggest using ready built modules like the following. These cost little and are a lot more convenient than building something.

https://www.itead.cc/sonoff-wifi-wireless-switch.html

This is a "Newbie" forum the focus is working with the ESP8266 on the Arduino platform. It is not intended to explain how to work with AC line voltages.
User avatar
By electrocurious
#71353
Your response hasn’t answered my question - is the bulb powered by 5v?
If it is then you don’t need the separate 3.3 and 5v outputs from the power supply if you use a Wemos/NodeMCU ESP8266 Device, as these can be powered by 5v.

Pete.


Hi Pete,

The bulb is not 5v, that diagram was a quick sketch to get the geneal idea across as it's often hard to describe a concept purely through words.

Thanks
User avatar
By electrocurious
#71354
rudy wrote:If someone does not have any experience working with lethal voltages then I strongly suggest using ready built modules like the following. These cost little and are a lot more convenient than building something.

https://www.itead.cc/sonoff-wifi-wireless-switch.html

This is a "Newbie" forum the focus is working with the ESP8266 on the Arduino platform. It is not intended to explain how to work with AC line voltages.


Hi rudy,

Good point, maybe this post is better placed in one of the other threads.

Thanks
User avatar
By yvanttt
#71749 If you are unsafe in using main powered devices Adafruit make a nice device that will allow you to control ac power device from any microcontroler.

https://www.adafruit.com/product/2935

It takes your signal from your ESP and is isolated from the main.
You and your devices never comes in contact with the main voltages that way.

You can also look for solid state relays they can be controlled as well from the ESP, but then the main is exposed