Skip to main content

Python APDS-9960 Library

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apds9960-0.3.0.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apds9960-0.3.0-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file apds9960-0.3.0.tar.gz.

File metadata

  • Download URL: apds9960-0.3.0.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for apds9960-0.3.0.tar.gz
Algorithm Hash digest
SHA256 110a7cd101a0f09333f031710b3d4a3a9dd1b3511154041b57a7cfdaf1dbac57
MD5 dcf365861299b88acdab9da6a9948b74
BLAKE2b-256 99df0d41975f34cc49361c246d5b22e0c97a1380b8e61b0d788bdf2ea5ed1d7e

See more details on using hashes here.

File details

Details for the file apds9960-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: apds9960-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 22.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for apds9960-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d825b700f1d2488b6624a55b4d5398f0d11587a9b9a277c4721b8e2056788bc
MD5 b9a0dd46a2fc610b262ffe4c8ffe3f2d
BLAKE2b-256 13c284d2e0a117a504b538e82a45cdaa8b3f5bff466a2dd3f17c9caa0736d5a1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page