> 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/light-blocking.md).

# Light blocking

![](/files/-MS2Q3sVbW3QTuTl33ld)

Slotted light barrier. The middle pin connects to + 5 V supply and the pin marked ‘-’ connects to ground. The output signal (with a 10 K ohm pullup to +5 V) is available on the pin on the right.
