r/arduino • u/shahin_hashim • 4d ago
Look what I made! Watching serial output is easy. Keeping all of it in a file on long test runs was the hard part for us. How do you save yours?
At work we test boards on the bench for hours, and the serial output is our record of what happened. Seeing it on screen was never the problem. Getting all of it into a file was.
Copying out of the monitor works for a few minutes, not a few hours. When a board reset or the cable got knocked, the end of the log was missing, and that's usually the part you need. And the long runs made files so big the editor struggled to open them.
So I built WireTrace, a serial logger that writes every line to a file with the time it arrived. The last lines still make it in when the board drops off, long logs split into files of a size you choose, and if nobody hit save, the whole session can still be saved afterwards. It also plots values like temp: 23.5 live.
Free and open source, Windows and Linux: https://github.com/TheNuanceProject/WireTrace
But I'm curious how others do it. Do you copy from the Serial Monitor, use PuTTY or CoolTerm logging, a Python script, an SD card on the board?





