arduino / nicla-sense-me-fw

Arduino Nicla Sense ME resources (libraries, bootloader, host pc utilities)
GNU Affero General Public License v3.0
46 stars 27 forks source link

Data frequency drops by half when transmitted over BLE. #103

Open hkayann opened 1 year ago

hkayann commented 1 year ago

Hi,

I am transmitting data over BLE from Nicla to my Pi. I have observed that the data frequency drops by half (from 20Hz to 10Hz)after some time as seen below. bleFreqDrop

I have tried 3 times, happened every time. What might be the reason?

aliphys commented 1 year ago

Hello @hkayann 👋 Can you share the minimal code/setup that replicates your issue?

hkayann commented 1 year ago

Hi @aliphys,

I am using the following example:

https://github.com/hkayann/node-red-contrib-ble-sense/blob/main/examples/niclaBLEIMUStruct/niclaBLEIMUStruct.ino

I think this might be related that magnetometer freq. being fixed to 10Hz somehow. I confirmed that no environmental issues present.