-->
Page 1 of 1

ESP8266 Relay Control Problem.

PostPosted: Tue Oct 01, 2019 4:29 am
by onurbilke
Hi everybody. When I connected ESP GPIO0 -> 1K -> BC237 (NPN) transistor Base -> Relay I can't control the relay. But I connected ESP GPIO0 -> LED (Serial "+ Connected GPIO 0 and - Connected Transistor") -> BC237 (NPN) transistor Base -> Relay it is working very good. I can't understand this problem. I tried pull down GPIO0 with 10K resistor but the result same. I am writing code with arduino ide. I set GPIO0 as output. Thank you.

Re: ESP8266 Relay Control Problem.

PostPosted: Wed Oct 02, 2019 7:14 am
by QuickFix
This is a forum about electronics and programming, not crystal ball readers unlimited: please show us some code and an actual schematic. :idea:

Re: ESP8266 Relay Control Problem.

PostPosted: Wed Oct 02, 2019 11:21 am
by schufti
If you reset / start esp with gpio0 pulled low (via direct resistor or resistor and be path of transistor) it will not start your sketch.