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

User avatar
By electrocurious
#71069 I've been reading various posts about using mains AC for the ESP but they all seem to use separate power supplies for the ESP and the other device e.g. a lightbulb.

What I was hoping to do is have one power supply with a module that can then power the ESP and the relay / lightbulb.

I've drawn a picture of what I am roughly hoping to achieve.

Is this possible and does such a thing exist or am I living in fantasy land?
You do not have the required permissions to view the files attached to this post.
User avatar
By Narfel
#71104 Here is a video about that very topic with explanation of the needed converters to drop the voltage down to the different levels you need. If you are just starting (like me) its probably wise to practise with something less deadly than mains, though.
https://www.youtube.com/watch?v=JB8W2AgDMAY