7Semi-OPT3004-Digital-Ambient-Light-Sensor-Arduino-Library

Arduino library for the OPT3004 ambient light sensor with lux output.

Author
7Semi
Website
https://github.com/7semi-solutions/7Semi-OPT3004-Digital-Ambient-Light-Sensor
Category
Sensors
License
MIT
Library Type
Contributed
Architectures
Any

This library provides an easy-to-use interface for the Texas Instruments OPT3004 digital ambient light sensor. It supports I2C communication, continuous and single-shot measurement modes, automatic and manual full-scale range selection, configurable conversion time, threshold-based interrupts with latch mode, raw data access, and accurate lux conversion. Designed for beginner-friendly usage and production-ready applications on Arduino, ESP32, and ESP8266 platforms.

Downloads

Filename Release Date File Size
7Semi_OPT3004_Digital_Ambient_Light_Sensor_Arduino_Library-1.0.0.zip 2026-03-12 19.23 KiB