Skip to content

sparkfun/SparkFun_VEML7700_Arduino_Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SparkFun Ambient Light Sensor - VEML7700 Arduino Library

SparkFun Ambient Light Sensor - VEML7700 Arduino Library

SparkFun Ambient Light Sensor - VEML7700 (QWIIC)

License Release Release Date Documentation - build Compile - Test GitHub issues

This library provides full access to the functions of the VEML7700 Ambient Light Sensor through an I2C connection using the SparkFun Qwiic connectors and cables.

Note

Version 2.0 and above of this library is not completely backward compatable with the original version 1.0 SparkX version.

Most operations will work, but the data types for shutdown and methods used interrupts has changed to simplify the API. See the online documentation and examples for further information.

Supported Products

This library is intended for use with the following SparkFun Product - available at www.sparkfun.com.

Product Description
SparkFun Ambient Light Sensor - VEML7700 (Qwiic) The SparkFun Qwiic VEML7700 Ambient Light Sensor provides accurate, 16-bit ambient light readings from 0 to 167,000 lux via the I2C interface. This miniature sensor (6.8mm x 3.0mm x 2.5mm) features a high-sensitivity photodiode, a low-noise amplifier, and a 16-bit analog-to-digital (A/D) converter. Its unshifted 7-bit I2C address is 0x10.

Documentation

Reference Description
Library Documentation The full documentation and API for this Arduino library
SparkFun Ambient Light Sensor - VEML7700 (Qwiic) Hardware GitHub Repository
Hook Up Guide - SparkFun Ambient Light Sensor - VEML7700 (Qwiic) Hardware Overview and Quick Start for the Ambient Light Sensor - VEML7700
SparkFun Ambient Light Sensor - VEML7700 (Qwiic) Arduino Library - GitHub Repository
VEML7700 Datasheet Datasheet for the VEML7700 IC
Installing an Arduino Library Guide Basic information on how to install an Arduino library

Examples

The following examples are provided with the library

Example Description
Read LUX Value Take basic readings from the sensor - read the currently detect LUX value.
Change Settings Change the operational settings of the sensor
Threshold Settings Set threshold values and check for threshold triggered interrupts.
Power Settomgs Shows how to shutdown and power up the sensor.
Production Test Test used during board production

License Information

This product is open source!

This product is licensed using the MIT Open Source License.