The LTR-559 is the same sort of sensor that you’d find next to the camera in your phone to detect when it’s next to your ear and when your phone should disable the touchscreen.
It’s ideal for an automatic and manual nightlight switch that detects when ambient light drops below a certain level and automatically triggers something like Unicorn pHAT to come on, or just wave your hand over it to toggle the light on or off manually using proximity sensing.
The LTR-559 Light and Proximity Sensor Breakout has an I2C interface and is 3.3V or 5V compatible. Like our other Pimoroni breakouts, we’ve designed it so that you can solder a piece of right-angle header onto it and then pop it straight onto the bottom left 5 pins on your Raspberry Pi’s GPIO header (pins 1, 3, 5, 7, 9).
It’s also compatible with our fancy new Breakout Garden, where using breakouts is as easy as just popping it into one of the six slots and starting to grow your project, create, and code.
- Lite-On LTR-559ALS-01 sensor
- I2C interface (address: 0x23)
- 50.60Hz flicker rejection
- 0.01 lux to 64,000 lux light detection range
- Proximity detection range ~5cm
- 3.3V or 5V compatible
- Reverse polarity protection
- Raspberry Pi-compatible pinout (pins 1, 3, 5, 7, 9)
- Compatible with Raspberry Pi 3B+, 3, 2, B+, A+, Zero, and Zero W
1 x LTR-559 Light and Proximity Sensor Breakout
1 x 5-Pin male header (Straight)
1 x 5-Pin female right angle header