This breakout has quite a few sensors!
- Gesture sensing,
- RGB colour sensing,
- Proximity sensing,
- Ambient light sensing
When connected to your microcontroller it can detect simple gestures (left to right, right to left, up to down, down to up are currently supported), return the amount of red, blue, green, and clear light, or return how close an object is to the front of the sensor. This device uses an I2C interface so it's easy to wire up and use.
Infrared gesture sensor module features:
- Model: GY-APDS9960-3.3
- Using the chip: APDS-9960
- Power supply: 3.3v
- Communication: IIC communication protocol
- Size: 20mm * 15.3mm
- Description: This is a small breakout board with a built-in APDS-9960 sensor that offers ambient light and colour measuring, proximity detection, and touchless gesture sensing. With this RGB and Gesture Sensor you will be able to control a computer, microcontroller, robot, and more with a simple swipe of your hand! This is, in fact, the same sensor that the Samsung Galaxy S5 uses and is probably one of the best gesture sensors on the market for the price.
- The APDS-9960 is a serious little piece of hardware with built-in UV and IR blocking filters, four separate diodes sensitive to different directions, and an I2C compatible interface. For your convenience, the following pins have been broken out: VL (optional power to IR LED), GND (Ground), VCC (power to APDS-9960 sensor), SDA (I2C data), SCL (I2C clock), and INT (interrupt). Each APDS-9960 also has a detection range of 4 to 8 inches (10 to 20 cm).
Colour sensing - Arduino library and code examples for the gesture sensor APDS9960: https://github.com/adafruit/Adafruit_TCS34725
or this one, gesture sensing from Spark fun: https://github.com/sparkfun/SparkFun_APDS-9960_Sensor_Arduino_Library/