8 Replies Latest reply on Jun 8, 2015 6:28 PM by gamergod88

    Raspberry Pi 2 Model B Switches/Door Contact Switches




      I am new to the Raspberry Pi and I was wondering how I would connect door contact switches (or any kind of switch) to the pins on my Raspberry Pi. I have a Raspberry Pi 2, Model B. The purpose of this so that I could read if the door switches are together, and thus and are sending a voltage through the door switches, and I am aiming to somehow have the Raspberry Pi detect if this voltage has reached it, on one of its pins.  Does anyone have an idea of how I could use this door switches, or any switches, on the Raspberry Pi? I am a beginner in breadboarding and wiring, and I am wondering how exactly I could measure whether or not these door switches are in contact. Please ask if you need more information.


      Thank you for your help.