I have connected the Cheapstat to an arduino uno by soldering a wire to the TX line of the FT232. I want to output results over bluetooth eventually but first I want to understand how the Cheapstat is transferring data over the serial line. At the moment the data I'm receiving looks like sheet 2 the attached Excel file while when I use the Cheapstat Java interface with the normal usb cable the data looks like sheet 1. Can anyone recommend what code I need to write in Arduino (or another method) to convert the concatenated data in sheet 2 into useful results show in sheet 1?
The Excel spreadsheet shows 4 different tests using SWV where I first used the usb&Java method of collecting data and then ran the same test for a second time but recorded the data from the Serial Monitor in Arduino IDE. Spreadsheet is here