Python APDS-9960 Library
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
apds9960
micropython
rpi
.gitignore
ChangeLog
LICENSE
MANIFEST.in
README.md
RPi.md
setup.cfg
setup.py

README.md

Python (and MicroPython) APDS-9960 Library

Python library for the APDS-9960 gesture sensor developed while I was looking to get the APDS-9960 to work with a Raspberry Pi to build a user interface feeling like in Minority Report.

This library is a port of the APDS-9960 Raspberry Pi Library of Justin Woodman. Sadly his library is coded in C++ and seems not to be maintained any more.

This library has been tested with SparkFun RGB and Gesture Sensor - APDS-9960 but should work with any other APDS-9960 based I²C device, too.

Installation

This library is available from PyPi. You may want to setup a virtualenv before installing the library using:

pip install apds9960

Features of the APDS-9960

  • operational voltage: 3.3V
  • ambient light & RGB color sensing
  • proximity sensing
  • gesture detection
  • operating range: 10 - 20cm
  • I²C interface (hard wired I²C address: 0x39)

Documentation & Examples