Using Accelerometer on MangOH Red


#1

Hello:
We are trying to use the Accelerometer on the MangOH Red and are wondering about the sensor data output and format that MangOH Red can provide.

If someone has experience using this sensor on MangoOh Red, can you please provide some insights (and documentation) that lays out the sensor parameters that the Accelerometer (such as X,Y, Z axis displacement etc?) can provide and data format there of (floating point, or other).

Appreciate the help.


#2

You can see the RedSensorToCloud app for an example on accelerometer usage. It reports x, y, z readings in m/s2.


#3

Thanks ktanikel.

We are able to see the raw X, Y, Z accelerometer reading now. However, we are not sure what’s the sampling rate used by the accelerometer chip to sample these values.

Is there an API or an alternate mechanism to know/change the sampling frequency. I understand the chip support 1600Hz sampling frequency but not sure how to set it up.

Any help wold be appreciated.


#4

The bmi160 driver hooks into the iio subsystem of Linux and provides a more advanced way of reading the data than just reading one sample from one channel at a time. Exploring that interface some more is on my to-do list.


#5

@Bobby as @dfrey said we are investigating this feature. we think this feature is doable and will provide this integration in Q4.


#6

Thanks @dfrey and @asyal, for your feedback.

Ashish - I sent you an email this morning. Kindly review and let us know how do we move forward with the testing please.

Regards