Shown here are two application examples for Rohm’s light sensor IC’s. The analog example on the left shows a light sensor with the current output option. This varying current is routed from the sensor to an A/D converter that is built into the microcontroller. The microcontroller will then send appropriate instructions to the LED driver based on the light sensors output. The digital output example on the right shows a light sensor and LED driver that are both connected to the microcontroller’s I2C bus. The digital light sensor outputs a 16-bit digital value that is read by the micro. The micro will then send instructions to the LED driver via I2C, based on the lighting environment.