The ISL29023 sensor (I2C address: 0x44) shall measure ambient light. The ISL29023 registers
(Table 1) can be accessed through the location pointer. Initialize the sensor as follows:
1. Command1: Operation mode ALS continuous, Bits 4-0: 0
2. Command2: Resolution: 16-bit, Range4
In ALS Mode the sensor output (DATA) is proportional to the Lux value which is obtained by
Ambient light sensors are used in many laptops and smart phones. They allow to control the
screen’s backlight to comfortable levels for the user. The screen’s brightness needs to increase
as the ambient light increases. For comfortable viewing and battery life extension, it also needs
to decrease as ambient light decreases.
Computer’s LCD brightness is measured in cd/m² (Candela per m²; aka Nits). Your application
shall determine the optimum LCD brightness for the current ambient light intensity. The
optimum LCD brightness shall be calculated according to Table 2. It shall control the brightness
of LED1 by means of the PWM duty cycle. The measured Lux value shall also be displayed on
the LCD.
Get Free Quote!
349 Experts Online