Component guide · Advanced · 7 min read
Ambient Light Sensor ICs

TI OPT3001, Vishay VEML6030 and VEML3328, ROHM BH1721 and BH1780, Lite-On LTR-303 and LTR-308, Broadcom APDS-9306, Everlight ALS-PT19, NEWOPTO, TONYU and Other SMD and Plugin Light Sensors
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
These are the bare light sensor chips used on PCBs for display dimming, lighting control and product design. There are two kinds. Digital ICs like the TI OPT3001, Vishay VEML6030 and Lite-On LTR-303 measure lux and report it over I2C. Analog parts like the Everlight ALS-PT19 and the 3 mm and 5 mm plugin sensors are phototransistors with an eye-like response that need a load resistor.
Key specs at a glance
- Digital ICs
- OPT3001, VEML6030, VEML3328 (RGB), BH1721, BH1780, LTR-303, LTR-308, APDS-9306
- Analog parts
- ALS-PT19, ALS-PDIC, PT19C, plugin 3 mm and 5 mm sensors
- Interface
- I2C for digital, current output for analog
- Supply
- 1.8-3.6V for most digital ICs
- Packages
- 0603, 0805, 1206, DFN, USON, WSOF, SOP-8 and through-hole
- Response
- Matched to the human eye on ALS parts
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1Texas Instruments OPT3001DNPR USON-6-EP Ambient Light Sensor₹110
Option 2Vishay VEML6030 SMD-6 2x2mm Ambient Light Sensor₹177
Option 3Vishay VEML6030X01 SMD Ambient Light Sensor ROHS₹72
Option 4Vishay VEML3328 SMD-4P Ambient Light Sensor₹105
Option 5Vishay TEMD6200FX01 0805 SMD Ambient Light Sensor ROHS₹86
Option 6Vishay VCNL36821S SMD-8P Ambient Light Sensor₹49
What the Ambient light sensor ICs and phototransistors (SMD and through-hole) is
Ambient light sensor ICs are the bare chips that measure light level on a product's PCB, either as a lux value over I2C or as an analog current.
Choose a digital IC when you need calibrated lux, wide dynamic range and an interrupt pin, for example auto-brightness on a display. Choose an analog phototransistor when you only need a simple brightness signal for a microcontroller ADC.
For an analog part, connect the collector to 3.3V and a load resistor from the emitter to ground, and read the emitter voltage. A 10k resistor suits indoor light; use a smaller value for bright outdoor light so the output does not saturate. Place the sensor under a clear window with no light leaking from LEDs on the same board.
Ambient light sensor ICs and phototransistors (SMD and through-hole) pinout
The pins on the Ambient light sensor ICs and phototransistors (SMD and through-hole) and what each one does.
| Pin | Function |
|---|---|
| VDD | 1.8-3.6V on digital ICs |
| GND | Ground |
| SDA / SCL | I2C on digital ICs |
| INT | Threshold interrupt on many |
| C / E | Collector and emitter on analog phototransistors |
- VDD
- 1.8-3.6V on digital ICs
- GND
- Ground
- SDA / SCL
- I2C on digital ICs
- INT
- Threshold interrupt on many
- C / E
- Collector and emitter on analog phototransistors
Wiring the Ambient light sensor ICs and phototransistors (SMD and through-hole)
Most digital ALS chips are 3.3V only. Do not connect them to 5V I2C without a level shifter.
| Ambient light sensor ICs and phototransistors (SMD and through-hole) pin | Connection | Note |
|---|---|---|
| Collector | 3.3V | Analog part |
| Emitter | ADC pin and load resistor to GND | 10k indoors |
| SDA / SCL | MCU I2C with pull-ups | Digital ICs |
- Collector
- Connection:
- 3.3V
- Note:
- Analog part
- Emitter
- Connection:
- ADC pin and load resistor to GND
- Note:
- 10k indoors
- SDA / SCL
- Connection:
- MCU I2C with pull-ups
- Note:
- Digital ICs
Example code
Convert photocurrent to lux with the curve in the part's data sheet. For digital ICs, use the maker's library or register map.
// ALS-PT19: collector to 3.3V, emitter to GPIO34 and 10k to GND.
const int ALS = 34;
void setup() {
Serial.begin(115200);
analogReadResolution(12);
}
void loop() {
int raw = analogRead(ALS);
float volts = raw * 3.3 / 4095.0;
float microamps = volts / 10000.0 * 1e6; // current through the 10k load
Serial.print("Photocurrent: ");
Serial.print(microamps, 1);
Serial.println(" uA");
delay(500);
}Setup and tuning
choose an I2C lux sensor for accurate readings and an analog phototransistor for a simple brighter-or-darker signal.
most digital ICs run from 1.8 to 3.6 V. Use a level shifter or 3.3 V I2C with 5 V boards.
convert the analog sensor's current to a voltage with a resistor (for example 10 kΩ) and pick the value for your light range.
put the sensor behind a clear or lightly tinted window. Dark covers need a gain correction in software.
small DFN and USON packages need a stencil and reflow or a hot-air station, not a soldering iron alone.
What you need
Shop this list20 of 20 found in our store · ₹1,701
Texas Instruments OPT3001DNPR USON-6-EP Ambient Light Sensor: the part this guide coversTexas Instruments OPT3001DNPR USON-6-EP Ambient Light Sensor₹110
Vishay VEML6030 SMD-6 2x2mm Ambient Light Sensor: another version this guide coversVishay VEML6030 SMD-6 2x2mm Ambient Light Sensor₹177
Vishay VEML6030X01 SMD Ambient Light Sensor ROHS: another version this guide coversVishay VEML6030X01 SMD Ambient Light Sensor ROHS₹72
Vishay VEML3328 SMD-4P Ambient Light Sensor: another version this guide coversVishay VEML3328 SMD-4P Ambient Light Sensor₹105
Vishay TEMD6200FX01 0805 SMD Ambient Light Sensor ROHS: another version this guide coversVishay TEMD6200FX01 0805 SMD Ambient Light Sensor ROHS₹86
Vishay VCNL36821S SMD-8P Ambient Light Sensor: another version this guide coversVishay VCNL36821S SMD-8P Ambient Light Sensor₹49
Vishay VCNL4020-GS08 VDFN-10 Ambient Light Sensor: another version this guide coversVishay VCNL4020-GS08 VDFN-10 Ambient Light Sensor₹93
Vishay VCNL4040M3OE SMD-8P Ambient Light Sensor Module: another version this guide coversVishay VCNL4040M3OE SMD-8P Ambient Light Sensor Module₹122
Broadcom APDS-9306-065 UDFN-6 Ambient Light Sensor: another version this guide coversBroadcom APDS-9306-065 UDFN-6 Ambient Light Sensor₹109
Lite-On LTR-303ALS-01 DFN-6 Ambient Light Sensor ROHS: another version this guide coversLite-On LTR-303ALS-01 DFN-6 Ambient Light Sensor ROHS₹38
Lite-On LTR-308ALS-01 SMD Ambient Light Sensor ROHS: another version this guide coversLite-On LTR-308ALS-01 SMD Ambient Light Sensor ROHS₹69
Lite-On LTR-507ALS-01 SMD Ambient Light Sensor ROHS: another version this guide coversLite-On LTR-507ALS-01 SMD Ambient Light Sensor ROHS₹58
Lite-On LTR-F216A DFN-6 Ambient Light Sensor: another version this guide coversLite-On LTR-F216A DFN-6 Ambient Light Sensor₹63
ROHM Semiconductor Semiconductor BH1603FVC-TR WSOF-6 Ambient Light Sensor: another version this guide coversROHM Semiconductor BH1603FVC-TR WSOF-6 Ambient Light Sensor₹36Closest match, check the specs
ROHM Semiconductor BH1715FVC-TR WSOF-6 Ambient Light Sensor: another version this guide coversROHM Semiconductor BH1715FVC-TR WSOF-6 Ambient Light Sensor₹64
ROHM Semiconductor BH1721FVC-TR WSOF-5 Ambient Light Sensor: another version this guide coversROHM Semiconductor BH1721FVC-TR WSOF-5 Ambient Light Sensor₹68
ROHM Semiconductor BH1749NUC-E2 Ambient Light Sensor IC – UFDFN-8-EP Package: another version this guide coversROHM Semiconductor BH1749NUC-E2 Ambient Light Sensor IC – UFDFN-8-EP Package₹91
ROHM Semiconductor BH1751FVI-TR WSOF-6 Ambient Light Sensor Module: another version this guide coversROHM Semiconductor BH1751FVI-TR WSOF-6 Ambient Light Sensor Module₹57
ROHM Semiconductor Semiconductor BH1780GLI-E2 WLGA-4(2×2) Ambient Light Sensor: another version this guide coversROHM Semiconductor BH1780GLI-E2 WLGA-4(2×2) Ambient Light Sensor₹59Closest match, check the specs
Sharp Microelectronics Microelectronics GP2AP01VT10F SMD-12P Ambient Light Sensor: another version this guide coversSharp Microelectronics GP2AP01VT10F SMD-12P Ambient Light Sensor₹175Closest match, check the specs
Alternatives and when to choose them
- Ambient light and lux sensors: ready breakout boards.
- Photodiodes and phototransistors: how they work.
- VEML7700 lux sensor: a popular module.
Common mistakes to avoid
- Running a 3.3 V sensor chip on a 5 V I2C bus.
- Hand-soldering a DFN package and leaving pads unconnected.
- Putting the sensor behind a dark window with no correction.
- Choosing an analog part when calibrated lux is needed.
Frequently asked questions
What is the difference between a lux sensor and a phototransistor?
A lux sensor reports calibrated light in lux over I2C; a phototransistor gives a current that changes with light and needs your own scaling.
Can I use these chips without designing a PCB?
The bare chips are tiny surface-mount parts. For breadboard projects, buy a module such as a BH1750 or VEML7700 instead.
Which sensor matches human eye response best?
Sensors like the OPT3001 and VEML6030 have filters that closely match the eye's response, so readings track perceived brightness.
Can these sensors measure sunlight?
Most digital ICs reach tens of thousands of lux; check the maximum range for full sun, which can exceed 100,000 lux.
Why does my reading change behind the case window?
The window absorbs some light. Measure the loss and scale the reading in software.
Parts for this guide
- ₹110View
- ₹177View
- ₹72View
- ₹105View
- ₹86View
- ₹49View
- ₹93View
- ₹122View
- ₹109View
- ₹38View
- ₹69View
- ₹58View
- ₹63View
- ₹36View
- ₹64View
- ₹68View
- ₹91View
- ₹57View
- ₹59View
- ₹175View
- ₹971View
- ₹19View
- ₹87View
- ₹51View
- ₹20View
- ₹58View
- ₹27View
- ₹30View
- ₹29View
- ₹47View
- ₹9View
- ₹13View
- ₹9View
- ₹10View
- ₹7View
- ₹22View
- ₹9View
- ₹6View
- ₹7View
- ₹7View
- ₹6View
- ₹7View
- ₹5View
- ₹7View
- ₹389View
- ₹177View
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.


























