A bare reed switch can easily be mounted on circuit boards.
Reed switch door sensor.
Tatoko magnetic reed switch normally open closed nc no door alarm window security 6sets.
Reed switches have been used in laptops to put the laptop into sleep hibernation mode when the lid is closed.
Electronics you ll want to graduate to something more in depth.
As soon as the contact is interrupted the transistor no longer switches and a zero is displayed on the gpio.
If you want to wait for the state to change you can use the following function.
Practical electronics for inventors by paul monk.
5sets magnetic reed switch magnetic door switch magnetic contact switch normally open closed nc no door alarm window security for dc 5v 12v 24v light 4 4 out of 5 stars 13 15 99 15.
However for an application such as a door security sensor the reed switch needs a protective shell housing for handling and mounting.
This is a good place to go next.
Ge sentrol 1125w n 3 8 flush mini magnetic door window contact with wire leads wide gap white.
Recessed wired security window door contact sensor alarm magnetic reed switch white rc 33 10pcs.
Once you ve digested make.
Get it as soon as tue sep 15.
Bnyzwot mc 38 surface mount wired nc door sensor alarm magnetic reed switch white 10 pair.
In stock and ready to ship.
Free shipping on your first order shipped by amazon.
Reed switches actuated by magnets are commonly used in mechanical systems as proximity sensors.
Home automation describes a reed switch door sensor hooked up to a raspberry pi.
Victorshome magnetic reed switch rc 33 nc recessed wired window door contact sensor for home security and burglar alarm systems 5 pcs 3 3 out of 5 stars 7 8 99 8.
This will allow you to query if a window door is opened or not.
4 1 out of 5 stars 16.
John wiley sons 2014.
As long as the window and thus also the magnetic switch is closed a 1 is displayed on the pin.
Find door window sensors at lowe s today.
Choose from our selection of reed switches including magnetically actuated switches magnetic contact alarm switches and more.