This post introduces Magnetic door sensors, also called reed switches, that are commonly used in alarm systems to trigger movement of the objects (e.g. doors and windows) it is mounted too. It will be updated from time to time when I stumble upon more relevant information. If you stumbled upon more relevant information, see mistakes or doesn’t understand anything, please feel free to comment at the end.
What is a Magnetic door sensor?
A Magnetic door sensor is an alarm sensor that is triggered by movement. It consists of two parts encased in a plastic shell – a magnet and a sensor/switch. In combination, it basically works by opening/closing a reed switch by using the magnet’s field – opening the switch when the two parts are in close proximity and closing when far apart.
When mounted on a for example on a door, the switch is open when the door is closed and vice versa.
Sample uses & alternatives
Magnetic door sensors are mainly used for monitoring doors and windows for security purposes. It can also be used to monitor head counts, e.g. how many times it was opened in a set period of time.
What makes Magnetic door sensors so special?
These little sensors are readily available, easy to mount and fairly cheap. On BangGood they are sold for about R40. Apart from connecting to the usual alarm system, it can also be connected to microcontrollers for home DIY.
The current flowing through the switch can be used to signal a digital read pin on a microcontroller.
Because Magnetic door sensors needs to be mounted on doors and windows, choosing the correct placement and hiding the wires can sometimes be a bit tricky.
With their ease of use, price and availability, Magnetic door sensors are fairly easy to incorporate into projects for example with Arduinos and Raspberry Pis. They are great to be used as a trigger switch for windows and doors in Home automation projects.
Magnetic door sensor related posts
Improve your knowledge on anything from programming to business skills with Lynda.com’s huge range of professional video courses.
23 February 2018
Read more about #ESP8266 5V Wi-Fi relay switch modules... #IoT #HomeAutomation #DIY #microelectronics
6 December 2017 | Updated 1 January 2018