Skip to product information
1 of 7


Reed Sensor Switch Module 3.3V-5V MagSwitch For Arduino

Regular price $1.44 CAD
Regular price Sale price $1.44 CAD
Shipping calculated at checkout.

Reed sensor module magnetron module reed switch MagSwitch For Arduino

The module features:
1. imported normally open reed
2.the comparator output signals clean, good waveform, driving ability, than 15mA.
3.the working voltage of 3.3V-5V
4.the output form: digital switching output (0 and 1)
5. a fixed bolt hole for easy installation
6.small PCB board size: 3.2cm x 1.4cm
7.using a wide voltage comparator LM393

Reed is dry reed short, is a kind of passive electronic switch contact element has a simple structure, small size and easy to control, etc., the shell is generally a sealed glass tubes are installed there are two flexible iron reed panels, also called metal rhodium has a filling of inert gas. Normally, two glass tubes made of special materials reeds are separated. When a magnetic substance near the glass tube, under the action of magnetic field lines, the two reed pipe is magnetized and attract each other contacts, the reed will pull together to make a circuit of the connected node communication. After the disappearance of the external magnetic force, two reeds separately because of their elasticity, the line also disconnected. Therefore, as a signal to control the use of magnetic field lines switching devices, the reed can be used as a sensor for counting, spacing, and so on (in the security system is mainly used for door sensor, window magnetic production), but also It is widely used in a variety of communication devices. In practice, usually with a permanent magnet control the two metal sheets turned on or not, it is also known as "magnetron."
See AboveThe wiring diagram:

Sample Code
Aduino test program for DO connection (for example) :
Int Led = 13; / / define LED interface
Int buttonpin = 3; / / define the Reed sensor interface
Int val. // define digital variable val
Void setup () {
PinMode (Led, the OUTPUT); / / define the LED for the output interface
PinMode (buttonpin, INPUT); / / define Reed sensor as the input interface
Void loop ()
Val = digitalRead (buttonpin); / / to assign the value of digital interface 3 read val
If (val = = LOW) / / when the Reed sensor have a signal, the LED light
DigitalWrite (Led, HIGH);
DigitalWrite (Led, LOW);
If (RI)
The date = SBUF; / / microcontroller to accept
SBUF = date; / / microcontroller send
RI = 0;

Package Includes:
1 x Reed Switch Module