Gravity: Analog Ambient Light Sensor for Arduino / ESP32 / micro:bit / Raspberry Pi (1~6000 Lux)

SKU:DFR0026 Brand:DFRobot Reward Points: 26
In Stock
Topic: Gravity
Quantity Based Price
  • 10-29$2.30
  • 30+$2.10
* Model:
Expected Restock Date: [[restockDate]]


This Gravity: Analog ambient light sensor can assist you in detecting light density and provide an analog voltage signal to the controller as feedback. Additionally, you have the ability to trigger other components within your project by setting voltage thresholds.


This ambient light sensor is operational within the voltage range of 3.3 to 5 volts, and is compatible with common controllers such as Arduino, micro:bit, ESP32, RP2040, and Raspberry Pi. However, please note that the Raspberry Pi board does not have built-in ADC functionality, and therefore requires an ADC expansion module to read the input signals of the analog ambient light sensor, such as the Gravity: I2C ADS1115 16-Bit ADC Module or the IO Expansion HAT for Raspberry Pi 4B/3B+.


To facilitate easier usage of the ambient light sensor, this product is designed with a universal Gravity interface that can be plugged in without requiring soldering. Two screw holes allow you to fasten it to any desired location. When used in combination with a Gravity IO extension shield, it further simplifies the wiring process, making messy DuPont wires and complex connections a thing of the past and enabling you to focus your energy on your creative designs.

Gravity Arduino Raspberry Pi Light Sensor Project

This Arduino Light sensor can capture little change of light!!


If you are a beginner, it is recommended to purchase an Arduino kit with tutorials, such as the Gravity: Intermediate Kit for Arduino and the Gravity: Science Data Acquisition Module Kit for Experiments Education. These kits come with comprehensive tutorials and all the components necessary to complete a variety of projects, allowing you to gradually learn and build upon your knowledge and skills.


  • Supply Voltage: 3.3V to 5V, compatible with Arduino / ESP32 / micro:bit / Raspberry Pi
  • Illumination range: 1 Lux to 6000 Lux
  • Responsive time: 15us
  • Interface: Analog
  • Supports graphical programming platforms such as Mind+ and MakeCode
  • Size: 22x30mm (0.87"x1.18")


Project 1. micro:bit Surprise box
In this project it shows how the box interacts with flahsing hearts.

Project 2. Hyduino - Automated Hydroponics with an Arduino
hydroponics is growing plants without the use of a traditional dirt medium by using a nutrient rich water solution. This is especially great for those people that that have limited areas in their backyard to grow in.

Project 3: Environmental Monitoring System Based on OBLOQ-IoT Module
This product is mainly applied in electronic laboratory to monitor and control indicators such as temperature, humidity, light and dust, and timely upload them to the cloud data space to achieve remote monitoring and control of dehumidifier, air purifier, exhaust fan and dimmable light, etc. in the laboratory.

Project 4: micro:bit Laser Target

Introduction: The ambient light sensor sensor detects the intensity of the laser pointer. If it is greater than 400, it will sound the buzzer and the servo will make the target fall and up. Game over when it reaches 10. Press A to reset score to 0.

By following this project, it will help to make a toy BIRD. The BIRD will start to perform when the light turns on.


  • Wide voltage range from 3.3V to 5V
  • Standard assembling structure (two 3mm holes with multiple of 5cm(1.97") as interval)
  • Easily recognitive interfaces of sensors ("A" for analog and "D" for digital)
  • Icons to simplely illustrate sensor function
  • High quality connector
  • Immersion gold surface


Shipping List

  • Analog Ambient Light Sensor x1
  • Analog cable x1




Gravity: Analog Ambient Light Sensor for Arduino / ESP32 / micro:bit / Raspberry Pi (1~6000 Lux)

In Stock
  • 10-29$2.30
  • 30+$2.10