Skip to content
PracticalReviewHub

10 Best Light Sensor For Arduino in 2026

This guide compares the top light sensor for Arduino modules to help you choose the right photoresistor or digital sensor for your next electronic 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 project requiring environmental awareness. Whether you are building a smart home device or an automated garden system, choosing the right sensor ensures reliable data collection and efficient performance.

We have carefully selected ten top-rated light sensor modules available for Arduino users. Each product was evaluated based on compatibility, accuracy, ease of use, and customer feedback to ensure you get the best value for your investment.

Every pick in this list highlights key features and real-world applications to guide your decision. Please note that product availability and specific terms may change over time, so verify details before purchasing.

Top 3 Picks for Best Light Sensor for Arduino

Best Budget

EBOOT 30 Pieces Photoresistor
EBOOT 30 Pieces Photoresistor

4.6Editor score

Thirty photoresistors included
Spectral peak at 540 nm
Ideal for DIY hand working projects

Check price

Editor's Choice

WWZMDiB 6 Pcs 5MM LDR Light Sensor
WWZMDiB 6 Pcs 5MM LDR Light Sensor

4.4Editor score

Includes LM393 comparator
Adjustable threshold detection
Compatible with 3.3V to 5V

Check price

Best Premium

3-Pack GY-302 BH1750 Light Sensor Module
3-Pack GY-302 BH1750 Light Sensor Module

4.7Editor score

High quality BH1750FVI chip
Precision light intensity measurement
Compact size for easy integration

Check price

Top 10 Best Light Sensor for Arduino in 2026 Compared

The following table provides a side-by-side comparison of all ten selected light sensor modules to help you quickly identify the best fit for your specific Arduino project requirements.

ProductsSpecificationsEditor scorePrice
1WWZMDiB 6 Pcs 5MM LDR Light Sensor

Editor's Choice

WWZMDiB 6 Pcs 5MM LDR Light Sensor
Voltage 3 to 5V
Output Digital and Analog
Comparator LM393 included
Detects ambient light threshold
4.4Editor score

Check price

23-Pack GY-302 BH1750 Light Sensor Module

Editor's Choice

3-Pack GY-302 BH1750 Light Sensor Module
Chip BH1750FVI from ROHM
Dimensions 13.9mm by 18.5mm
Supply Voltage 3 to 5V
Measures light intensity precisely
4.7Editor score

Check price

3HiLetgo 3pcs GY-302 BH1750 BH1750FVI Light Intensity Illumination Module

Best Premium

HiLetgo 3pcs GY-302 BH1750 BH1750FVI Light Intensity Illumination Module
Model GY-302
Original ROHM BH1750FVI chip
Voltage 3 to 5V
Compact module for arduino
4.5Editor score

Check price

4Photodiode Sensor Module 4 Pins

Photodiode Sensor Module 4 Pins
Directional light sensing
Output Digital and Analog
Voltage 3.3V to 5V
Includes fixing bolt holes
4.5Editor score

Check price

5EBOOT 30 Pieces Photoresistor Photo Light Sensitive Resistor

EBOOT 30 Pieces Photoresistor Photo Light Sensitive Resistor
Quantity 30 x 5mm resistors
Max voltage 150 Volt DC
Spectral peak 540 nm
Resistance 50 to 100 Kohm
4.6Editor score

Check price

6Teyleten Robot 5MM LDR Photosensitive Sensor Module

Teyleten Robot 5MM LDR Photosensitive Sensor Module
Sensitive to ambient light
Trigger relay module possible
DO output high low level
Light operated switch formation
4.6Editor score

Check price

7Digital Light Sensor for Arduino ESP32 ESP8266 Raspberry Pi

Digital Light Sensor for Arduino ESP32 ESP8266 Raspberry Pi
Adjustable threshold potentiometer
Output Digital and Analog pins
Supply voltage 3.3 to 5V
Tutorials for ESP32 included
4.6Editor score

Check price

850pcs LDR Photoresistor Light Sensor Photocell

50pcs LDR Photoresistor Light Sensor Photocell
50pcs GL5516 resistors
Bright resistance 5 to 10KOhm
Dark resistance 0.2MOhm
Suitable for solar tracking
4.9Editor score

Check price

95PCS TEMT6000 Light Sensor Professional Ambient Light Sensor Module

5PCS TEMT6000 Light Sensor Professional Ambient Light Sensor Module
Professional ambient light sensor
Display backlight dimming control
Industrial lighting operation use
5PCS included in pack
5.0Editor score

Check price

10uxcell Photosensitive Diode Sensor Light Detection Photodiode Module

uxcell Photosensitive Diode Sensor Light Detection Photodiode Module
LM393 chip comparator
Voltage 3.3V to 5V
Output digital and analog
Application light intensity detection
4.6Editor score

Check price

1. WWZMDiB 6 Pcs 5MM LDR Light Sensor – Best Overall Light Sensor

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 Light Sensor
Voltage 3 to 5V
Comparator LM393 included
Output Digital and Analog
Adjustable threshold detection

This module combines a 5MM LDR with an LM393 comparator to offer both digital and analog outputs. It holds a solid rating and is widely used for basic ambient light detection in Arduino environments.

Pros

  • Includes voltage comparator for clean signals
  • Provides both digital and analog output
  • Adjustable sensitivity via potentiometer
  • Wide compatibility with microcontrollers
  • Cost effective for small projects

Cons

  • Basic photoresistor technology limits precision
  • Not ideal for high accuracy needs

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

The inclusion of the LM393 voltage comparator ensures a clean signal and strong driving capability. You can adjust the detection brightness using the built-in potentiometer to suit your specific project requirements.

While the analog output allows for nuanced readings, the photoresistor itself is less precise than digital light sensors. For simple threshold detection, this trade-off is acceptable and keeps costs low.

This is an excellent choice for beginners or projects needing automatic control based on light levels. It works well with Arduino, Raspberry Pi, and ESP32 boards.

Versatile Output Options

The dual output design allows you to choose between simple on-off control or detailed light intensity readings.

Easy Integration

Standard pin configuration and voltage compatibility make it straightforward to wire into existing breadboard setups.

Check price on Amazon

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

2. 3-Pack GY-302 BH1750 Light Sensor Module – High Accuracy Digital Sensor

3-Pack GY-302 BH1750 Light Sensor Module, for Arduino4.7Editor scoreCheck price on Amazon
3-Pack GY-302 BH1750 Light Sensor Module
Chip BH1750FVI from ROHM
Precision light intensity measurement
Compact size for easy integration
Voltage 3 to 5V

This module uses the BH1750FVI chip to provide precise digital light intensity measurements. It is highly rated for its accuracy and ease of integration with various microcontrollers.

Pros

  • High quality BH1750FVI chip
  • I2C interface for easy wiring
  • Measures light in Lux directly
  • Compact size fits tight spaces
  • Wide power supply range

Cons

  • Requires library installation for Arduino
  • Slightly more complex than analog sensors

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

The I2C interface reduces wiring complexity compared to analog sensors. You get direct Lux readings which are useful for applications like automatic brightness control in displays or lighting systems.

Its compact dimensions allow it to fit into small enclosures easily. However, beginners may need to install specific libraries to communicate with the sensor correctly.

Choose this if you need reliable and accurate data without calibration. It is perfect for smart home projects requiring precise ambient light monitoring.

Direct Lux Readings

The sensor outputs light intensity in Lux, removing the need for manual conversion of analog values.

Efficient Wiring

Using I2C means you only need two data pins, freeing up other resources on your Arduino board.

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 BH1750 BH1750FVI Light Intensity Illumination Module – Bulk Pack Option

HiLetgo 3pcs GY-302 BH1750 BH1750FVI Light Intensity Illumination Module for arduino4.5Editor scoreCheck price on Amazon
HiLetgo 3pcs GY-302 BH1750 BH1750FVI Light Intensity Illumination Module
Model GY-302
Original ROHM BH1750FVI chip
Voltage 3 to 5V
Compact module for arduino

This package offers three identical GY-302 modules, providing value for multiple projects or backup. It shares the same high-quality chip as other top contenders.

Pros

  • Three modules included in package
  • Uses original ROHM chip
  • Consistent performance across units
  • Standard GY-302 form factor
  • Easy to source replacement parts

Cons

  • Slightly higher cost than single units
  • No unique features over other GY-302s

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

The use of the original ROHM BH1750FVI chip ensures stable and accurate readings. This is particularly useful if you are building several devices that require uniform sensor behavior.

While functionally similar to other BH1750 modules, buying in bulk can be more economical over time. The standard form factor ensures compatibility with existing projects.

If you plan to deploy sensors in multiple locations, this pack is a practical choice. It eliminates the need to buy modules individually for each unit.

Bulk Value

Purchasing three units at once reduces the per-unit cost and ensures you have spares available.

Consistent Quality

Standardized manufacturing means each sensor in the pack performs similarly, simplifying calibration.

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 4 Pins – Directional Light Sensing

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 4 Pins
Directional light sensing
Output Digital and Analog
Voltage 3.3V to 5V
Includes fixing bolt holes

This module uses a photodiode to detect light primarily from a fixed direction. It is useful for applications where light seeking or specific source detection is required.

Pros

  • Directional light detection capability
  • Includes digital and analog outputs
  • Adjustable sensitivity potentiometer
  • Bolt holes for secure mounting
  • 10 pieces in package

Cons

  • Directionality limits wide angle sensing
  • Requires specific mounting for best results

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

The module features both digital switch and analog voltage outputs. You can adjust sensitivity using the blue potentiometer to differentiate between ambient light and specific sources.

The small PCB size includes bolt holes for easy installation in enclosures. However, the directional nature means you must aim the sensor correctly to get accurate readings.

For projects like line followers or sun trackers, this directional capability is a major advantage. It helps filter out unwanted ambient light interference.

Targeted Detection

Unlike omnidirectional sensors, this module focuses on light from a specific angle for precise tracking.

Mounting Flexibility

Built-in fixing holes allow you to secure the module firmly in your project casing.

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 Photo Light Sensitive Resistor – Most Economical Option

EBOOT 30 Pieces Photoresistor Photo Light Sensitive Resistor Light Dependent Resistor 5 mm (5539)4.6Editor scoreCheck price on Amazon
EBOOT 30 Pieces Photoresistor Photo Light Sensitive Resistor
Quantity 30 x 5mm resistors
Max voltage 150 Volt DC
Spectral peak 540 nm
Resistance 50 to 100 Kohm

This bulk pack provides thirty individual photoresistors without any breakout boards. It is the most budget-friendly way to stock up on sensors for multiple prototypes.

Pros

  • Thirty photoresistors included
  • Very low cost per unit
  • Ideal for learning circuit basics
  • Compatible with standard breadboards
  • High maximum voltage rating

Cons

  • No module or breakout board included
  • Requires external components for usage

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

Each resistor has a maximum voltage rating of 150 Volts DC, which is higher than typical module ratings. The spectral peak at 540 nm ensures sensitivity to visible light.

Since these are bare components, you must build your own voltage divider circuit to use them with Arduino. This offers more flexibility but requires more initial effort.

If you are a student or hobbyist wanting to understand how sensors work internally, this is the ideal choice. It saves money on future projects requiring spare parts.

Component Level Access

Using raw components allows you to customize the circuit design to your exact specifications.

Cost Effective

Purchasing in bulk significantly reduces the cost per resistor compared to pre-made modules.

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 Photosensitive Sensor Module – Multi-Pack Module Solution

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 Photosensitive Sensor Module
Sensitive to ambient light
Trigger relay module possible
DO output high low level
Light operated switch formation

This pack offers ten complete sensor modules, each featuring an LM393 comparator. They are designed to easily drive relays for automated lighting control.

Pros

  • Ten modules included
  • Built-in relay trigger capability
  • Digital output for simple logic
  • Compatible with 3.3V and 5V
  • Stable LM393 comparator

Cons

  • Standard LDR limitations apply
  • No analog output on some variants

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

The digital output provides a high or low level based on set light intensity. This simplifies code by removing the need to process analog data for on-off switching.

The modules are sensitive to ambient light changes, making them effective for night-light projects. The compact design allows multiple units to be used in one project.

For automated systems requiring reliable switching without complex logic, these modules are highly effective. They bridge the gap between sensing and acting on light levels.

Relay Direct Drive

The strong output signal can control a relay directly, enabling automatic light switching.

Simple Integration

Three pins simplify wiring to your microcontroller, saving time on setup.

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 for Arduino ESP32 ESP8266 Raspberry Pi – Versatile Digital Module

Digital Light Sensor for Arduino, ESP32, ESP8266, Raspberry Pi, 4 Pieces4.6Editor scoreCheck price on Amazon
Digital Light Sensor for Arduino ESP32 ESP8266 Raspberry Pi
Adjustable threshold potentiometer
Output Digital and Analog pins
Supply voltage 3.3 to 5V
Tutorials for ESP32 included

This module provides both digital and analog outputs to offer flexibility in different project requirements. It is explicitly marketed as compatible with ESP32 and ESP8266 boards.

Pros

  • Includes both digital and analog outputs
  • Adjustable sensitivity threshold
  • Tutorials for ESP32 available
  • Compatible with multiple microcontrollers
  • Four modules in package

Cons

  • No specific chip highlighted in data
  • Relies on standard LDR components

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

The built-in potentiometer lets you fine-tune the triggered threshold for accurate detection. This versatility makes it suitable for both simple and intermediate projects.

Tutorials are provided for popular microcontrollers like ESP32, making setup easier for IoT projects. The four-piece pack ensures you have replacements ready.

If you are building a connected lighting project, this module offers the necessary features without complexity. It supports both threshold and intensity readings.

IoT Readiness

Designed for ESP32 compatibility, this module is great for sending data to the cloud.

Flexible Output

Using both outputs allows you to switch between analog sensitivity and digital thresholds.

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 Light Sensor Photocell – Large Bulk Supply

50pcs LDR Photoresistor Light Sensor Photocell for Arduino, ESP32, ESP8266, Raspberry Pi4.9Editor scoreCheck price on Amazon
50pcs LDR Photoresistor Light Sensor Photocell
50pcs GL5516 resistors
Bright resistance 5 to 10KOhm
Dark resistance 0.2MOhm
Suitable for solar tracking

This package contains fifty GL5516 photoresistors, ideal for large production runs or extensive workshops. It has an excellent customer rating of 4.9 stars.

Pros

  • Fifty photoresistors included
  • High customer satisfaction rating
  • Clear resistance specs provided
  • Good for large scale projects
  • Compatible with multiple boards

Cons

  • Bare components require circuit building
  • No breakout boards included

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

The provided resistance values for bright and dark conditions allow for precise circuit design. These specifications help you calculate the correct resistor for voltage dividers.

Without breakout boards, you have complete control over how the sensor is integrated. This is perfect for custom enclosures or high-density sensor arrays.

For industrial prototypes or educational kits requiring many units, this bulk supply is efficient. The high rating suggests consistent quality across all units.

Scalability

With fifty units, you can build and test multiple iterations of your design simultaneously.

Clear Specs

Knowing the resistance values helps in designing stable circuits without guesswork.

Check price on Amazon

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

9. 5PCS TEMT6000 Light Sensor Professional Ambient Light Sensor Module – Professional Grade

5PCS TEMT6000 Light Sensor Professional Ambient Light Sensor Module For Arduino Display Backlight Dimming Keypad Backlighting Industrial Lighting Control5.0Editor scoreCheck price on Amazon
5PCS TEMT6000 Light Sensor Professional Ambient Light Sensor Module
Professional ambient light sensor
Display backlight dimming control
Industrial lighting operation use
5PCS included in pack

This sensor is designed for professional applications like display backlight dimming and keypad lighting. It has achieved a perfect rating, indicating high user satisfaction.

Pros

  • Perfect 5.0 rating
  • Specialized for display backlighting
  • Professional grade quality
  • Compact and efficient
  • Ideal for industrial control

Cons

  • Higher price than basic sensors
  • Limited to specific applications

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

The TEMT6000 is known for linear response and high precision compared to standard photoresistors. This makes it ideal for interfaces where smooth brightness changes are required.

While it may be more expensive than basic sensors, its performance justifies the cost for critical displays. The compact form factor fits well behind screens.

Choose this module if you need reliable backlight control for a custom device. It offers the precision needed for industrial or consumer electronics.

Display Applications

Optimized for adjusting display brightness to match ambient light conditions automatically.

High Precision

Linear response allows for accurate and smooth dimming transitions.

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 Sensor Light Detection Photodiode Module – Reliable Photodiode Option

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 Sensor Light Detection Photodiode Module
LM393 chip comparator
Voltage 3.3V to 5V
Output digital and analog
Application light intensity detection

This module combines a photodiode with an LM393 comparator for reliable light detection. It is widely used in applications like smart cars for headlight control.

Pros

  • Includes 3 modules
  • Stable LM393 comparator
  • Wide voltage support
  • Suitable for smart cars
  • Digital and analog outputs

Cons

  • Standard photodiode response
  • Less sensitive than specialized chips

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

The module supports both digital and analog outputs, giving you flexibility in how you process the light data. The LM393 ensures stable performance across different voltage levels.

While it uses standard components, the reliability is high for general automation tasks. It works well for threshold detection in dynamic environments.

If you need a robust sensor for automotive or industrial projects, this is a solid choice. It balances cost and performance effectively.

Automotive Use

Commonly applied in smart cars to automate headlight switching based on light conditions.

Voltage Stability

The LM393 comparator maintains stable output even if voltage fluctuates.

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 requires understanding your project's specific needs regarding accuracy, interface, and environmental conditions.

Sensor Type

Photoresistors are inexpensive and simple but lack precision compared to digital sensors like BH1750. Digital sensors provide direct Lux readings and are more stable over time.

Choose digital sensors for accuracy and analog for simple on-off control.

Output Type

Analog outputs give continuous data useful for dimming, while digital outputs provide simple high or low signals for switching.

Decide if you need to measure intensity or just detect presence.

Voltage Compatibility

Ensure the module supports your board's voltage, such as 3.3V or 5V, to avoid damage or reading errors.

Always check the spec sheet before powering the device.

Sensitivity Adjustment

Modules with potentiometers allow you to adjust the trigger threshold manually for different environments.

This is useful for calibration without changing code.

Size and Mounting

Some modules are compact with mounting holes, which is crucial for fitting into tight enclosures.

Consider the physical footprint relative to your project box.

Directionality

Standard sensors detect light from all sides, while photodiodes may be directional to focus on specific sources.

Pick directional sensors for tracking or avoiding ambient interference.

Interface

I2C interfaces simplify wiring by reducing pins, whereas analog sensors use a single pin for data.

I2C is better if your pins are limited.

Reliability

Digital chips from reputable manufacturers like ROHM offer better long-term stability than generic resistors.

Reliability is key for critical automation projects.

How to Use and Care for Your Light Sensor for Arduino

Connect the VCC pin to the power supply, GND to ground, and the output pin to a digital or analog pin on your Arduino. Ensure voltage compatibility to prevent damage.

Upload a code example specific to the sensor model. Libraries are often required for digital sensors like BH1750 to interpret data correctly.

Protect the sensor from physical damage and avoid exposure to water. Regularly clean the sensor lens to prevent dust from affecting light detection accuracy.

Frequently Asked Questions

What is the difference between an LDR and a BH1750?

An LDR is an analog component whose resistance changes with light intensity. A BH1750 is a digital sensor that outputs precise Lux readings. The BH1750 offers better accuracy and requires less calibration.

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

Many modules support both 3.3V and 5V power supplies. Check the voltage specifications of your specific module to confirm compatibility before connecting to the board.

How do I adjust the sensitivity of a light sensor?

Most modules include a potentiometer on the PCB. You can rotate this small screw to change the trigger threshold for digital output or affect the analog reading.

Which library should I use for a BH1750 sensor?

Popular libraries include Adafruit BH1750 or SparkFun BH1750. Install these via the Arduino Library Manager to easily read light intensity values in Lux.

Are light sensors suitable for outdoor use?

Basic modules are not weather-resistant. You should enclose them in a waterproof case if using them outdoors to protect the electronics from rain and humidity.

How many pins does a typical light sensor need?

A simple LDR module uses three pins (VCC, GND, OUT). Digital I2C sensors may use only four pins total (VCC, GND, SDA, SCL).

Final Thoughts on Choosing the Best Light Sensor for Arduino

We have reviewed ten reliable options ranging from budget photoresistors to precision digital modules. Each product offers unique features suited for different types of Arduino applications.

Prioritize accuracy and interface type based on your project goals. If you need simple automation, analog sensors suffice; for smart displays, digital sensors are better.

Always check current product availability and compatibility before purchasing. These recommendations remain relevant for hobbyists and engineers seeking dependable light detection.