-->
Page 10 of 27

Re: ESP-01 resets when switching relay board

PostPosted: Thu Apr 23, 2015 1:56 pm
by martinayotte
@Sweetpants, before cutting the wire, did you try adding additional PullUp such as 4K7 along with the 100nF you've just added ? In such case, the cap will smoot the noise, but you keep the capability to use the RSTB.

Re: ESP-01 resets when switching relay board

PostPosted: Thu Apr 23, 2015 2:34 pm
by Sweetpants
I have tried every solution mentioned above, even RST to VCC, but the wire still picks up noise and the ESP resets. If I hook up my oscilloscope with a high impedance probe, i can see the spikes on the RST line. After pulling the RST pin from the header, which was connected to a switch on the main board, it got a little better so i decided to cut the wire near the chip and put a 100nF cap. to GND. Did you try touching the RST line with a screwdriver, i'm almost sure yours will reset too. This solution works fine for me because I flash the ESP on a test board.

Re: ESP-01 resets when switching relay board

PostPosted: Thu Apr 23, 2015 2:59 pm
by andrew melvin
I'll try directly connecting it to 3.3 and see if it works. I'll have to build it on a breadboard though. I'm currently puling it high with a 10K which i guess is not enough. Seems to be very very sensitive....

Re: ESP-01 resets when switching relay board

PostPosted: Thu Apr 23, 2015 3:09 pm
by Sweetpants
@andrew melvin, RTS to 3.3V will not work as mentioned above.