Skip to content

Setting Sampling Speed Innacuracy #33

@ameyavelankar

Description

@ameyavelankar

I am attempting to use the Waveshare board on a Raspberry Pi2B+ running Bullseye. While the voltage values being read are accurate, I am having trouble setting the sample rate that I want (600 SPS). To demonstrate this, I use the code below which I based on the examples provided.

spsTesttxt.txt

When I type in a DRate of 500+, I actually get ~60 SPS. With 100, I get ~22. With 30, I get ~7.

Do you have any idea what I am doing wrong? Looking through the other issues, I recognize that maybe 600 SPS is not possible with Python, but shouldn't I at least be able to get up to 100?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions