False LOW with INPUT_PULLUP

I was wondering if anyone else had the issue of a false 0/LOW state when there Arduino was using the INPUT_PULLUP for a button read? My motor just started out of the blue without me pressing the button, allowing it to go to ground (0) and it had to be a false reading of the button.

I'm wondering if anyone else has experienced this and whether I am better off reversing the logic and using a resistor to ground (for that specific input pin) and instead read a HIGH/1.

Thanks!

p.s..... I've used the INPUT_PULLUP on other projects and never had an issue - this is the first time I've seen this.

I'd start with a serious chat with that button, and if it won't promise to improve it's performance look for a replacement.

Good Idea

The input pull up resistors is quite weak so noise could give you a false reading. Try an external 10K or even 1K pull up.

For short wires that's no problem normally - long wires may cause an issue here.

A small cap in parallel to the switch may also help filtering noise (and help debouncing it in the process).