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

User avatar
By Cam Nealie
#58860 Hey everyone

Can someone point me in the right direction to learn about what circuit I need to make, to have GPIO0 high on startup, but then use it as an output pin?

I've attached two LEDs to each pin - but of course, when I start up, it's going to boot into flash mode! If I attach two resistors to the circuit, they'll go through the diodes before going through the pin...

As far as I can tell, I'm trying to place a pull-up resistor on an output pin. Right?
User avatar
By martinayotte
#58896 Since GPIO0/GPIO2 need PullUps for boot mode, I can not connect LEDs in normal Source mode like other GPIOs, you need to connect them in Sink mode and still need PullUps in parallel with LEDs circuitry.
Of course, the LEDs will react with inverted logic state, meaning that a LOW on GPIO will make LED turned ON.

Image
User avatar
By rudy
#58902 The above LED resistor connections are illustrative. The +5 volts is if you were using a CPU that was powered by 5 volts. In the case of the ESP8266 the voltage that you use is the +3.3 volt supply voltage. Do not connect to 5 volts.