Skip to main content

Noise Triping Raspberry GPIO Interrupt

Rocket Nut

I hope someone can help me. 

I have a push-button ( on a 6FT coiled cable ) connected to a Raspberry GPIO ( Python App ) pin with pullup. It works just fine, except it sometimes trips randomly without pressing the button. I suspect noise is causing the trouble. So I placed a 1uF ceramic capacitor to filter out the noise. It works for the most part, but it is still tripping the interrupt.

Am I using the wrong size and/or type of capacitor? Also, any suggestions are welcomed.