Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5051

General discussion • Re: How to analyze if the output of adc is right or wrong

$
0
0
Another question: Is it possible to achieve a real time application with python and raspberry pi os?
Highly unlikely with pure Python in my opinion. Python is non-deterministic to start with and can do its garbage collection at inopportune times, taking a variable and unknown time to do that.

500 Hz, with a period of 2 ms, isn't excessively onerous, but, if it's a sine wave and you want to sample within that, the inter-sampling period will be much reduced. A 500 Hz sine wave with 100 samples per wave requires one sample every 20 us.

Statistics: Posted by hippy — Fri Jul 26, 2024 9:58 am



Viewing all articles
Browse latest Browse all 5051

Trending Articles