Has anyone tried using the APDS-9960 gesture sensor modules ?

Post here first, or if you can't find a relevant section!
Post Reply
User avatar
RogerClark
Posts: 7556
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Has anyone tried using the APDS-9960 gesture sensor modules ?

Post by RogerClark » Mon Dec 04, 2017 6:37 am

I came across these today

https://www.ebay.com.au/itm/GY-9960LLC- ... 2389420885

and wondered if anyone had used them ?

Sparkfun have a datasheet

https://cdn.sparkfun.com/datasheets/Sen ... ds9960.pdf

Which seems to suggest they can measure distance , as well as colour.

At $3 they seem cheaper than Time of Flight distance sensors, and I suspect they use time of flight even though I cant see it called that in the datasheet

User avatar
zoomx
Posts: 553
Joined: Mon Apr 27, 2015 2:28 pm
Location: Mt.Etna, Italy

Re: Has anyone tried using the APDS-9960 gesture sensor modules ?

Post by zoomx » Mon Dec 04, 2017 9:23 am

Never used.

Comparing the datasheet to the VL53L0x one
http://www.st.com/content/ccc/resource/ ... 279086.pdf
it seems they works in different way.
APDS-9960 uses an IR LED and a series of light sensors.
VL53L0x uses a very low power ir laser and a sort of photomultiplier (a Single-photon avalanche diode) to detect the small light reflected.
Maybe APDS-9960 hardware can be used to calculate a TimeOfFlight but the circuit or the little firmware inside, if there is one, is not capable of that. Maybe because the IR LED is not able to turn on and off in very short time or can't be modulated. Maybe I am wrong.
Datasheet says
Proximity Operation
The Proximity detection feature provides distance measurement by photodiode detection of reflected IR energy sourced by the integrated LED. The following registers and control bits govern proximity operation and the operational flow is depicted in Figure 8
but it seems that you can only detect that an object is in view and if this object is closer or farther using the light values.
In Figure 13a you can see that the distance depends on reflectivity.

User avatar
RogerClark
Posts: 7556
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Has anyone tried using the APDS-9960 gesture sensor modules ?

Post by RogerClark » Mon Dec 04, 2017 9:50 am

I agree it doesnt say how it works

In this video it seems to show it somehow gives a distance, but its probably not a calibrated value,
https://youtu.be/M8grYX_JHPM?t=60


The Time Of Flight sensors, have very similar disclaimers about the reflectivity of the object making a difference to the range of the device.
Which as what made me think potentially its using the same technology, but it could just be using the intensity of the reflected light

But as they are half the price of the Time Of Flight devices, they may be useful for some application.

User avatar
zoomx
Posts: 553
Joined: Mon Apr 27, 2015 2:28 pm
Location: Mt.Etna, Italy

Re: Has anyone tried using the APDS-9960 gesture sensor modules ?

Post by zoomx » Tue Dec 05, 2017 11:01 am

Today on... hackaday I read this post
Gesture Control for Lunch Money
https://hackaday.com/2017/12/03/gesture ... nch-money/
that talk about this project
https://www.instructables.com/id/Nevma- ... he-Masses/
where an APDS-9960 is used, mounted on a particular Arduino Micro (the one with ATMega32U4 like a Leonardo board)
Image
He translates some simple gestures in mouse movement.
The code works on all ATMega32U4 boards, I believe.

User avatar
RogerClark
Posts: 7556
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Has anyone tried using the APDS-9960 gesture sensor modules ?

Post by RogerClark » Tue Dec 05, 2017 11:13 am

I have seen it on Hackaday

Today, I ordered 3 modules from China, but they will not arrive for several weeks

User avatar
zoomx
Posts: 553
Joined: Mon Apr 27, 2015 2:28 pm
Location: Mt.Etna, Italy

Re: Has anyone tried using the APDS-9960 gesture sensor modules ?

Post by zoomx » Tue Dec 05, 2017 12:10 pm

Got only one.

Post Reply