APDS9960 Gesture Sensing with ESP8266

APDS-9960A thought for a little display project. I recently came across some code for an LCD display (160*240 - detailed in a previous blog) using the ESP12 and an LCD display. But I'm inclined to use the Nextion display (also detailed in a previous blog) because it is touch sensitive. The only problem with that is that the Nextion is somewhat more expensive and larger.

One of my pals brought this chip to my attention – the APDS9960 Digital Proximity, Ambient Light, RGB and Gesture Sensor.

It is i2c and not only reports back RGB and general light levels but also has it's own IR transmitter and logic inside to decode simple up, down, left and right gestures. So here are my thoughts - for example for a simple thermostat. Put next to the display it would offer simple up/down control of temperature as well as left/right perhaps to show a graph.

For more complex operation, one could make some kind of convoluted movement which would then trigger off a menu - with left/right selection and up/down change.

Worthy of further thought and has anyone already implemented the i2c code (Arduino ESP8266 C for example) to talk to this device?

Facebooktwittergoogle_pluspinterestlinkedin

3 thoughts on “APDS9960 Gesture Sensing with ESP8266

  1. Nice to see this gem also caught your attention. I ordered one two weeks ago, should be arriving somewhere in the next weeks (from China). I've spotted it first on this hackaday project: https://hackaday.io/project/3321-squirco-smart-home-system-sensor-network . In this project it is uses with an Atmega256, so it should work with an ESP as well I hope.
    Sparkfun shows a nice demo, it's even possible to use a third axis (i.e. accept / cancel setting) by 'pushing / pulling' to or from the sensor (see Sparkfun video): https://www.sparkfun.com/products/12787
    They also offer an Arduino library, shouldn't be a problem to use with an ESP as the latter one is much more powerful.

Leave a Reply

Your email address will not be published. Required fields are marked *