Mains Power - is this 'safe'?
Posted: Tue Jan 17, 2017 8:31 am
Hi,
This is my 2nd project with the esp8266 chip and this one needs powering from the mains as it will need to be on and listening all the time.
It is an IR Blaster type device that can send an ir signal once given the command from mqtt. It works well but I'm not sure how correct it is or if the method i've used for power is safe.
I've attached the design image. The project uses:
ESP8266 esp-01 chip
2n2222 Transistor
2x IR Led's
2x 10k resistors
FT232RL for power
I'm using an FT232RL FTDI set to 3.3v for power, connected to the mains via a usb phone charger.
These are the ones from ebay:
http://www.ebay.co.uk/itm/FT232RL-FTDI- ... 7675.l2557
Is it safe to use these for mains power? It seems to work ok.
Thanks
Matt
This is my 2nd project with the esp8266 chip and this one needs powering from the mains as it will need to be on and listening all the time.
It is an IR Blaster type device that can send an ir signal once given the command from mqtt. It works well but I'm not sure how correct it is or if the method i've used for power is safe.
I've attached the design image. The project uses:
ESP8266 esp-01 chip
2n2222 Transistor
2x IR Led's
2x 10k resistors
FT232RL for power
I'm using an FT232RL FTDI set to 3.3v for power, connected to the mains via a usb phone charger.
These are the ones from ebay:
http://www.ebay.co.uk/itm/FT232RL-FTDI- ... 7675.l2557
Is it safe to use these for mains power? It seems to work ok.
Thanks
Matt