TransWikia.com

Relay and wifi module

Electrical Engineering Asked by ThaaoBlues on March 4, 2021

I’m a beginner in electronics and I am trying to do a "connected switch" with a relay and a wifi module ESP8266, but the thing is that to power the wifi module I need a second power supply and I find that pretty disappointing. I wondered if that was possible to integrate a 230v AC to 5v DC converter in the circuit to just take the power on the same cable. Sorry if my question is not very smart and thanks in advance for the answer.

One Answer

Since there's enough "smart" switches that do that, the answer is clearly that it's possible. That answers your question, but let's be helpful instead of just correct:

You still shouldn't do that: when you use an external power supply, someone who knows electronics makes sure you're not getting killed. Building a 230 V switch-mode power supply isn't trivial, and so you'd either buying a industrial module (more expensive than a whole commercially available smart switch, or an external 5V supply) or building something that's dangerous if you have no education on building safe circuitry and a good understanding of electronics.

When you build this into your own design, it's your fault if you get electrocuted or your house burns down in your sleep. As a beginner's project maybe do something that doesn't involve 230 V; you're not building this for any productive usage, anyways. (if you plan to do exactly that: don't. A commercially available device would be much much cheaper due to the economics of scale than an equally safe device that any of us could build ourselves.)

Correct answer by Marcus Müller on March 4, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP