-->
Page 1 of 5

External Interference from a Electromechanical Contactor

PostPosted: Tue May 31, 2016 12:11 pm
by Awacks
I have a simple setup with 5 buttons, a I2C LCD display and a 2 pin screw terminal on a perforated PCB board. Currently using the internal pullup resistor to keep things simple, everything works great, no resets, no false reads, working as intended.

When I connect the 2 pin screw terminal to a 220v Contactor Relay I start to get some false reads on my buttons.

I don't even have to wire those to give me that false reads, simply placing the contactor near the ESP8266(like 10 to 15cm apart) is triggering my buttons. Even when not connected to the same power grid (I connected the ESP to a battery source), it still trigger my buttons.

I tried using external pull-up / pull-down resistor but with no luck.

What should I do avoid those false reads ?

http://imgur.com/rKOtDFp

Re: External Interference from a Electromechanical Contactor

PostPosted: Tue May 31, 2016 2:11 pm
by martinayotte
What are the value of the external pullups you've tried ?
Internal pullups are so weak !
I remember that even RES pin without external pullups could lead to false resets.

Re: External Interference from a Electromechanical Contactor

PostPosted: Tue May 31, 2016 2:33 pm
by Awacks
I tried the 10KΩ and 100Ω as pictured on LadyAda tutorial, Image.

Re: External Interference from a Electromechanical Contactor

PostPosted: Tue May 31, 2016 4:30 pm
by martinayotte
Maybe you can try to also add a small decoupling capacitor in parallel with the switch, something like 0.1uF.