I’d like to get information of APDS9960 by a m3pi robot. The module and the library of APDS is the followings.
MODULE: APDS−9960使用光学式ジェスチャーセンサモジュールキット: 組立キット(モジュール) 秋月電子通商-電子部品・ネット通販
LIBRARY: APDS9960 GestureSensor - APDS9960 gesture sensor library for use with mbed… | Mbed
However, m3pi didn’t read the code and only ran the default proglam.
I tried to connect m3pi and APDS as follows:
(1)
vout(mbed)↔︎vdd(apds)
gnd(mbed)↔︎gnd(apds)
p28(mbed)↔︎scd(apds)
p27(mbed)↔︎scl(apds)
(2)
vcc(m3pi)↔︎vdd(apds)
gnd(mbed)↔︎gnd(apds)
p28(mbed)↔︎scd(apds)
p27(mbed)↔︎scl(apds)
Hello,
You post this to wrong section it has nothing to do with MbedTLS.
I see here only one difference here and it is power source, if both are connected same GND does no matter what power supply is used.
And did you modified the default program to work this library?
BR, Jan
Hello,
Thank you for your advice.
It is very helpful for me.
However, I have solved this problem by connecting the sensor’s VDD and LED pins.
Best.