Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4151

Troubleshooting • Re: how to get rid of false trigger using edge detection

$
0
0
I'd guess that all your wiring is acting as a giant antenna, picking up all RF radiation in the vicinity. If you want a hardware solution, you could try insulating the Pi from the RF by adding opto-isolators on all the inputs, but personally I'd start with a simple software solution: poll the button inputs (say) every 10 milliseconds, and when you see a state-change, wait for the next polling cycle and re-read the inputs to confirm that a button really has been pressed or released.

Statistics: Posted by jayben — Wed Jun 05, 2024 9:13 am



Viewing all articles
Browse latest Browse all 4151

Trending Articles