This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Changing gyro range for Puck-js sensor
I have measured angular velocities of a Puck-js sensor spinning on a wheel.

I encountered a similar challenge that I did for measurements with a TI SensorTag: the default range for the device is too low. Dominik clarified that the SensorTag's firmware makes it difficult to change the gyro ranges.

But the Puck-js uses a LSM6DS3TR-C. The spec sheet for that device says explicitly that it has an adjustable angular rate change:

Quote:The LSM6DS3TR-C has a full-scale acceleration range of ±2/±4/±8/±16 g and
an angular rate range of ±125/±250/±500/±1000/±2000 dps.

On page 22 of the spec sheet, it mentions a self-test mode:
Quote:Angular rate self-test output change(14)(15)

And on page 62 of the spec sheet it describes the registers for control of the angular rate change:
Quote:9.14 CTRL2_G (11h)
Angular rate sensor control register 2 (r/w).
Table 53. CTRL2_G register
Table 54. CTRL2_G register description ODR_G3 ODR_G2 ODR_G1 ODR_G0 FS_G1 FS_G0 FS_125 0(1) 1. This bit must be set to ‘0’ for the correct operation of the device. ODR_G [3:0] Gyroscope output data rate selection. Default value: 0000 (Refer to Table 55) FS_G [1:0] Gyroscope full-scale selection. Default value: 00 (00: 245 dps; 01: 500 dps; 10: 1000 dps; 11: 2000 dps)

On the Phyphox page describing Puck-js sensing ( you invite requests for assistance. Could someone help to identify the i2c device and register numbers for writing to and reading from the Puck-js sensor so that I have the full 2000 dps range for the gyroscope?

Thank you!

Messages In This Thread
Changing gyro range for Puck-js sensor - by scspaeth - 06-03-2023, 06:44 PM

Forum Jump: