vrijdag 27 november 2015

Arduino_KY-021_Mini_magnetic_reed_modules

Arduino KY-021 Mini_magnetic reed module

A resistor is included on my version of this module.
For the test you need to keep a magnet ( not included in the 37in1 kit ) near the sensor.

Hardware

S         (signal) Arduino Pin 3
middle             +5V
-                      GND


Function

The reed contact is closes with a magnet near the sensor and the built in led on the Arduino is turned off (Pin 13)  Without magnet the led is on.

More info


Geen opmerkingen: