APDS-9960 RGB and Gesture Sensor Hookup Guide
Resources and Going Further
Now that you have seen the gesture recognition capabilities of the APDS-9960, you can begin to use it in your project! Keep in mind that the APDS-9960 is also capable of sensing object proximity and ambient/color light. Try out the other examples in the SFE_APDS9960 library to see what the sensor can do:
- AmbientLightInterrupt -- This example shows how you can generate an Arduino interrupt whenever the ambient light falls below a given level. You can also change it to throw an interrupt when the light rises above a certain level.
- ColorSensor -- This demo shows how to read ambient, red, green, and blue light values from the APDS-9960.
- GestureTest -- We used this example in this hookup guide. It shows how to read basic gestures with the APDS-9960.
- ProximityInterrupt -- The APDS-9960 can be used to detect when objects move within range of its sensor. This example shows how to throw an interrupt whenever an object moves within a certain range of the sensor. You can also change the limits to generate an interrupt whenever an object moves outside of a certain range.
- ProximitySensor -- You do not need to use interrupts with the proximity sensor. In this demo, we show you how to poll the sensor for proximity data at regular intervals. Try running this example and moving your hand close to the sensor.
Here are some additional resources to help you with the APDS-9960:
- APDS-9960 Datasheet
- APDS-9960 Breakout Board Schematic
- APDS-9960 RGB and Gesture Sensor GitHub Repository
What will you make with the APDS-9960? If you need some inspiration, check out these related tutorials: