Updated APDS 9960 (markdown)

Michael Ingraham 2019-06-14 14:51:30 -04:00
parent 210b5df02d
commit 67f3d1560a
1 changed files with 8 additions and 8 deletions

@ -16,16 +16,16 @@ behind dark glass
* Offset compensation * Offset compensation
* Programmable driver for IR LED current * Programmable driver for IR LED current
* 32 dataset storage FIFO * 32 dataset storage FIFO
* Interrupt driven I2C communication * Interrupt driven I<sup>2</sup>C communication
* I2C-bus Fast Mode Compatible Interface * I<sup>2</sup>C-bus Fast Mode Compatible Interface
* Data Rates up to 400 kHz * Data Rates up to 400 kHz
* Dedicated Interrupt Pin * Dedicated Interrupt Pin
* Small Package L 3.94 × W 2.36 × H 1.35 mm * Small Package L 3.94 × W 2.36 × H 1.35 mm
* Break-out PCBs * Break-out PCBs
* ~ 2,- € at [AliExpress](https://www.aliexpress.com/wholesale?catId=0&initiative_id=&SearchText=apds-9960) * ~ 2€ at [AliExpress](https://www.aliexpress.com/wholesale?catId=0&initiative_id=&SearchText=apds-9960)
* ~ 8,- $ at [Adafruit](https://www.adafruit.com/product/3595) * ~ $8 at [Adafruit](https://www.adafruit.com/product/3595)
## Technical Data from the manufacturer ## Technical Data from the manufacturer
* [APDS-9960 Datasheet](https://docs.broadcom.com/docs/AV02-4191EN) * [APDS-9960 Datasheet](https://docs.broadcom.com/docs/AV02-4191EN)
@ -35,17 +35,17 @@ behind dark glass
|----------|-----------| |----------|-----------|
| VCC/VIN | +3.3VDC | | VCC/VIN | +3.3VDC |
| GND | GND | | GND | GND |
| SCL | GPIO SCL | | SCL | GPIO I<sup>2</sup>C SCL |
| SDA | GPIO SDA | | SDA | GPIO I<sup>2</sup>C SDA |
| INT/IRQ | NC | | INT/IRQ | NC |
### Tasmota configuration ### Tasmota configuration
Compile Tasmota with `#define USE_APDS9960` uncommented in `user_config.h` Compile Tasmota with `#define USE_APDS9960` uncommented in `user_config.h`
The driver will detect the APDS-9960 automatically. 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: The APDS-9960 chip (or breakout board) must be connected to the ESP8266 and the I<sup>2</sup>C GPIO pins must be configured:
![I2C GPIO configuration](https://raw.githubusercontent.com/arendst/arendst.github.io/master/media/wemos/wemos_sht30_config_marked.jpg) ![I<sup>2</sup>C GPIO configuration](https://raw.githubusercontent.com/arendst/arendst.github.io/master/media/wemos/wemos_sht30_config_marked.jpg)
### MQTT commands ### MQTT commands
| Command | Value | Description | | Command | Value | Description |