Problem with sampling frequency - MMS

I use MMS sensors in streaming mode by acquiring accelerometers, gyroscopes and a signal on an analogue port. The sampling rates I set through my python code are 100 Hz for the accelerometers and gyroscopes and 20 Hz for the analogue signal. I save my data in a .CSV file also saving the timestamp to get the time. However when I go to graph my data I see that the sampling rate is not constant but varies a lot even though the average is 100 Hz. I'm afraid I'm saving the timestamp wrong, is there a way to save the right time? Or is the sampling frequency wrong?



  • Hey @giovanni_dq , that's beyond the bluetooth spec, BLE5 only allows 100HZ TOTAL.
    So you could do acc 80Hz + gyroscope 20Hz for example.

Sign In or Register to comment.