Skip to content
SharpExpertLab

10 Best Light Sensor For Arduino in 2026

This guide compares the top light sensors for Arduino including LDRs and digital modules to help you choose the right component for your next project.

As an Amazon Associate we earn from qualifying purchases. We may earn a commission when you buy through links on this page, at no additional cost to you. Read our affiliate disclosure.As an Amazon Associate we earn from qualifying purchases.Purchases through our links may earn us a commission, at no extra cost to you. Read our affiliate disclosure.
In this guide
  1. 01Top 3 picks
  2. 02Compare all 10
  3. 03In-depth reviews
  4. 04Buying guide
  5. 05Use and care
  6. 06Common questions
  7. 07Final verdict

Light sensors are essential components for any Arduino enthusiast looking to build interactive projects that respond to their environment. Whether you need to detect ambient light levels or trigger actions based on brightness changes, choosing the right sensor is crucial for success.

We evaluated ten top-rated options available online focusing on accuracy ease of use and compatibility with popular boards. Our comparison covers everything from basic photoresistors to advanced digital modules offering precise measurements for professional applications.

Each pick highlights specific strengths helping you match a sensor to your unique needs whether for hobbyist DIY or industrial control. Keep in mind that product availability and pricing can shift so always verify details before ordering.

Top 3 Picks for Best Light Sensor for Arduino

Best Budget

EBOOT 30 Pieces Photoresistor
EBOOT 30 Pieces Photoresistor

4.6Editor score

30 pieces included
5mm GM5539 size
High voltage rating

Check price

Editor's Choice

WWZMDiB 6 Pcs 5MM LDR
WWZMDiB 6 Pcs 5MM LDR

4.4Editor score

LM393 comparator
Digital and analog out
Adjustable threshold

Check price

Best Premium

GY-302 BH1750 Module
GY-302 BH1750 Module

4.7Editor score

BH1750FVI chip
I2C interface
Lux accuracy

Check price

Top 10 Best Light Sensor for Arduino in 2026 Compared

The following table provides a side-by-side look at the core specifications and features of each product to help you make an informed decision quickly.

ProductsSpecificationsEditor scorePrice
1WWZMDiB 6 Pcs 5MM LDR

Editor's Choice

WWZMDiB 6 Pcs 5MM LDR
3-5V supply
LM393 comparator
DO and AO output
4.4Editor score

Check price

2GY-302 BH1750 Module

Editor's Choice

GY-302 BH1750 Module
BH1750FVI chip
13.9×18.5mm size
3-5V range
4.7Editor score

Check price

3HiLetgo 3pcs GY-302

Best Budget

HiLetgo 3pcs GY-302
Original ROHM chip
Compact dimensions
3-5V power
4.5Editor score

Check price

4Photodiode Sensor Module

Photodiode Sensor Module
Directional detection
Adjustable sensitivity
3.3V-5V work
4.5Editor score

Check price

5EBOOT 30 Pieces Photoresistor

EBOOT 30 Pieces Photoresistor
30 units pack
5mm GM5539
150V max
4.6Editor score

Check price

6Teyleten Robot 5MM LDR

Teyleten Robot 5MM LDR
LM393 module
10 pieces included
Ambient light
4.6Editor score

Check price

7Digital Light Sensor Pack

Digital Light Sensor Pack
4 pieces set
3.3V-5V supply
Tutorials included
4.6Editor score

Check price

850pcs LDR Photoresistor

50pcs LDR Photoresistor
50 pieces total
GL5516 type
Bright/Dark resistance
4.9Editor score

Check price

9TEMT6000 Light Sensor

TEMT6000 Light Sensor
Professional module
Backlight dimming
5 pieces pack
5.0Editor score

Check price

10uxcell Photosensitive Diode

uxcell Photosensitive Diode
3 pieces set
LM393 comparator
Smart car use
4.6Editor score

Check price

1. WWZMDiB 6 Pcs 5MM LDR – Best Integrated Switch

WWZMDiB 6 Pcs 5MM LDR Light Sensor 5516 Photoresistor LM393 3 Pin 3.3-5V Compatible with for Arduino Raspberry Pi ESP324.4Editor scoreCheck price on Amazon
WWZMDiB 6 Pcs 5MM LDR
LM393 comparator
3.3-5V power
DO and AO pins

This module combines a 5MM LDR with an LM393 comparator to offer both digital and analog outputs making it versatile for simple automation tasks.

Pros

  • Clean waveform output
  • Adjustable threshold
  • High driving capability

Cons

  • Requires potentiometer tuning
  • Basic analog resolution

We may earn a commission when you buy through this link, at no additional cost to you.

The potentiometer allows you to set a specific brightness threshold which triggers a clean digital signal ideal for relays or alarms without constant polling.

While the analog output is useful for gradual changes the digital switch function remains the standout feature for reliable on/off control.

Buyers needing a straightforward light switch solution for Arduino or ESP32 projects will find this kit offers the best balance of features and value.

Versatile Output Options

Access both digital switch DO and optional analog AO pins to support different project requirements simultaneously.

Strong Signal Integrity

The comparator ensures a clean signal with good waveform characteristics and strong driving capability exceeding 15mA.

Check price on Amazon

We may earn a commission when you buy through this link, at no additional cost to you.

2. GY-302 BH1750 Module – Best Precision Measurement

3-Pack GY-302 BH1750 Light Sensor Module, for Arduino4.7Editor scoreCheck price on Amazon
GY-302 BH1750 Module
BH1750FVI chip
I2C communication
13.9×18.5mm size

The GY-302 uses the ROHM BH1750FVI chip to deliver precise light intensity measurements in lux making it superior to basic photoresistors.

Pros

  • High accuracy readings
  • Compact footprint
  • Wide voltage range

Cons

  • Requires I2C library
  • Slightly higher cost

We may earn a commission when you buy through this link, at no additional cost to you.

Its compact size and versatile power supply range from 3 to 5 volts ensure easy integration into tight spaces on breadboards or PCBs.

While the need for an I2C library adds a small learning curve the accuracy gained is well worth it for data logging applications.

This pack is the top choice for serious makers who require reliable calibrated data for environmental monitoring or lighting automation.

Industrial Grade Sensor

The high-quality BH1750FVI chip from ROHM provides accurate readings that stand up to professional scrutiny.

Versatile Integration

Compatible with various devices for enhanced illumination monitoring across different power standards and platforms.

Check price on Amazon

We may earn a commission when you buy through this link, at no additional cost to you.

3. HiLetgo 3pcs GY-302 – Best Value Pack

HiLetgo 3pcs GY-302 BH1750 BH1750FVI Light Intensity Illumination Module for arduino4.5Editor scoreCheck price on Amazon
HiLetgo 3pcs GY-302
Original ROHM chip
13.9mm x 18.5mm
3-5V power supply

HiLetgo offers a reliable three-pack of GY-302 modules ensuring you have spares for multiple projects without compromising on sensor quality.

Pros

  • Original chip quality
  • Three module kit
  • Standard dimensions

Cons

  • May vary slightly in packaging
  • Requires soldering headers

We may earn a commission when you buy through this link, at no additional cost to you.

Each unit features the original BH1750FVI chip from ROHM guaranteeing consistent performance across all three modules in the set.

The standard dimensions and voltage requirements make these modules a safe bet for prototyping boards where space is at a premium.

Makers needing several sensors for a distributed lighting system will appreciate the cost effectiveness of buying a bundle upfront.

Original Components

Relies on the original BH1750FVI chip from ROHM to ensure accurate light intensity readings every time.

Standard Power Compatibility

Designed with a power supply range of 3 to 5 volts to work with most microcontrollers directly.

Check price on Amazon

We may earn a commission when you buy through this link, at no additional cost to you.

4. Photodiode Sensor Module – Best Directional Detection

Photodiode Sensor Module, 4 Pins Photodiode Sensor Module, 5mm Photodiode Module, for Digital Light Brightness Detection, Photosensitive Sensor Module for Arduino(10PCS)4.5Editor scoreCheck price on Amazon
Photodiode Sensor Module
Directional sensing
Blue potentiometer
3.2cm x 1.4cm

This photodiode module is specifically designed to perceive light sources in a fixed direction offering better light seeking capabilities than omnidirectional sensors.

Pros

  • Better directional response
  • Easy installation holes
  • 10 piece quantity

Cons

  • Strictly directional
  • Small size handling

We may earn a commission when you buy through this link, at no additional cost to you.

The sensitivity is adjustable using a blue digital potentiometer which allows fine-tuning for specific ambient light conditions easily.

With fixing bolt holes and a small PCB size it is ideal for mounting in precise locations where directionality matters for accuracy.

Projects requiring accurate detection of a specific light source like a laser or LED will benefit most from this directional design.

Directional Precision

Unlike photoresistors this module senses light directly in front for a better light seeking effect.

Dual Output Formats

Provides both digital switch output and analog voltage output for flexible integration with microcontrollers.

Check price on Amazon

We may earn a commission when you buy through this link, at no additional cost to you.

5. EBOOT 30 Pieces Photoresistor – Best Component Stock

EBOOT 30 Pieces Photoresistor Photo Light Sensitive Resistor Light Dependent Resistor 5 mm (5539)4.6Editor scoreCheck price on Amazon
EBOOT 30 Pieces Photoresistor
30 units included
5mm GM5539
150V max voltage

This bulk pack provides thirty 5mm GM5539 photoresistors which is excellent for stocking up or running multiple prototypes at once.

Pros

  • High quantity pack
  • High voltage rating
  • Wide spectral peak

Cons

  • No module housing
  • Requires breadboard setup

We may earn a commission when you buy through this link, at no additional cost to you.

With a maximum voltage of 150 volts DC and a spectral peak of 540 nm these resistors cover a wide range of light conditions.

While you must build your own circuit boards these components are reliable and easy to handle for hand working projects.

It is the perfect addition for a maker who wants to keep a steady supply of essential light sensing components on hand.

Robust Specifications

Handles up to 150 volts DC with a peak spectral response of 540 nm for standard daylight.

Large Quantity

Includes 30 units so you have enough for hand working projects and experimental setups.

Check price on Amazon

We may earn a commission when you buy through this link, at no additional cost to you.

6. Teyleten Robot 5MM LDR – Best Relay Trigger

Teyleten Robot 5MM LDR Photosensitive Sensor Module Light Dependent Resistor Sensor Module Digital Light Detection LM393 3 pins for Arduino (10PCS)4.6Editor scoreCheck price on Amazon
Teyleten Robot 5MM LDR
LM393 module
10 pieces set
DO output signal

The Teyleten Robot module is optimized for digital detection making it excellent for triggering relays based on ambient light intensity.

Pros

  • Relay compatible
  • High low level output
  • Ambient light detection

Cons

  • Basic analog performance
  • Simple thresholding

We may earn a commission when you buy through this link, at no additional cost to you.

When the environment light intensity drops below a set threshold the DO output switches allowing direct connection to microcontrollers.

The ability to drive a relay module directly without extra transistors simplifies wiring for light-operated switches significantly.

Users focusing on automatic lighting control rather than precise measurement will find this straightforward digital approach highly effective.

Direct Relay Control

The DO output can be directly driven by a relay module to form a light-operated switch easily.

Threshold Sensing

Outputs high level when light is low and low level when light exceeds the set threshold.

Check price on Amazon

We may earn a commission when you buy through this link, at no additional cost to you.

7. Digital Light Sensor Pack – Best Multi-Platform Kit

Digital Light Sensor for Arduino, ESP32, ESP8266, Raspberry Pi, 4 Pieces4.6Editor scoreCheck price on Amazon
Digital Light Sensor Pack
3.3-5V supply
Dual output pins
Includes tutorials

This kit is explicitly designed to work with Arduino ESP32 ESP8266 and Raspberry Pi ensuring broad compatibility across different microcontrollers.

Pros

  • Broad platform support
  • Adjustable threshold
  • Educational content

Cons

  • Generic labeling
  • Simple analog output

We may earn a commission when you buy through this link, at no additional cost to you.

Tutorials are provided to help users get started quickly which reduces the barrier to entry for beginners new to light sensing.

Both digital and analog pins are available allowing you to choose between simple threshold detection or gradual measurement.

If you need a flexible solution that works across multiple ecosystems this pack offers the necessary adaptability.

Wide Compatibility

Designed for use with any 5V or 3.3V microcontroller including ESP32 and Raspberry Pi.

User Support

Tutorials for Arduino ESP32 and ESP8266 are provided to speed up your project development.

Check price on Amazon

We may earn a commission when you buy through this link, at no additional cost to you.

8. 50pcs LDR Photoresistor – Best Bulk Option

50pcs LDR Photoresistor Light Sensor Photocell for Arduino, ESP32, ESP8266, Raspberry Pi4.9Editor scoreCheck price on Amazon
50pcs LDR Photoresistor
50 pieces count
GL5516 sensor
Bright dark ranges

With fifty GL5516 light dependent resistors this option provides the most components for the price which is ideal for large scale projects.

Pros

  • Huge quantity
  • High rating
  • Solar tracking ready

Cons

  • No module protection
  • Basic component only

We may earn a commission when you buy through this link, at no additional cost to you.

The resistance changes from 5-10KOhm in bright light to 0.2MOhm in dark making it suitable for automation and solar tracking.

Although these are bare components they are reliable and easy to integrate into custom circuits with external resistors.

It is an excellent buy for those needing a large reserve of sensors for educational kits or multiple prototypes.

Ideal for Automation

Resistance changes significantly between bright and dark conditions making it suitable for light automation tasks.

Massive Supply

Includes 50 pieces so you never run out during large batch manufacturing or testing.

Check price on Amazon

We may earn a commission when you buy through this link, at no additional cost to you.

9. TEMT6000 Light Sensor – Best for Display Dimming

5PCS TEMT6000 Light Sensor Professional Ambient Light Sensor Module For Arduino Display Backlight Dimming Keypad Backlighting Industrial Lighting Control5.0Editor scoreCheck price on Amazon
TEMT6000 Light Sensor
Professional grade
Backlight specific
5 pieces set

The TEMT6000 is specifically designed for ambient light control in displays offering a professional level of accuracy for backlight dimming.

Pros

  • Perfect for LCD backlight
  • Professional accuracy
  • Clean interface

Cons

  • Limited to dimming
  • Higher cost per unit

We may earn a commission when you buy through this link, at no additional cost to you.

Its application range extends from LCD displays to industrial lighting control ensuring it meets strict performance requirements.

With a perfect rating this module stands out as the most reliable option for user interface lighting adjustments.

If your project involves adjusting screen brightness or keypad lighting this sensor is the industry standard choice.

Display Control

Perfectly suited for control of display backlight dimming in LCD displays and keypad backlighting.

Industrial Grade

Professional sensor module designed for industrial on/off-lighting operation with high precision.

Check price on Amazon

We may earn a commission when you buy through this link, at no additional cost to you.

10. uxcell Photosensitive Diode – Best Automotive Use

uxcell Photosensitive Diode Sensor Light Detection Photodiode Module with Digital and Analog Output for Smart Car 3pcs4.6Editor scoreCheck price on Amazon
uxcell Photosensitive Diode
LM393 comparator
Smart car app
Dual output

This module uses a wide voltage LM393 comparator for stability making it reliable for smart car applications where power fluctuates.

Pros

  • Stable comparator
  • Wide voltage support
  • Clear output

Cons

  • 3 piece small pack
  • Basic design

We may earn a commission when you buy through this link, at no additional cost to you.

It provides both digital output and analog voltage output allowing flexibility for different control systems and display needs.

The working voltage of 3.3V to 5V ensures it works with modern low voltage electronics without extra regulators.

Users looking for a stable module for automotive or vehicle-based light detection will find this a robust option.

Stable Comparator

Uses a wide voltage LM393 comparator with good stability for reliable signal processing.

Dual Mode

Output format includes digital 0 and 1 and analog voltage output for versatile usage.

Check price on Amazon

We may earn a commission when you buy through this link, at no additional cost to you.

Buying Guide – How to Choose the Best Light Sensor for Arduino

Selecting the right light sensor depends on your specific project requirements and technical capabilities.

Sensor Type

Choose between photoresistors which are simple and cheap or digital modules like BH1750 for high precision.

For simple light on off use choose photoresistors for detailed data use digital modules.

Output Format

Decide if you need digital signals for simple logic or analog values for gradual measurement.

Digital outputs simplify code while analog outputs offer more flexibility.

Voltage Compatibility

Ensure the sensor supports the voltage of your microcontroller such as 3.3V or 5V.

Mismatched voltages can damage both the sensor and your board.

Directionality

Determine if you need omnidirectional sensing or directional sensing for specific light sources.

Directional sensors reduce false positives in noisy environments.

Pack Quantity

Consider buying bulk packs if you plan multiple projects to reduce costs.

Bare components are cheaper while modules save assembly time.

Calibration

Check if the sensor requires external calibration or has built-in trimming options.

Modules with potentiometers offer easier tuning for different lighting conditions.

Size Constraints

Measure your project space to ensure the sensor dimensions fit comfortably.

Compact sensors are essential for wearable or embedded applications.

Software Support

Verify that libraries and tutorials are available for your chosen platform.

Good documentation speeds up development significantly.

How to Use and Care for Your Light Sensor for Arduino

Connect the VCC pin to 5V or 3.3V depending on your board logic and GND to ground.

Use the analog or digital pins to read light values and write simple if statements for thresholds.

Keep the sensor away from direct heat sources to maintain accuracy and lifespan.

Frequently Asked Questions

What is the difference between an LDR and a digital light sensor?

An LDR is a photoresistor that changes resistance based on light and usually requires a voltage divider. A digital sensor like BH1750 provides direct lux readings via I2C and is more precise.

Can I use a 5V sensor with a 3.3V board?

Most modern modules accept 3.3V to 5V inputs. Check the data sheet specifically for operating voltage ranges to avoid damage or incorrect readings.

How do I calibrate a light sensor?

Adjust the potentiometer on the module to set the threshold for digital outputs or map analog values to known light levels in your code.

Which sensor is best for a smart bulb?

The BH1750 digital module is best because it provides accurate lux data needed for smooth dimming algorithms and automation logic.

Why is my light sensor reading zero?

Check your wiring for loose connections and ensure the code reads the correct pin number. Also verify the sensor is not blocked.

Do these sensors work outdoors?

Most are rated for indoor use and may degrade in direct UV exposure. Use a protective housing if deploying them outside.

Final Thoughts on Choosing the Best Light Sensor for Arduino

The WWZMDiB and GY-302 modules lead our list for their balance of accuracy and ease of use.

Prioritize digital sensors if you need precise data and basic LDRs if you just need on off control.

Always check current prices and availability before ordering to get the best deal for your project needs.