Maker Pro
Maker Pro

How do i connect a reed switch to a microprocessor?

[email protected]

Apr 8, 2009
1
Joined
Apr 8, 2009
Messages
1
Hi All,
I want to connect a reed switch (Model: ct05) to a Zigbee SoC cc2430 chip.
Can anyone tell me how i should wire this up ?
Thank you
 

Resqueline

Jul 31, 2009
2,848
Joined
Jul 31, 2009
Messages
2,848
Not many replies to be found in here..
Well, you simply connect one end of the reed to ground, the other to the input, and a pull-up resistor (1-100k) from the same input and up to Vcc. The input goes low when the reed is activated by a magnet.
 

tron-ee

Sep 11, 2009
12
Joined
Sep 11, 2009
Messages
12
Hi All,
I want to connect a reed switch (Model: ct05) to a Zigbee SoC cc2430 chip.
Can anyone tell me how i should wire this up ?
Thank you


Also, depending upon type of reed-switch, will determine whether or not you need or should debounce the switch. If the reed-switch is mercury whetted, you may not need to debounce, else, either debounce using a D-flip-flop externally or a small source code routine may be needed, provided your application requires it.
 
Top