Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By Jocobes
#31550 Hello everybody!

I am currently working on a project where I am using an esp8266-01 to control a relay. However I noticed whenever I restart the esp8266 there's a short voltage burst on rah the gpio0 and the gpio2. This impulse messes with my transistor and screws up my built
Now here's the question: is there any way of blocking that initial burst?

I would appreciate any help!
Thank you in advance.

Jocobes
User avatar
By Barnabybear
#31551 Hi, the short answer is no (not that I've seen), but there are various workrounds.
Use an ESP variant with more GPIOs.
If you use an led, opto coupler or something like that, connect it to Vcc and take the GPIO low to switch on.
Use low on and high off and invert the GPIO output in some way (a transistor).
User avatar
By xtal
#31559 If you are driving the base of xistor thru a resistor , you could put a cap in xistor base to ground,
keep in mind this will delay on/off slightly. [ depends on RC constant and xistor switch point]

Could also use diode/xistor AND gate requiring 2 signals to turn on.....