Vizier87
Active Member
Hi guys.
I have an application I'm interested to explore with basic microcontrollers and perhaps a high-speed ADC but I'm unsure if my thought process is correct.
Let's say there's a short burst of signal (0-5V) I want to capture, all occurring within 25-30 milliseconds. And the whole window including the baseline signal is 100 milliseconds. I need the full signal, not a part of it, which means I'll need to see the "zero" baseline before actually getting the signal's form.
I'd like at least 2000 data points with the captured signal, which means its 20k samples per second (including the baselines before and after the burst).
Here are the steps that I'm thinking:
1. Set up ADC in the uC.
2. Save the upcoming ADC data in a "stream" style in the RAM. Meaning that actively saving the data for say, 2000 points which represent 100 milliseconds.
3. IF an ADC output exceed a certain value, let's say 1.5V, then the data recording is triggered. This might occur at a third of the 2000-data-point window, so the remaining two-thirds are heaped up to the data pile before saving it as a .txt file in an SD card, perhaps.
Does this sound okay?
Cheers!
Vizier87
I have an application I'm interested to explore with basic microcontrollers and perhaps a high-speed ADC but I'm unsure if my thought process is correct.
Let's say there's a short burst of signal (0-5V) I want to capture, all occurring within 25-30 milliseconds. And the whole window including the baseline signal is 100 milliseconds. I need the full signal, not a part of it, which means I'll need to see the "zero" baseline before actually getting the signal's form.
I'd like at least 2000 data points with the captured signal, which means its 20k samples per second (including the baselines before and after the burst).
Here are the steps that I'm thinking:
1. Set up ADC in the uC.
2. Save the upcoming ADC data in a "stream" style in the RAM. Meaning that actively saving the data for say, 2000 points which represent 100 milliseconds.
3. IF an ADC output exceed a certain value, let's say 1.5V, then the data recording is triggered. This might occur at a third of the 2000-data-point window, so the remaining two-thirds are heaped up to the data pile before saving it as a .txt file in an SD card, perhaps.
Does this sound okay?
Cheers!
Vizier87