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?
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
Post a Comment