ESPHome board

Hi All.

I’m starting a new project by lighting some of my lego sets.
What is the best way to connect 230v<>5v

Input: 230v
Output: 5v

Looking for an ESP board that can do the trick of something with Zigbee.

1 Like

The best way is with a well regulated plug pack (or USB charger) that meets your country’s electrical certification requirements.

1 Like

A phone charger.

Esphome + ZigBee, not possible.

I would like to add it to Home Assistant so i can control it remote.

Yes that is what ESPHome does.

There might be a language barrier issue as your original post asks how to power the circuit from 5V.

My bad. It’s late and my info was a little bit short.

I have a string with some LED’s that need 5v.
I also like to control they from within Home Assistant.

Addressable LEDs, monochormatic LEDs, or RGB LEDs?

monochormatic LEDs

Then any ESP board will do. There are some good ones recommended here:

You should use this component in ESPHome:

How may LEDs are you driving?

It’s even more simple.
They are just on/off LED’s. Not even brightness.
About 8 LEd’s

Was thinking about putting a Shelly at the beginning so:

230v - Shelly (wifi) - Transforator to 5v - LED’s, but there might be something simpler.

Then use this component:

8x LEDs = 20mA x 8 = 160mA total (if all LEDs are on).

You can easily supply this from a 5V 1A USB phone charger.

Do you want to control the LEDs individually or have them all turn on and off together?

They just need to turn on all at once.

Then you will need a transistor or a MOSFETT as the ESP GPIOs can’t supply that much current.

If you are using LED strip R1 is probably already on the strip.

You could alternatively get an (ESPHome supported?) smart plug with a usb (with or without power monitoring), wire your leds to an old usb cable, and control power like that.

More expensive like this but possibly simpler, cleaner and potentially safer.

I have used a Sinilink XY-WFUSB USB with a USB charger for something similar. The spac says the MOSFET is good for up to 5A.

1 Like