This Processing sketch takes data from the serial port, graphs it, and writes it to a text file with a time stamp if there’s a significant change in any of the incoming values. It expects five values between 0-255 in ASCII, separated by tabs, and ended by a carriage return and newline.
The text file it generates is tab-delimited, and can be read easily in a spreadsheet.
A Wiring/Arduino program to send data to this sketch follows at the end.
Continue reading “Data graphing program that saves to a file”