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
- RPi - connect and configure the APDS-9960 on Raspberry Pi
- Example scripts:
- simple ambient light level demo: rpi, micropython
- simple gesture detection demo: rpi, micropython
- simple proximity level demo: rpi, micropython
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
110a7cd101a0f09333f031710b3d4a3a9dd1b3511154041b57a7cfdaf1dbac57
|
|
| MD5 |
dcf365861299b88acdab9da6a9948b74
|
|
| BLAKE2b-256 |
99df0d41975f34cc49361c246d5b22e0c97a1380b8e61b0d788bdf2ea5ed1d7e
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d825b700f1d2488b6624a55b4d5398f0d11587a9b9a277c4721b8e2056788bc
|
|
| MD5 |
b9a0dd46a2fc610b262ffe4c8ffe3f2d
|
|
| BLAKE2b-256 |
13c284d2e0a117a504b538e82a45cdaa8b3f5bff466a2dd3f17c9caa0736d5a1
|