Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.58 KB

README.md

File metadata and controls

31 lines (22 loc) · 1.58 KB

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