This is 4 x sets of MC-38 Wired Door Sensor Magnetic Switch that work with Arduino, ESP32, ESP8266, Raspberry Pi, or any 5V or 3.3V microcontroller.
SPECIFICATION:
- 4 x sets of MC-38 Wired Door Sensor Magnetic Switch
- Each set includes: one magnet and one reed switch, which has two wires
- Removable adhesive paper on the back => easy to stick on the flat surfaces
- Works with Arduino, ESP32, ESP8266, Raspberry Pi, or any kinds of microcontroller
- Works as a switch: reed switch is closed when near to the magnet and open when far from the magnet
- Used to detect door/window open or closed
- Tutorials for Arduino and ESP32 are provided
TUTORIALS:
- Arduino and ESP32 online tutorials: DIYables Door Sensor
INTERFACE:
The door sensor has two components:
- One magnet
- One reed switch, which has two wires. We do NOT need to differentiate the two wires of the reed switch.