FYI the sensor does not use wire.h instead is uses I2C.h
I am trying to display range and velocity for this sensor. The range is being displayed currently in the arduino sketch enclosed, however I need help with displaying the velocity.
Some information I found is control register 4 bit 7 enables the velocity mode. Once enabled, initiate a measurement as usual and when it's completed the velocity can be read from register 9. I have gotten the range but the velocity is not working I am using the same register. I need someone with I2c experience that could help with the arduino script.
There are two registers that you would use, at least initially, for the velocity measurement; if you set bit 7 in control register 4 (0x04) to 1 that will turn on the velocity measurement setting. The velocity data will be stored in register 9 (0x09) and can be read out from there. Control register 104 (0x68) will give you additional control over the velocity settings and the distances used for the speed calculation will be found in registers 0x0f, 0x10 as well as 0x14, 0x15. The full descriptions of these registers are in the operating manual that is enclosed.
Since you do not have the hardware I will be testing your implementation to receive the final milestone.
4 freelancer bu iş için ortalamada 77$ teklif veriyor
Hello , i can help you with your projects , let me know when ever you are available to discuss further, please visit my profile at freelancer [url removed, login to view]