Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!
Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.
Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!
Technical limitations of Raspberry Pi to record analog bipolar signal with high sampling rate
December 6, 2020 12:49 AM
I am making use of Raspberry Pi to read analog bipolar signals (like AC current) at sampling rate of more than 1kHz (specifically between 1kHz-20kHz)
Till now what I have understood so far is that RPi is general purpose linux based microcontroller and not used to record time stamp signals at high sampling rate (i.e. sampling rate >= 1 KHz).
But what exactly are the technical limitations because of which we cant achieve sampling rate with more than 1 KHz.
With this, theoretically I should be able to read data with atleast 1KSps. But even that is tough to achieve in RPi.
So if someone could please explain what exactly are the technical drawbacks of the RPi (ex. the processor speed, clock speed, bus speed, data rate, allowable sampling rate), I would be very appreciative.
December 6, 2020 7:19 AM
When it comes to sampling, I assume the RPI can keep up with the range you suggest.
Think of it this way: it can record regular audio, probably even in stereo, without issue.
Seeing the frequency range you have in mind, you may even consider using a audio USB device.
And unlike my previous thought; the RPI should be able to keep up just fine.
See for example this article.
December 12, 2020 3:37 AM
I can only guess ... but a 1 KHz sampling rate should be easy to maintain by a Raspberry Pi (I assume).
Then again; maybe others use dedicated hardware to record (for example) audio (up to about 20.000Hz), and maybe that hardware caches by itself?
I'm afraid my experience with ADC's is somewhat limited.
Maybe this StackExchange post explains a few things or provides helpful info?