-
-
Notifications
You must be signed in to change notification settings - Fork 261
Brightness Sensor
hawkeyexp edited this page Dec 7, 2018
·
6 revisions
Starting with Pre14 you can use a brightness sensor to control the display.
Required: TSL2561 i2c sensor (cheap and everywhere available)
-
Connect the sensor to th RPi's i2c bus
- Sensor -> RPi3-Pin
- GND -> Pin 6 (GND)
- Vcc/Vin -> Pin 1 (3,3V)
- SDA -> Pin 3 (SDA)
- SCL -> Pin 5 (SCL)
-
Enable the sensor in settings -> CS-HW
-
Reboot
-
Adjust your values for lux (switch level) and display brightness which is set by switch level in crankshaft_env.sh if needed. A more comfortable way to adjust the values will be integrated in later builds - currently it is a bringup.
Update: Starting with Pre15 you will get a config page in settings after lightsensor is enabled in CS-HW. Do a reboot after setup. Now changed settings are used instant for the tsl2561.
Note: If you are using a lightsensor manual swiching between day/night is disabled.
- Home
- Roadmap
- General Changes / Changelog
- Installing / Updating
- When Issue occur
- Hardware
- Configuration
- Features
- Home
- Get started
- Hardware
- Software and Settings
- For Advanced Users
- Et Cetera