The APDS-9960 theory of operation

The APDS-9960 has four directional photodiodes, which are used to detect the reflected infrared light that is generated by integrated IR LEDs. The reflected light can be used to sense motion, such as distance, direction, and even velocity. The APDS-9960 is broken up into several different states that provide capabilities, such as proximity detection, a gesture engine, and color detection. The features that are most relevant to a gesture controller are the proximity and gesture states, which can be used to first sense a hand and then provide relevant data to determine which gesture motion was given to the system.

The most important state included in the APDS-9960 is the gesture engine. The gesture engine is ...

Get MicroPython Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.