Uploaded September 2025 | Updated November 2026, 14 hours ago
Want to turn light into something you can see without opening a serial monitor? This project shows you how to build a visual ambient light indicator using the SparkFun Ambient Light Sensor, a RedBoard Qwiic, and a Qwiic Button.
When minimal light is detected, the button glows bright. As more light hits the sensor, the button dims. It’s a simple but powerful way to understand how sensors and outputs can work together. Instead of reading data on your computer, you get instant feedback through the button’s glow.
This project is part of our Qwiic Circuit Creations series: quick builds that let you experiment with SparkFun’s Qwiic ecosystem.
What You’ll Need:
• SparkFun RedBoard Qwiic: sparkfun.com/sparkfun-redboard-qwiic.html
• SparkFun Ambient Light Sensor: sparkfun.com/sparkfun-ambient-light-sensor-veml7700-qwiic.html
• SparkFun Qwiic Button: sparkfun.com/sparkfun-qwiic-button-green-led.html
• Qwiic cables: sparkfun.com/qwiic-cable-50mm.html
Steps to Get Started:
• Connect the Ambient Light Sensor and Qwiic Button to the RedBoard using Qwiic cables.
• Upload the example code (linked below) to your RedBoard Qwiic.
• Watch the button’s LED fade in and out as the light in your environment changes.
Ideas to Expand This Project:
• Trigger other actions like closing blinds or turning on a lamp when light levels drop.
• Use multiple sensors to compare brightness across different areas.
• Incorporate it into a larger smart-home or art project for reactive lighting.
Code & Resources:
• Download Example Code:
• Learn More About Qwiic: sparkfun.com/qwiic
Want to turn light into something you can see without opening a serial monitor? This project shows you how to build a visual ambient light indicator using the SparkFun Ambient Light Sensor, a RedBoard Qwiic, and a Qwiic Button.
When minimal light is detected, the button glows bright. As more light hits the sensor, the button dims. It’s a simple but powerful way to understand how sensors and outputs can work together. Instead of reading data on your computer, you get instant feedback through the button’s glow.
This project is part of our Qwiic Circuit Creations series: quick builds that let you experiment with SparkFun’s Qwiic ecosystem.
What You’ll Need:
• SparkFun RedBoard Qwiic: sparkfun.com/sparkfun-redboard-qwiic.html
• SparkFun Ambient Light Sensor: sparkfun.com/sparkfun-ambient-light-sensor-veml7700-qwiic.html
• SparkFun Qwiic Button: sparkfun.com/sparkfun-qwiic-button-green-led.html
• Qwiic cables: sparkfun.com/qwiic-cable-50mm.html
Steps to Get Started:
• Connect the Ambient Light Sensor and Qwiic Button to the RedBoard using Qwiic cables.
• Upload the example code (linked below) to your RedBoard Qwiic.
• Watch the button’s LED fade in and out as the light in your environment changes.
Ideas to Expand This Project:
• Trigger other actions like closing blinds or turning on a lamp when light levels drop.
• Use multiple sensors to compare brightness across different areas.
• Incorporate it into a larger smart-home or art project for reactive lighting.
Code & Resources:
• Download Example Code:
• Learn More About Qwiic: sparkfun.com/qwiic










