E emb Member Jan 13, 2018 #1 Hi all, I want to connect reed switch with Microcontroller . The distance between the switch and Mcu about 15 m . Can I connect the switch with pullup resistor to Mcu ? Regards
Hi all, I want to connect reed switch with Microcontroller . The distance between the switch and Mcu about 15 m . Can I connect the switch with pullup resistor to Mcu ? Regards
alec_t Well-Known Member Most Helpful Member Jan 13, 2018 #2 Yes, but to reduce the effects of interference pickup it would be advisable to use twisted pair or screened cable and to connect a low-pass filter before the MCU input.
Yes, but to reduce the effects of interference pickup it would be advisable to use twisted pair or screened cable and to connect a low-pass filter before the MCU input.
alec_t Well-Known Member Most Helpful Member Jan 14, 2018 #5 Here you go. Component values depend on the pull-up value and on the frequency of operation of the switch. Last edited: Jan 14, 2018
Here you go. Component values depend on the pull-up value and on the frequency of operation of the switch.