Skip to content

Eye care and night mode

Davide Perini edited this page May 13, 2023 · 6 revisions

If you enable Eye care toggle LEDs will never turn off in black scenes, a soft and gentle light is used instead.

Night Mode reduces the brightness by a percentage of your choice,
a percentage greater than 0% enables it in the specified time interval.

Night mode and eye care can be enabled separately or simultaneously.

Automatic brightness control using LDR

A photoresistor (also known as light-dependent resistor or LDR) is a passive component that decreases resistance with respect to receiving luminosity (light) on the component's sensitive surface.

Luciferin can use this cheap component to automatically adjust the brightness of the LED strip according to the brightness of the room.

This feature is optional but requires an LDR paired with a 10K Ohm resistor once enabled. GL5516 LDR is good ones for the purpose.

If you are using a custom PCB you can connect the LDR to GPIO36 or GPIO33 if using ESP32, and to A0 if using an ESP8266.

If you are using the Luciferin Official PCB, just connect the LDR on the R5 silkscreen and the 10K Ohm resistor on the R4 silkscreen.

To enable Auto Brightness just go to Settings, click the Eye Care label, a popup dialog will appear, enable LDR.

Once auto brightness is enabled, brightness can't be adjusted manually.

If your room is not really bright and you want to use the current brightness of the room as the maximum brightness, you can calibrate the LDR by clicking the button. Current brightness level of the room will be used as the maximum level from which to start adjusting the brightness of the LED strip.

Peak brightness limiter

Peak brightness limiter can be used without an LDR, this feature limits peak brightness without affecting lower brightness scenes and helps reducing the eye strain. To enable Peak brightness limit just go to Settings, click the Eye Care label, a popup dialog will appear, select the peak brightness limit you prefer.

If you want to reduce the eye strain even more, please have a look at the Smoothing feature that uses Linear Interpolation with Frame Insertion.

Clone this wiki locally