Reed switch is a kind of passive electronic switching component with contacts with a simple structure, small size and easy to control. It consists of a sealed glass envelope where there are two ferrous elastic reeds and is filled with inert gas called rhodium. Normally, the two reeds are separated in the envelope. When a magnetic substance approaches to the glass envelope, the reeds will come together due to the magnetic field thus completing an electric circuit. When the external magnetic field disappears, two reeds will be separated because of their elasticity, the circuit is also disconnected. Therefore, as a circuit switching device controlled by magnetic field signals, reed switch can also be used as a sensor for counting and limiting, etc. ( applied in the security systems, mainly used for production of door and window magnets), and it is also widely used in a variety of communications devices. In practice, it is common to use the two permanent magnets to control connection of two metal sheets, thus it is also called a \magnetron.\. Instructions for module - The reed switch must work together with the magnet, when it detects magnetism, the circuit is connected and the module outputs low level; when there is no magnetic force, it is disconnected and module outputs high level. If the sensing range of the reed to the magnet is more than 1.5cm, it will become insensitive and it may not be triggered; - DO output terminal on the module can be directly connected to I / O port of MCU, the trigger state of reed switch can be detected through MCU; - DO output terminal on the module can be connected to IN terminal on relay to form a high-power reed switch for direct control of high voltage. - Working distance: 1.5 M - Operating voltage: 3.3 V-5 V - Output Type: Digital switching output (0 and 1) - Size: 3.2 x 1.9 x 0.7 cm https://www.youtube.com/watch?v=pKMeZxpRAE8 https://www.youtube.com/watch?v=DHi7u3a78XE