Skip to content
VEML6075 UV sensor
Branch: master
Clone or download
caternuson Merge pull request #5 from tannewt/remove_stop
Remove stop kwarg and use write_then_readinto.
Latest commit c49ae90 Aug 23, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs pypi Sep 26, 2018
examples works? Sep 8, 2018
.gitignore cookie~ Sep 8, 2018
.pylintrc cookie~ Sep 8, 2018
.readthedocs.yml cookie~ Sep 8, 2018
.travis.yml only release on tags Sep 26, 2018 cookie~ Sep 8, 2018
LICENSE cookie~ Sep 8, 2018
README.rst change '' to '' Dec 21, 2018 Remove stop kwarg and use write_then_readinto. Aug 21, 2019
requirements.txt pypi Sep 26, 2018 pypi Sep 26, 2018



Documentation Status Discord Build Status

CircuitPython library to support VEML6075 UVA & UVB sensor.


This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.

Usage Example

import time
import board
import busio
import adafruit_veml6075

i2c = busio.I2C(board.SCL, board.SDA)

veml = adafruit_veml6075.VEML6075(i2c, integration_time=100)

while True:


Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Building locally

Zip release files

To build this library locally you'll need to install the circuitpython-build-tools package.

python3 -m venv .env
source .env/bin/activate
pip install circuitpython-build-tools

Once installed, make sure you are in the virtual environment:

source .env/bin/activate

Then run the build:

circuitpython-build-bundles --filename_prefix adafruit-circuitpython-veml6075 --library_location .

Sphinx documentation

Sphinx is used to build the documentation based on rST files and comments in the code. First, install dependencies (feel free to reuse the virtual environment from above):

python3 -m venv .env
source .env/bin/activate
pip install Sphinx sphinx-rtd-theme

Now, once you have the virtual environment activated:

cd docs
sphinx-build -E -W -b html . _build/html

This will output the documentation to docs/_build/html. Open the index.html in your browser to view them. It will also (due to -W) error out on any warning like Travis will. This is a good way to locally verify it will pass.

You can’t perform that action at this time.