|
1 |
| -SparkFun VEML7700 Arduino Library |
2 |
| -============================== |
| 1 | + |
3 | 2 |
|
4 |
| -[](https://www.sparkfun.com/products/18981) |
| 3 | +# SparkFun Ambient Light Sensor - VEML7700 Arduino Library |
5 | 4 |
|
6 |
| -[*SparkX Ambient Light Sensor - VEML7700 (Qwiic) (SPX-18981)*](https://www.sparkfun.com/products/18981) |
| 5 | +SparkFun Ambient Light Sensor - VEML7700 - AS7343 (QWIIC) |
7 | 6 |
|
8 |
| -The Vishay Semiconductors VEML7700 is a high accuracy ambient light sensor with 16-bit resolution in a miniature transparent package. It includes a high sensitive photo diode, a low noise amplifier, a 16-bit A/D converter and supports the I<sup>2</sup>C bus communication interface. |
9 |
| - |
10 |
| -This library handles the initialization and configuration of the sensor, and monitoring of the ambient light level. |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
11 | 13 |
|
12 |
| -## Repository Contents |
13 | 14 |
|
14 |
| -* **/examples** - Example sketches for the library (.ino). Run these from the Arduino IDE. |
15 |
| -* **/src** - Source files for the library (.cpp, .h). |
16 |
| -* **keywords.txt** - Keywords from this library that will be highlighted in the Arduino IDE. |
17 |
| -* **library.properties** - General library properties for the Arduino package manager. |
18 |
| -* **LICENSE.md** - Contains the license information. |
| 15 | +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. |
| 16 | + |
| 17 | +### Supported Products |
| 18 | +This library is intended for use with the following SparkFun Product - available at [www.sparkfun.com](https://www.sparkfun.com). |
| 19 | + |
| 20 | +| Product | Description| |
| 21 | +|--|--| |
| 22 | +|[SparkFun Ambient Light Sensor - VEML7700 (Qwiic)](https://www.sparkfun.com/sparkfun-ambient-light-sensor-veml7700-qwiic.html) | 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.| |
19 | 23 |
|
20 | 24 | ## Documentation
|
21 | 25 |
|
22 |
| -- **/docs** - HTML documentation generated with [Doxygen](https://www.doxygen.nl/index.html). Open [**GitHub Pages**](https://sparkfun.github.io/SparkFun_VEML7700_Arduino_Library/) to view the documentation. |
23 |
| -- **[Installing an Arduino Library Guide](https://learn.sparkfun.com/tutorials/installing-an-arduino-library)** - Basic information on how to install an Arduino library. |
| 26 | +|Reference | Description | |
| 27 | +|---|---| |
| 28 | +|[Library Documentation](https://docs.sparkfun.com/SparkFun_VEML7700_Arduino_Library/)| The full documentation and API for this Arduino library| |
| 29 | +|[SparkFun Ambient Light Sensor - VEML7700 (Qwiic)](https://github.com/sparkfun/SparkFun_Ambient_Light_Sensor-VEML7700)| Hardware GitHub Repository| |
| 30 | +|[Hook Up Guide - SparkFun Ambient Light Sensor - VEML7700 (Qwiic)](https://docs.sparkfun.com/SparkFun_Ambient_Light_Sensor-VEML7700/introduction/) | Hardware Overview and Quick Start for the Ambient Light Sensor - VEML7700| |
| 31 | +|[SparkFun Ambient Light Sensor - VEML7700 (Qwiic)](https://github.com/sparkfun/SparkFun_VEML7700_Arduino_Library)| Arduino Library - GitHub Repository| |
| 32 | +|[VEML7700 Datasheet](https://cdn.sparkfun.com/assets/a/2/b/a/4/VEML7700_Datasheet.pdf) | Datasheet for the VEML7700 IC| |
| 33 | +|[Installing an Arduino Library Guide](https://learn.sparkfun.com/tutorials/installing-an-arduino-library)| Basic information on how to install an Arduino library| |
24 | 34 |
|
25 |
| -## Products That Use This Library |
| 35 | +## Examples |
26 | 36 |
|
27 |
| -* [SPX-18976](https://www.sparkfun.com/products/18976) - smôl Environmental Peripheral Board |
28 |
| -* [SPX-18981](https://www.sparkfun.com/products/18981) - Ambient Light Sensor - VEML7700 (Qwiic) |
| 37 | +The following examples are provided with the library |
| 38 | + |
| 39 | +| Example | Description | |
| 40 | +|---|---| |
| 41 | +|[Read LUX Value](examples/Example1_getLux/Example1_getLux.ino)| Take basic readings from the sensor - read the currently detect LUX value.| |
| 42 | +|[Change Settings](examples/Example2_changeSettings/Example2_changeSettings.ino)| Change the operational settings of the sensor| |
| 43 | +|[Threshold Settings](examples/Example3_threshold/Example3_threshold.ino)| Set threshold values and check for threshold triggered interrupts.| |
| 44 | +|[Power Settomgs](examples/Example4_shutDown/Example4_shutDown.ino)| Shows how to shutdown and power up the sensor.| |
| 45 | +|[Production Test](examples/Example5_ProductionTest/Example5_ProductionTest.ino)| Test used during board production | |
29 | 46 |
|
30 |
| -## License Information |
31 | 47 |
|
32 |
| -This product is _**open source**_! |
33 | 48 |
|
34 |
| -Please use, reuse, and modify these files as you see fit. Please maintain attribution to SparkFun Electronics and release anything derivative under the same license. |
35 | 49 |
|
36 |
| -Distributed as-is; no warranty is given. |
| 50 | +## License Information |
| 51 | + |
| 52 | +This product is ***open source***! |
| 53 | + |
| 54 | +This product is licensed using the [MIT Open Source License](https://opensource.org/license/mit). |
37 | 55 |
|
38 |
| -- Your friends at SparkFun. |
|
0 commit comments