Re: ESP8266-01 gpio2 5v out to trigger relay
Posted: Wed Jun 29, 2016 1:41 pm
Any ideas on the above? I have moved back to the ATMEGA versions of both this and the PIR sensor but would like to get to bottom of the issues if poss.
-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/
AdamMiltonBarker wrote:Well not able to admit defeat I spent some time over my lunch break and found out that in the case of the barebones version it was the pullup resistor, if I removed the resistor and connected the middle leg to 3.3v directly it worked.
Following this I reset up the ESP into the circuit and I now have strange issues, I cannot upload without GPIO2 connected directly to 3.3 without resistor and then the relay will not turn on without the 3.3 being removed, then after that I cannot reset without it connected.
It also keeps crashing serial monitor when the light is connected to the relay and I have to restart the computer.