Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›Ambient Light Sensor ICs

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
Short answerWhat the Ambient light sensor ICs and phototransistors (SMD and through-hole) isAmbient light sensor ICs and phototransistors (SMD and through-hole) pinoutWiring the Ambient light sensor ICs and phototransistors (SMD and through-hole)Example codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

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
01

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.

02

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.

PinFunction
VDD1.8-3.6V on digital ICs
GNDGround
SDA / SCLI2C on digital ICs
INTThreshold interrupt on many
C / ECollector and emitter on analog phototransistors
PinFunction
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
03

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) pinConnectionNote
Collector3.3VAnalog part
EmitterADC pin and load resistor to GND10k indoors
SDA / SCLMCU I2C with pull-upsDigital 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
04

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.

Read an ALS-PT19 analog light sensor · Arduino C++Verify & upload in Electrolark
// 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);
}
05

Setup and tuning

Digital or analog

choose an I2C lux sensor for accurate readings and an analog phototransistor for a simple brighter-or-darker signal.

Supply

most digital ICs run from 1.8 to 3.6 V. Use a level shifter or 3.3 V I2C with 5 V boards.

Analog load resistor

convert the analog sensor's current to a voltage with a resistor (for example 10 kΩ) and pick the value for your light range.

Window

put the sensor behind a clear or lightly tinted window. Dark covers need a gain correction in software.

Soldering

small DFN and USON packages need a stencil and reflow or a hot-air station, not a soldering iron alone.

06

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
07

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.
08

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.
09

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

  • Texas Instruments OPT3001DNPR USON-6-EP Ambient Light Sensor
    ₹110View
  • Vishay VEML6030 SMD-6 2x2mm Ambient Light Sensor
    ₹177View
  • Vishay VEML6030X01 SMD Ambient Light Sensor ROHS
    ₹72View
  • Vishay VEML3328 SMD-4P Ambient Light Sensor
    ₹105View
  • Vishay TEMD6200FX01 0805 SMD Ambient Light Sensor ROHS
    ₹86View
  • Vishay VCNL36821S SMD-8P Ambient Light Sensor
    ₹49View
  • Vishay VCNL4020-GS08 VDFN-10 Ambient Light Sensor
    ₹93View
  • Vishay VCNL4040M3OE SMD-8P Ambient Light Sensor Module
    ₹122View
  • Broadcom APDS-9306-065 UDFN-6 Ambient Light Sensor
    ₹109View
  • Lite-On LTR-303ALS-01 DFN-6 Ambient Light Sensor ROHS
    ₹38View
  • Lite-On LTR-308ALS-01 SMD Ambient Light Sensor ROHS
    ₹69View
  • Lite-On LTR-507ALS-01 SMD Ambient Light Sensor ROHS
    ₹58View
  • Lite-On LTR-F216A DFN-6 Ambient Light Sensor
    ₹63View
  • ROHM Semiconductor BH1603FVC-TR WSOF-6 Ambient Light Sensor
    ₹36View
  • ROHM Semiconductor BH1715FVC-TR WSOF-6 Ambient Light Sensor
    ₹64View
  • ROHM Semiconductor BH1721FVC-TR WSOF-5 Ambient Light Sensor
    ₹68View
  • ROHM Semiconductor BH1749NUC-E2 Ambient Light Sensor IC – UFDFN-8-EP Package
    ₹91View
  • ROHM Semiconductor BH1751FVI-TR WSOF-6 Ambient Light Sensor Module
    ₹57View
  • ROHM Semiconductor BH1780GLI-E2 WLGA-4(2×2) Ambient Light Sensor
    ₹59View
  • Sharp Microelectronics GP2AP01VT10F SMD-12P Ambient Light Sensor
    ₹175View
  • ams OSRAM TCS3200D-TR SOIC-8 Ambient Light Sensor ROHS
    ₹971View
  • EG Micro EG4003C SOP-8 Ambient Light Sensor
    ₹19View
  • Chau Light ZSCS-2016C-08D-Z4 SMD Ambient Light Sensor
    ₹87View
  • NEWOPTO ALS21C-K1 I2C SMD Ambient Light Sensor Module
    ₹51View
  • Everlight Electronics ALS-PDIC144-6C/L378 3mm Plugin Ambient Light Sensor ROHS
    ₹20View
  • Everlight Electronics ALS-PDIC15-21B/TR8 1206 SMD Ambient Light Sensor ROHS
    ₹58View
  • Everlight Electronics ALS-PDIC243-3B 5mm Plugin Ambient Light Sensor ROHS
    ₹27View
  • Everlight Electronics ALS-PT19-315C/L177/TR8 0603 SMD Ambient Light Sensor ROHS
    ₹30View
  • Everlight Electronics ALS-PT204-6C/L177 3mm Plugin Ambient Light Sensor ROHS
    ₹29View
  • Everlight Electronics ALS-PT243-3C/L177 5mm Plugin Ambient Light Sensor ROHS
    ₹47View
  • NEWOPTO PT0603AC-LB1-S 0603 Ambient Light Sensor
    ₹9View
  • NEWOPTO PT19C-L1 0603 Ambient Light Sensor – 2-Pin SMD
    ₹13View
  • NEWOPTO XYC-PT21C-L1 1206 Ambient Light Sensor
    ₹9View
  • NEWOPTO XYC-PT67D-I0 SMD Ambient Light Sensor ROHS
    ₹10View
  • NEWOPTO PT76B30-L1 SMD Ambient Light Sensor ROHS
    ₹7View
  • Senba SMD1206-30 1206 Ambient Light Sensor – ROHS
    ₹22View
  • Slkor SLPT0603AC-LB1 0603 SMD Ambient Light Sensor ROHS
    ₹9View
  • TONYU DY-FPD204-6B 3mm Plugin Ambient Light Sensor ROHS
    ₹6View
  • TONYU DY-FPD204-6B/L3 3mm Plugin Ambient Light Sensor ROHS
    ₹7View
  • TONYU DY-FPD333-3B/L3 5mm Plugin Ambient Light Sensor ROHS
    ₹7View
  • TONYU DY-FPD333B-A5 5mm Plugin Ambient Light Sensor ROHS
    ₹6View
  • TONYU FPD4134C-A3 5mm Plugin Ambient Light Sensor ROHS
    ₹7View
  • TONYU DY-PD234-6B 3mm Plugin Ambient Light Sensor ROHS
    ₹5View
  • TONYU PD673B-A2 4.8mm Plugin Ambient Light Sensor ROHS
    ₹7View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • Digital Multimeter
    ₹177View
Shop Ambient Light, Lux & UV Sensors

Keep learning

ComparisonBeginnerAmbient Light SensorsAmbient light sensors such as the BH1750, TSL2591, VEML7700 and OPT3001 measure brightness in lux over I2C, so they give accurate readings that do not depend on how you wire a resistor.3 min read · SensorsComponent guideIntermediatePhotodiodes, Phototransistors and PhotointerruptersA photodiode turns light into a small current and is the fastest light sensor.3 min read · SensorsComponent guideBeginnerVEML7700 Lux SensorThe VEML7700 from Vishay is a 16-bit ambient light sensor that reports lux over I2C at address 0x10.3 min read · Sensors

Sources

  • TI OPT3001 data sheet
  • Vishay VEML6030 data sheet
  • Everlight ALS-PT19 data sheet

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the Ambient light sensor ICs and phototransistors (SMD and through-hole) isAmbient light sensor ICs and phototransistors (SMD and through-hole) pinoutWiring the Ambient light sensor ICs and phototransistors (SMD and through-hole)Example codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide8 items · ₹662

Texas Instruments OPT3001DNPR USON-6-EP Ambient Light Sensor · Vishay VCNL4020-GS08 VDFN-10 Ambient Light Sensor · Vishay VCNL4040M3OE SMD-8P Ambient Light Sensor Module · Broadcom APDS-9306-065 UDFN-6 Ambient Light Sensor · Lite-On LTR-303ALS-01 DFN-6 Ambient Light Sensor ROHS · Lite-On LTR-308ALS-01 SMD Ambient Light Sensor ROHS · Lite-On LTR-507ALS-01 SMD Ambient Light Sensor ROHS · Lite-On LTR-F216A DFN-6 Ambient Light Sensor

Run itChange the inputs and watch the output

Photocurrent across the 10k resistor: about 1 uA per 2 lux for the ALS-PT19. It saturates near 330 uA.

Serial monitor115200 baud
Photocurrent: 100.0 uA

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question