On this illustration we will going to wire the Reed Switch Module. This module provides an analog as well as digital interface, as you can see on the board it has a potentiometer / trimmer used as a pull up resistor. Reed switch module has on-board LED indicator built-in as indicator that the reed switch detected a magnet close to the switch. This is just a simple circuit to produce a switching mechanism using electromagnetism. Visit this link for more details about Reed Switch.
Required Components
- Arduino Board, AVR, STM, ESP8266
- Reed Switch Module
- Solder-less Breadboard
- Jumper Wires
Wiring Diagram for Digital
Source Code / Sketch Code for Digital
Wiring Diagram for Analog
Source Code / Sketch Code for Analog
Wiring Reed Switch Module with Arduino Microcontroller