Puck.js v2 Accelerometer/Gyroscope (LSM6DS3TR-C) #3534
Replies: 3 comments
-
Posted at 2020-08-07 by @gfwilliams Hi, The values reported there are actually the raw values off the chip. Honestly, they should really have been scaled already, but now the Puck.js v2 is out there it's going to hard to change it without it being really confusing.
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-11-02 by BrianH Hi Gordon, If I divide the raw gyroscope values by the numbers you mentioned above, will that give me the scaled output in degrees per second? Or is it radians per second, maybe? Also, is there a way to change the full-scale sensitivity setting for the accel or gyro programmatically? The default setting sensitivity setting is too high for my project as I'm working with slightly higher RPMs. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-11-03 by @gfwilliams I believe the gyro full range is 245 degrees per second, so yes, if you divide by 134 you should get degrees per second values. And yes, you can reconfigure it. This is the reference for the chip: http://www.espruino.com/files/LSM6DS3TR-C.pdf and You can use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2020-08-06 by user116256
Hello everyone,
I'm trying to work with the accelerometer/gyroscope in the puck.js v2.
I wrote a small script to transmitt accelerometer data over bluetooth as follows:
However, the sensor measurements that I get seems to be too high. For example:
From my understanding, the accelerometer default is ±2g and the gyroscope default is ±125 dps.
Is this correct? or why are the values too high?
Beta Was this translation helpful? Give feedback.
All reactions