The Magnetic Contact Switch Sensor for Arduino consists of two magnetic reeds sealed in a plastic case. The two magnetic reeds are overlapped but there is a small gap between them.
When a suitable external magnetic field comes within 2 cm, the two magnetic reeds will contact and conduct, thereby sensing the change in the position of the object.
1x Magnetic Switch
1x Sensor Adapter
1x Sensor Data Cable
Size
6 x 20 x 350 mm / 0.24 x 0.79 x 13.78 inch (L x W x H)