this post was submitted on 12 Dec 2023
1 points (100.0% liked)

Ask Electronics

3225 readers
2 users here now

For questions about component-level electronic circuits, tools and equipment.

Rules

1: Be nice.

2: Be on-topic (eg: Electronic, not electrical).

3: No commercial stuff, buying, selling or valuations.

4: Be safe.


founded 1 year ago
MODERATORS
 

Hi everyone!

I'm trying to control a "dumb" led light strip segment with an ESP-01S. This is fairly low current, the strip will pull 150mA-200mA max (depends on... artistic? needs).

I have two NPN transistors (2N2222), one to control the 12V supply to the white "channel" and the other the red+blue (don't need the green).

I had to pull-down the gates as I had some flickering, and it works perfectly if I manually connect the GPIOs after the ESP-01S boots.

The ESP will boot if I have the RX pin (GPIO03) pulled down on boot, but not if I pull down any of the others.

I'm not smart enough to come up with a way to have that extra pin I need to be high only during boot, while the gate it's attached to needs to be pulled down...

Any thought, other than getting something with more IO pins?

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here