Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get SPS higher than 5000 #4

Open
thanhvu1990 opened this issue May 6, 2017 · 3 comments
Open

Can't get SPS higher than 5000 #4

thanhvu1990 opened this issue May 6, 2017 · 3 comments

Comments

@thanhvu1990
Copy link

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

@VivBramb
Copy link

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!

@matham
Copy link

matham commented Feb 1, 2018

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.

@WhatWheatleySaid
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants