brainexe / node-metawear

nodejs library for MetaWear devices
28 stars 12 forks source link

Unable to get accel data with less than 7 Hz #36

Closed ibaseta220 closed 7 years ago

ibaseta220 commented 7 years ago

Whenever a configure the sampling rate under 7 Hz, the device just stops and doesn't retrieve data.

Edit: I have a MetaWerar C, connected with a Raspberry Pi.

alanhortz commented 7 years ago

Hi @ibaseta220 ,

The BMI160 Bosh sensor does not support a sampling under 7Hz. In fact when you supply 7Hz, the finds the closest value which is 0.78125.

To know the exact OUTPUT_DATA_RATE please check this and if you want to know more about the sensor, this is the sensor datasheet

Regards,

Alan