ESP-01 Solenoid activated at boot
Posted: Tue May 14, 2019 9:34 pm
I have put together a small circuit to operate a 5V solenoid from GPIO0 on the ESP8266 (01).
When power is connected, the solenoid momentarily actuates ON and back OFF (unwanted behavior).
Afterwards everything works normally, and I can open/close the solenoid from the website hosted on the ESP01.
The behavior at boot is unwanted, but I am not sure why it is happening.
R5 is the pull up resistor on GPIO0 which in my understanding should prevent this from happening.
I have attached the circuit schematic, and an oscilloscope reading of the voltage on GPIO0 when the power is turned on.
Can anyone identify what I'm doing wrong?
Thank you!
When power is connected, the solenoid momentarily actuates ON and back OFF (unwanted behavior).
Afterwards everything works normally, and I can open/close the solenoid from the website hosted on the ESP01.
The behavior at boot is unwanted, but I am not sure why it is happening.
R5 is the pull up resistor on GPIO0 which in my understanding should prevent this from happening.
I have attached the circuit schematic, and an oscilloscope reading of the voltage on GPIO0 when the power is turned on.
Can anyone identify what I'm doing wrong?
Thank you!