0

ItsyBitsy nRF52840 Express >100Hz sampling frequency
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

ItsyBitsy nRF52840 Express >100Hz sampling frequency

by sakinsiva on Tue Feb 23, 2021 3:43 am

Hi,

I am using the Adafruit ItsyBitsy nRF52840 Express module, which samples values from a hall sensor. I programmed it to sample it with 100Hz. When I check the Serial Monitor I can see that it does it correctly. Now I want to send these values through BLE connection to my computer. I use Matlab for reading these values. The sensor values are sent as 2 bytes values over the GATT profile. I can read the values with matlab using the notify-properties from my custom characteristics. But I realised that I only reach a sampling frequency of around 20Hz.

I wanted to ask how I could achieve a better sampling rate? I need atleast 100Hz.

Best regards,
Sakin

sakinsiva
 
Posts: 2
Joined: Mon Feb 22, 2021 9:47 am

Re: ItsyBitsy nRF52840 Express >100Hz sampling frequency

by mikeysklar on Tue Feb 23, 2021 7:59 pm

Are you using Arduino or CircuitPython on your ItsyBitsy nRF52?

We do have an example of the Feather nRF52 using CircuitPython and claiming 100Hz updates from a finger pulse oximeter. I didn't see any manual override settings in the code, but there might be something that stands out to you:

https://learn.adafruit.com/pulse-oximet ... ter-logger

mikeysklar
 
Posts: 4969
Joined: Mon Aug 01, 2016 8:10 pm

Please be positive and constructive with your questions and comments.