py-ads1256 icon indicating copy to clipboard operation
py-ads1256 copied to clipboard

Can't get SPS higher than 5000

Open thanhvu1990 opened this issue 7 years ago • 3 comments

Dear Mr. Fabiovix. I has tried your coding. Your code is great. however, i want to get a data sample rate about 7500 up. However, when I change the SPS value to 7500 or higher, the result is the same, and the output data is about 3000 sample/second. Could you please to help me to fix it. I'm using Raspberry 3 model B. Thank you in advance

thanhvu1990 avatar May 06 '17 16:05 thanhvu1990

Hi fabiovix, your code is amazing and the datalogger example is exactly what I was aiming for. As thanhvu1990, I am using a Pi 3 model B and had trouble to reach high SPS. I'd love to have 1000 SPS per channel, but I can't get more then ~330 SPS. Any idea you might have to fix this? Thanks!

VivBramb avatar Oct 30 '17 07:10 VivBramb

I wonder if using the rpi real-time kernel would help increase the sampling rate? You may also need to dedicate the rpi to only collect data at this high rate if all the other OS tasks prevent it from working at faster speeds.

matham avatar Feb 01 '18 18:02 matham

just can confirm, that 3000 SPS is the maximum i can reach, too. (which corresponds to around 375 SPS per channel when reading all channels) I am desperately trying to find a python Lib that at least can somehow get near to the 30 kSPS of the ADS1256. 8 kSPS would already be decent

WhatWheatleySaid avatar Jun 27 '19 23:06 WhatWheatleySaid