python-apds9960

Python APDS-9960 Library

GPL-3.0 License

Downloads
41
Stars
76
Committers
6

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

Package Rankings
Top 14.31% on Alpine-edge
Top 10.07% on Alpine-v3.18
Top 15.93% on Alpine-v3.17
Top 12.64% on Pypi.org
Top 14.5% on Alpine-v3.16