logging data on SD at constant frequency
Re: logging data on SD at constant frequency
Thank you all! It looks great.
Re: logging data on SD at constant frequency
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!
Thanks again!
-
- Posts: 168
- Joined: Tue Nov 07, 2017 11:45 pm
Re: logging data on SD at constant frequency
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
-
- Posts: 168
- Joined: Tue Nov 07, 2017 11:45 pm
Re: logging data on SD at constant frequency
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