> For the complete documentation index, see [llms.txt](https://learn.arduinosa.co.za/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.arduinosa.co.za/sensor-kits/37-in-1-sensor-kit/reed-switch.md).

# Reed Switch

![](/files/-MS2NW4a8r74Vql2_T_h)

This reed switch offers an analog as well as a digital interface. The ‘G’ pen is connected to GND, the ‘+’ pen to 5V DC, the ‘AO’ pen offers the analog output while the ‘DO’ offers the digital output. A potentiometer is used as a pull up resistor.
