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 Sensors

Comparison · Beginner · 3 min read

Ambient Light Sensors

BH1750, TSL2591, VEML7700 and OPT3001

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerLux sensor or LDR?Typical light levelsChoosing a sensorBH1750 on ArduinoGetting good readingsTry itCommon mistakesFAQsParts and next steps
Short answer

Ambient 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. The BH1750 is the easiest and cheapest. Choose the TSL2591 or VEML7700 for very dim or very bright scenes. Use a plain LDR only when a rough dark-or-light switch is enough.

Key specs at a glance

BH1750
1 to 65,535 lux, 16-bit, I2C 0x23 or 0x5C, 3.3 V chip (most modules take 3.3 to 5 V)
TSL2591
About 0.0002 to 88,000 lux, I2C 0x29, separate IR and visible channels
VEML7700
0 to about 120,000 lux, I2C 0x10, gain and integration time selectable
OPT3001
0.01 to 83,000 lux, human-eye response, I2C 0x44 to 0x47
Output
Lux (illuminance)
Typical use
Auto screen brightness, plant lights, camera exposure, smart blinds
01

Lux sensor or LDR?

An LDR changes resistance with light, but the response is curved, differs from part to part and cannot be converted to a true lux value without calibration. A lux sensor is a photodiode with a filter shaped like the human eye plus an ADC on one chip, so it returns a number in lux and ignores most infrared. Use an LDR for a cheap dusk switch; use a lux sensor when the number matters.

02

Typical light levels

Use these as a sanity check for your readings.

SceneApproximate lux
Moonlight0.1 to 1
Dim living room50 to 100
Office desk300 to 500
Overcast day outdoors1,000 to 10,000
Bright shade10,000 to 25,000
Direct sunlight100,000+
SceneApproximate lux
Moonlight
0.1 to 1
Dim living room
50 to 100
Office desk
300 to 500
Overcast day outdoors
1,000 to 10,000
Bright shade
10,000 to 25,000
Direct sunlight
100,000+
03

Choosing a sensor

The chips differ mainly in range and how they handle very bright or very dark light.

SensorRangeBest forNotes
BH17501 to 65,535 luxIndoor use, plant lights, screensEasiest; fixed range saturates in direct sun without a diffuser
TSL2591Very wide dynamic rangeDim to bright scenes, data loggingIR and visible channels; more setup
VEML77000 to about 120,000 luxOutdoor and indoorNeeds a correction formula above about 1,000 lux for best accuracy
OPT30010.01 to 83,000 luxEye-matched readingsFour I2C addresses; tiny SMD part
TSL25610.1 to 40,000 luxExisting designsOlder design still sold on cheap modules
BH1750
Range:
1 to 65,535 lux
Best for:
Indoor use, plant lights, screens
Notes:
Easiest; fixed range saturates in direct sun without a diffuser
TSL2591
Range:
Very wide dynamic range
Best for:
Dim to bright scenes, data logging
Notes:
IR and visible channels; more setup
VEML7700
Range:
0 to about 120,000 lux
Best for:
Outdoor and indoor
Notes:
Needs a correction formula above about 1,000 lux for best accuracy
OPT3001
Range:
0.01 to 83,000 lux
Best for:
Eye-matched readings
Notes:
Four I2C addresses; tiny SMD part
TSL2561
Range:
0.1 to 40,000 lux
Best for:
Existing designs
Notes:
Older design still sold on cheap modules
04

BH1750 on Arduino

Wire VCC to 3V3 (or 5 V on modules with a regulator), GND to GND, SDA and SCL to the board's I2C pins, and leave ADDR unconnected for address 0x23.

Read lux from a BH1750 · Arduino C++Verify & upload in Electrolark
#include <Wire.h>
const uint8_t BH = 0x23;

void setup() {
  Serial.begin(115200);
  Wire.begin();
  Wire.beginTransmission(BH);
  Wire.write(0x10);            // continuous high-resolution mode, 1 lx steps
  Wire.endTransmission();
  delay(180);                  // first conversion takes up to 180 ms
}

void loop() {
  Wire.requestFrom(BH, (uint8_t)2);
  if (Wire.available() == 2) {
    uint16_t raw = Wire.read() << 8;
    raw |= Wire.read();
    Serial.print(raw / 1.2);   // lux
    Serial.println(" lx");
  }
  delay(500);
}
05

Getting good readings

  • ✓Put the sensor window where the light you care about falls, away from LEDs on the same board.
  • ✓Behind a window or a lid, expect a lower reading. A white diffuser spreads light and stops saturation in sunlight.
  • ✓Two sensors on one bus need different addresses. The BH1750 ADDR pin selects 0x23 or 0x5C.
  • ✓Do not use lux for plant growth directly; plants respond to PAR, and the lamp spectrum matters.
06

Try it: Adc resolution calculator

Change the values and the diagram and results update as you type.

07

Common mistakes to avoid

  • !Reading an LDR and calling it lux.
  • !Covering the sensor window with a frosted lid and forgetting the loss.
  • !Letting the BH1750 saturate in direct sun.
  • !Placing it beside a bright indicator LED.
  • !Using lux readings to judge plant light without checking the lamp spectrum.
08

Frequently asked questions

Is a BH1750 accurate?

It is accurate to roughly ±20% against calibrated meters, which is plenty for automatic lighting.

Can I use it outdoors?

Yes if you shade it and diffuse the light. The BH1750 tops out at 65,535 lux, below direct sun.

BH1750 or VEML7700?

BH1750 for simplicity. VEML7700 or TSL2591 if you need bright sun or deep dark.

What is lux?

Lux measures light falling on a surface, scaled to the sensitivity of the human eye.

Do I need pull-up resistors?

Most breakout boards already include I2C pull-ups.

Can it detect UV?

No. For ultraviolet use a UV sensor.

Parts for this guide

  • GY-30 BH1750FVI Digital Light Intensity Illumination Sensor Module
    ₹136View
  • VEML7700 Ambient Light Sensor Module Blue – I2C Interface
    ₹249View
  • Adafruit TSL2591 High Dynamic Range Digital Light Sensor – STEMMA QT
    ₹1,153View
  • OPT3001 Ambient Light Sensor Module Proxy – I2C Interface
    ₹175View
Shop Ambient Light, Lux & UV Sensors

Calculators

Adc resolution calculator

Terms in this guide

LuxThe unit of illuminance, or how much light falls on a surface. Full daylight is around 10,000 to 100,000 lux; a lit room is about 300 to 500 lux.I2CInter-Integrated Circuit: a two-wire bus (SDA and SCL) that connects many devices by address.PhotodiodeA diode that produces a small current in proportion to light. Faster and more linear than an LDR, used in IR receivers and light meters.PhotoresistorAnother name for an LDR: a resistor whose resistance drops as light increases.Full-scale rangeThe largest value a sensor can measure, such as plus or minus 2 g or up to 65,535 lux. Smaller ranges give finer resolution.

Projects that use it

Put this into practice: 34 step-by-step builds in our project library use parts from this guide.

Beginner · 1 hourDigital lux meterView projectBeginner · 1 hourClassroom dim-light alarmView projectBeginner · 1 hourStudy desk lamp brightness checkerView project
Browse all 34 projects

Keep learning

Component guideBeginnerLDR Light SensorsAn LDR (light-dependent resistor or photoresistor) has high resistance in the dark, about 1 MΩ, and low resistance in bright light, under 1 kΩ.3 min read · SensorsComponent guideBeginnerUV SensorsA UV sensor module measures ultraviolet light, mostly UVA and UVB from sunlight.3 min read · SensorsConcept explainerIntermediateI2C ExplainedI2C is a two-wire bus that lets one microcontroller talk to many sensors and displays using a data line (SDA) and a clock line (SCL).4 min read · Electronics FundamentalsConcept explainerBeginnerADCs ExplainedAn analog-to-digital converter (ADC) measures a voltage and returns a number.4 min read · Electronics FundamentalsComparisonIntermediateColour SensorsBoth sensors read the red, green and blue light reflected from an object.3 min read · Sensors

Sources

  • ROHM BH1750FVI datasheet
  • ams-OSRAM TSL2591 datasheet
  • Vishay VEML7700 datasheet and application note
  • Texas Instruments OPT3001 datasheet

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

On this page
Short answerLux sensor or LDR?Typical light levelsChoosing a sensorBH1750 on ArduinoGetting good readingsTry itCommon 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 guide4 items · ₹1,713

GY-30 BH1750FVI Digital Light Intensity Illumination Sensor Module · VEML7700 Ambient Light Sensor Module Blue – I2C Interface · Adafruit TSL2591 High Dynamic Range Digital Light Sensor – STEMMA QT · OPT3001 Ambient Light Sensor Module Proxy – I2C Interface

Run itChange the inputs and watch the output
Serial monitor115200 baud
318.33 lx

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