The Mini Reed Switch Module activates a switch closure when a magnetic field comes near.
- Mini Reed Switch Module
KEY FEATURES OF MINI REED SWITCH MODULE:
- Outputs logic HIGH or LOW depending on if a magnetic field is near
- Built-in 10K pull-up resistor
- 3.3 and 5V compatible
Reed switches are mechanical switches that are activated by a magnet when the magnetic field pulls the metallic switch contacts together. Real world uses include applications such as home security where a reed switch is placed in proximity to a magnet when a window is closed. If the window is opened, the magnet moves away from the switch that causes it to change states which can then be detected by an MCU.
This module is a SPST switch with NO (Normally Open) contacts until a magnet comes into close proximity to the glass envelope and then the switch contacts are closed. The output is HIGH when the switch is open and is grounded (LOW) when the contacts are closed.
There is a 3-pin header on the assembly. The ‘-‘ pin is connected to the ground end of the switch and the ‘S‘ output pin is connected to the other side of the switch. If a ohmmeter is placed between these two points, the switch will read open. If a magnet is placed close to the glass envelope, the switch will close and the meter will read close to 0 ohms.
There is a 3rd unmarked pin in the center that connects to a 10K pull-up resistor. You can either tie this pin to Vcc so that the pin will be pulled HIGH when the switch is open or you can enable an internal pullup on the pin that connects to the MCU.
1 x 3 Header
- ‘-‘ = Ground
- Center pin = No connection or Vcc
- S = Signal output connects to digital input pin on MCU
OUR EVALUATION RESULTS:
These modules are useful for evaluating basic reed switch functionality.
The contacts are suitable for switching logic levels and should not be used for switching power of any kind. When closed, the contacts may still have a small resistance of up to 20 ohms.
Also be aware that the glass envelope can be easily broken if twisted, so use some care if moving the sensor leads.
BEFORE THEY ARE SHIPPED, THESE MODULES ARE:
- Basic output verified
- Packaged in a resealable ESD bag for protection and easy storage.
- This module is the same as or similar to the KY-021
|Vcc||3.3 – 5V|
|Dimensions||L x W (PCB)||19 x 15mm (0.75 x 0.60″)|
|L x W (PCB w/ sensor)||25 x 18mm (1 x 0.70″)|