July 23, 2025
Description
Reed relays are often used for contactless switching in many applications. The reed relay is normally open, but when a magnet is getting close to it, the relay contacts will close.
Here we will use this feature to create door (or window) open/close detector. This can be useful for home alarm systems or in industrial applications where an automatic door in a production line requires to count how often it is opened and closed or to make sure that the door is actually working.
The RAK13011 magnetic switch module includes a WisBlock module, an external reed relay and a magnet to control the reed relay.
The RAK13011 module fits into a sensor slot, but due to its size it occupies two sensor slots. It is recommended to use Slot C of the RAK19003 Base Board. Using thIS slot will not occupy two sensor slots, as they are designed for these longer sensor modules.
| BSP Version | Module | Function |
|---|---|---|
| Open Source Arduino BSP | RAK4631 | WisBlock Core Module |
| RUI3 | RAK4631-R | WisBlock Core Module |
| RUI3 | RAK3372 | WisBlock Core Module |
| Any | RAK19003 | WisBlock Base Board |
| Any | RAK13011 | WisBlock Magnetic Switch |
| Any | Optional RAK1901 | WisBlock Temperature and Humidity Sensor |
License:
Creative Commons - Attribution - Non-Commercial - No Derivatives