-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IR Pulse width #8
Comments
Just a comment for those searching, Changing the pulse width will affect the power required for the gesture sensor. If the frequency is set to be higher and the amount of pulses is kept the same the effective time the internal LED is ON will decrease. This will decrease the power required by the sensor as stated in Table 5, page 16 of the data sheet mentioned. I'm not sure how it will affect the accuracy of the gestures. Increasing the frequency of the pulses can induce harmonics which could affect the sensor even more so a real life test is needed. |
Hiya - i think this is a documentation issue not a code issue? Could you suggest some recommended text we could add somewhere? |
Hello Ladyada |
I'm making a smart node that integrates display, BME280 (temperature/humidity/preassure), TSOP 32238 (38kHz IR sensor) and the apds9960.
When i activate the geasure recognition or proximity sensor using
the APDS sensor starts to send IR pulses. I don't know the exact frequency of the IR pulses but the TSOP 32238 is picking them up.
I found in this datasheet that the pusles should be 62.5 kHz which is well above the range of the TSOP.
In the datasheet there is mentioned that you can influence the signal frequency and in code of this library there is
and
So if i understand correctly the pulse width of 32US is arround 31kHz.
I will change the value manually in the lib and test later today if the signals collide and if it affects the signal of the IR sensor and let you know.
But could you add a possiblity to change the frequency to APDS9960_GPULSE_4US (250kHz) or a different value when calling begin?
The text was updated successfully, but these errors were encountered: