Connect with us

How do i connect a reed switch to a microprocessor?

Discussion in 'Microcontrollers, Programming and IoT' started by [email protected], Apr 8, 2009.

Scroll to continue with content
  1. greg_yia@hotmail.com

    [email protected]

    1
    0
    Apr 8, 2009
    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
     
  2. Resqueline

    Resqueline

    2,848
    2
    Jul 31, 2009
    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.
     
  3. tron-ee

    tron-ee

    12
    0
    Sep 11, 2009

    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.
     
  4. luke

    luke

    15
    0
    Sep 1, 2009
    cotorelay.com/CT05.pdf
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-