Page 2 of 2

Re: logging data on SD at constant frequency

Posted: Sat Mar 09, 2019 5:51 pm
by rcarmi
Thank you all! It looks great.

Re: logging data on SD at constant frequency

Posted: Sat Mar 09, 2019 9:53 pm
by rcarmi
Thanks for the codes. I looked it up and it is way nicer in the code but the performance is not better (still these gaps as you said). Writing in binaries is an improvement though. Maybe as you mentioned [2 pyboards] is the solution: have on processor reading and the other one writing. I will have to try this. I can't have the gaps in one of the applications I had in mind. But your code works for most of the other applications of data acquisition so I will use it ;)

Thanks again!

Re: logging data on SD at constant frequency

Posted: Mon Mar 18, 2019 12:04 pm
by rhubarbdog
I've tried a few things and a 2 pyboard solution can only achieve 4kHz over uart. With one sensor being logged along with the time in micro seconds and a check digit

Re: logging data on SD at constant frequency

Posted: Thu Mar 28, 2019 12:20 am
by rhubarbdog
I've done some work with 2 pyboard 1.1 communicating via uart. I have acheived speeds of 2.6kHz with good consistency of period. The programs an classes can be found in the high-frequency-data-logger repository on GitHub