Http://www.elego.cc
82 / 137
Result
Upload the program, When the module access to magnetic, you can see the led on or off.
Mini switch module and number 13 port have the built-in LED simple circuit. To produce a
switch flasher, we can use connect the digital port 13 to the built-in LED and connect the
switch module S port to number 3 port of Elego Uno board. When the switch sensing, LED
twinkle light to the switch signal.
Connection of reed switch module
Schematic