:eek: I've really been turning over the wrong stones. Thank you MarkT. This is exactly what I needed, just didn't know it.
@mborgerson, maybe I should first put some time into this before you...
Type: Posts; User: Maximiljan
:eek: I've really been turning over the wrong stones. Thank you MarkT. This is exactly what I needed, just didn't know it.
@mborgerson, maybe I should first put some time into this before you...
Hello mborgerson, thanks that would be amazing (in the meantime I will start looking into this myself, I was not aware that I could use an amplifier to get a single output...yes my electronics noob...
Thanks Luni and Jonr, I like the differential idea ADC but couldn't get the T3.6 to run at nearly the speed I needed, hence the move to the T4 and T4.1, only issue is that these are sans diff ADC :(
Hello Mborgerson, I've done my best to avoid pestering you and the others on the forum with this topic and I think to my credit I did OK...for a while :p
Your help along with the others who...
Sorry to hear that, some good wine from your valley :( hopefully all fires are under control by now.
I only just got the RAM modules last week, I have soldered one on to test, and so far...
Been away for work for a bit, so took a break from the studies, hence the late response. Mururoa Atoll, enough said ;) . I am super jealous, can only imagine what that was like. 20 Miles away is not...
Hello KurtE, apologies did not really expect this rabbit hole to go as deep as it did, so I don't think that I properly explained what I was trying to do. I am measuring the rise time of shock-waves...
Thanks but credit where credit is due, that is 100% mborgerson's excellent work.
Thank you, I thought I was converting the data from .bin to .csv but clearly my method wasn't working. Will have a look at "ShowADC()". As always thank you.
Hi Jonr.
Ok thanks will try to implement the second ADC. I did hook the single ADC up to an oscilloscope and got what I considered to be decent results a 1MSPS but in this case faster is better...
Hi Mborgerson,
The first code (no SD Card) you posted above is amazing, since our Covid lockdown I have been doing tests using a trigger wire to capture ADC input this has worked amazingly well. ...
"An Afternoon project", you're killing me ;)
Looking through the code you've already answered 2 other questions that I haven't yet been able to figure out until now, thanks!
hehe no problem, thanks for that. I love how you say "this mornings project" this would have taken me at least 10 mornings :p.
Cheers
Thanks Kurt, OK that makes sense. Really appreciate all the feedback.
Glad that your water system is working but also glad that it forced you two write this code :p
Thought I'd add a picture because everyone likes pictures :)
19570
Hi KurtE,
getting to grips with the ADC library slowly, but when using the ADC_timer_DMA_oneshot example code, how can I retrieve the data written to the buffer?
The output from the example is...
Hello All,
I want to record 300 ms of data from the internal ADC at 1 MSPS in 8 bit resolution, this should require 300 kB (1 000 000 (samples) x 8 (bits) x 0.3 (seconds)) of memory and the T4...
Thank you! Amazing work by the way, I am in way over my head with this level of programming but T4 and this library has amazing potential I think so will keep hammering away until I fully understand...
Hello All,
probably a dumb question, but what on earth is "pabdma" in the Pedvide ADC library?
An example of where this comes up is in the ADC_dma example code:
[ CODE] void...
Simple is always better.
I read your post and find myself in exactly the same position (mech. engineer learning embedded systems, etc). Up until now I have been using SDFat beta to record at 17us...
Hi CAR,
Nice work. What do you you have connected to interuptPin 18 and Pwmtrig 6? Can you show a picture of your setup or describe it?
Kind regards
Hi WMXZ, I've read a few of the forum posts on here that spoke pretty highly of Bill Greiman's SDFat beta code, so kind of just worked from his example and tried modifying it for my purpose, which...
Hi Linarism, below are the lines that I changed and below those is the full code as taken from Bill Greiman's SDFat
const uint32_t LOG_INTERVAL_USEC = 15;
changed from 2000us to 15
...
Hello All,
I've been playing around with SDFat_beta using the example ExFatLogger code for about 2 months now and it works well to record a single analog input via the onboard ADC on both the...