-->
Page 1 of 3

Using AC mains power

PostPosted: Sun Oct 22, 2017 6:15 am
by electrocurious
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?

Re: Using AC mains power

PostPosted: Sun Oct 22, 2017 3:40 pm
by electrocurious
Thanks for your sage advice philbowles.

I've done projects before with mains AC but I'll always take advice to be careful and learn from those more knowledgable than me.

Re: Using AC mains power

PostPosted: Sun Oct 22, 2017 4:20 pm
by Narfel
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

Re: Using AC mains power

PostPosted: Sun Oct 22, 2017 4:46 pm
by PeteKnight
So you’re using a 5v bulb?

Pete.