SparkFun_AS726X_Arduino_Library (community library)

Summary

Name Value
Name SparkFun_AS726X_Arduino_Library
Version 1.0.4
Installs
Author Andrew England
Maintainer SparkFun Electronics <sparkfun.com>
URL https://github.com/sparkfun/SparkFun_AS726X_Arduino_Library
Repository https://github.com/sparkfun/SparkFun_AS726X_Arduino_Library
Download .tar.gz

A library to drive the AMS AS726X NIR/VIS Spectrum Sensor The SparkFun AS726X Visible Spectral Sensor Breakout brings spectroscopy to the palm of your hand, making it easier than ever to measure and characterize how different materials absorb and reflect different wavelengths of light. The AS726X Breakout is unique in its ability to communicate by both an I2C interface and serial interface using AT commands. Hookup is easy, thanks to the Qwiic connectors attached to the board --- simply plug one end of the Qwiic cable into the breakout and the other into one of the Qwiic Shields, then stack the board on a development board. You’ll be ready to upload a sketch to start taking spectroscopy measurements in no time.

Example Build Testing

Device OS Version:

This table is generated from an automated build. Success only indicates that the code compiled successfully.

Library Read Me

This content is provided by the library maintainer and has not been validated or approved.

SparkFun AS726X Arduino Library

This is an Arduino IDE library to control the AS726X Spectral Sensor, which can be configured via I2C or SPI. The AS7262 version detects wavelengths in the visible range while the AS7263 version detects wavelengths just below the visible range, in the Near Infrared (NIR) range.

Repository Contents

  • /examples - Example sketches for the library (.ino). Run these from the Arduino IDE.
  • /extras - Additional documentation for the user. These files are ignored by the IDE.
  • /src - Source files for the library (.cpp, .h).
  • keywords.txt - Keywords from this library that will be highlighted in the Arduino IDE.
  • library.properties - General library properties for the Arduino package manager.

Documentation

Product Versions

  • 14347- AS7262 Visible Spectral Sensor
  • 14351- AS7263 Near Infrared Spectral Sensor

Version History

  • V1.0.0 - Initial Release
  • V1.0.1 - Updating printUncalibratedMeasurements()

License Information

This product is open source!

Please review the LICENSE.md file for license information.

If you have any questions or concerns on licensing, please contact technical support on our SparkFun forums.

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.

Browse Library Files