Need Advice on Max Length of GPIO Input Leads - Raspberry Pi Forums


my home controller system spreading on house...

gpio outputs go via short leads driver boards, inputs come buttons , other sensors 10m away, , need go further.

long cables go simple buttons, or mechanical relays (e.g. in pir motion detectors.) configured internal pull-up resistor. add electronic pir detectors have direct 3.3v output; came without specs, don't know how far can reliably go, issue.

far seems work ok. there should doing protect inputs damage or filter out noise? should using opto-isolators?

a series resistor of few kohms @ rpi end prudent protection. pull-up (or -down) should @ non-rpi end of resistor. if inputs low frequency toggles capacitor gpio pin ground can reduce noise. possible, earth rpi's ground not elsewhere.


raspberrypi



Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support