Phantom Button Presses

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jameschin
 
Posts: 65
Joined: Sun Jan 05, 2014 8:04 pm

Phantom Button Presses

Post by jameschin »

I have a momentary button connected to an Arduino Uno, one pin to pin A0 and one pin to GND, and I'm using the internet pull-up resistors on the Arduino. I'm having issues with the Arduino detecting a button press when the button hasn't been touched. Is there any way I can fix this?

User avatar
johnpark
 
Posts: 985
Joined: Wed Mar 25, 2009 2:15 pm

Re: Phantom Button Presses

Post by johnpark »

Could you post the code you're using please, along with a clear photo of the board, button, and wiring? Also, if you don't have to use A0 try a different pin, I seem to recall issues w A0 w internal pullup.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”