Interrupts being triggered by AC Load when pull resistor is connected

Tushar Kanani
Posts: 3
Joined: Wed Apr 04, 2018 3:44 am

Re: Interrupts being triggered by AC Load when pull resistor is connected

Postby Tushar Kanani » Thu Apr 05, 2018 3:48 am

Hi,

I am also facing the same issue.
Does anyone have any solution to overcome from it?

Thanks

fritsjan
Posts: 1
Joined: Mon Jul 20, 2020 9:05 am

Re: Interrupts being triggered by AC Load when pull resistor is connected

Postby fritsjan » Mon Jul 20, 2020 9:26 am

Same problems here.
I use a button with an external 4k7 pullup, connected to a twisted pair wire (1m long).
I need to use interrupt-falling to detect the button (because in the main loop there are some internet things going on which can take too long to detect a buttonpress in time).

Somehow I get false triggers once in a while, which is strange because I use a pull-up AND twisted wire... So should be pretty stable...
When I used a 10K pullup, I got false triggers when I just touched the metal housing of the button... (touch sensitive it seems)

Also when switching an AC load nearby (or even when switching a big one in my house which is not nearby), I get false triggers...

I use a adafruit huzzah32 dev board.
I put an extra cap over 3.3V and GND to help the 3.3V power supply a bit. This seems to help a little bit, but not all.

Just a thought:
Could it be that the 3.3V LDO (AP2112-3.3) in the huzzah32 dev board just can't deliver enough power (600mA)?
And that when the internal supply drops too much the interrupt gets trigered?
I do not have any other major external items attached to the board, so power draw is only from say 3 pullups and from the esp32 itself.
It connects and checks the web every 20sec so it might be that that is drawing too much power?

Who is online

Users browsing this forum: No registered users and 19 guests