Initial wiki page.

Rene 'Renne' Bartsch 2018-07-12 18:28:12 +02:00
parent 214623362f
commit 0a833ec6ea
1 changed files with 55 additions and 0 deletions

55
APDS-9960.md Normal file

@ -0,0 +1,55 @@
# Broadcom Avago APDS-9960 Ambient Light and RGB Color Sensing, Proximity Sensing and Gesture Detection Sensor
* Ambient Light and RGB Color Sensing
* UV and IR blocking filters
* Programmable gain and integration time
* Very high sensitivity Ideally suited for operation
behind dark glass
* Proximity Sensing
* Trimmed to provide consistent reading
* Ambient light rejection
* Offset compensation
* Programmable driver for IR LED current
* Saturation indicator bit
* Complex Gesture Sensing
* Four separate diodes sensitive to different directions
* Ambient light rejection
* Offset compensation
* Programmable driver for IR LED current
* 32 dataset storage FIFO
* Interrupt driven I2C communication
* I2C-bus Fast Mode Compatible Interface
* Data Rates up to 400 kHz
* Dedicated Interrupt Pin
* Small Package L 3.94 × W 2.36 × H 1.35 mm
* Break-out PCBs
* ~ 2,- € at [AliExpress](https://www.aliexpress.com/wholesale?catId=0&initiative_id=&SearchText=apds-9960)
* ~ 8,- $ at [Adafruit](https://www.adafruit.com/product/3595)
## Technical Data from the manufacturer
* [APDS-9960 Datasheet](https://docs.broadcom.com/docs/AV02-4191EN)
## Wiring breakout boards
| Breakout | ESP8266 |
|----------|-----------|
| VCC/VIN | +3.3VDC |
| GND | GND |
| SCL | GPIO SCL |
| SDA | GPIO SDA |
| INT/IRQ | NC |
### Tasmota configuration
Compile Tasmota with `#define USE_APDS9960` uncommented in `user_config.h`
The driver will detect the APDS-9960 automatically.
The APDS-9960 chip (or breakout board) must be connected to the ESP8266 and the I2C GPIO pins must be configured:
![I2C GPIO configuration](https://raw.githubusercontent.com/arendst/arendst.github.io/master/media/wemos/wemos_sht30_config_marked.jpg)
## Generally available types of breakout boards
![APDS-9960](https://ae01.alicdn.com/kf/HTB19_5yc6gy_uJjSZLeq6yPlFXad/APDS-9960-APDS9960.jpg_640x640.jpg)
![Adafruit APDS9960 Proximity, Light, RGB, and Gesture Sensor](https://cdn-learn.adafruit.com/assets/assets/000/046/169/medium800/light_apds.jpg?1504716001)
![GY-9960-LLC](https://ae01.alicdn.com/kf/HTB1kp4EpL9TBuNjy1zbxh4pepXaO/3Pcs-GY-9960-LLC-APDS-9960-RGB-Gesture-Sensor-Module-Board.jpeg_640x640.jpeg)
![](https://ae01.alicdn.com/kf/HTB10vNSlhSYBuNjSsphq6zGvVXa9/RGB-Proximity-Sensor-Detection-Direction-Gesture-APDS9960-APDS-9960-Non-Contact-Module.jpg_640x640.jpg)
![](https://ae01.alicdn.com/kf/HTB16R.JeUl7MKJjSZFDq6yOEpXah/APDS-9960-RGB-Ambient-Light-Short-range-Gesture-Module-Color-Module-Light-Module.jpg)