Here you have to say to the program how to interpret the file. Important to change the ASCII file configuration.ĥ. If you want to reproduce a saved test, just select “no update”. Choose the option -time interval: “change detection” if you are working with real-time data. You have to select the previous CSV file as the source file.
Open the data wizard and follow the steps. Open the data wizard and go through, as it is explained on the following pictures: Data wizard iconĤ. Follow the instructions to complete the instalation.ģ.
Download the free and open source kst program (available to all the platforms: Windows, Mac and Linux). Once we have already set up the realTerm terminal and it is writting continuously the coming data from the serial port of Arduino into the CSV file.ġ. 2- Plot the data stored on the CSV file in a Graph While Realterm is writing to the file, the GUI should appear in red colour. If you need to plot multiple data simultaneously, you should separate them with a tab, comma or something similar. Print the data without text, for example: Serial.println(dato) To print your data “cleanly” from your Arduino. Once your Arduino is already streaming data to the serial port, go to the tab “Capture” and push “Start: “Overwrite” or “append”, depending if you want to overwrite or append the new data. On the tab “Capture” of RealTerm, now select or create a new file to write the data and check the “Direct capture” box.ĥ. After the change, don’t forget to push the button “Change” to save.Ĥ. Remember that before start reading the data and writing into the selected file, you have to check the box “Monitor” on the “Echo Port” tab. There, we can manage and change the serial port. This can be seen at Tools> Serial Boards. Configure the COM port that you are using with the Arduino. Therefore, if you want to load an Arduino program into the board, you have to deactivate the connection with Realterm and vice-versa. Only one client can be connected at one time. For example, if you are using the Arduino IDE Serial monitor, you are not allowed to open Putty or Realterm and vice-versa. Important Note: that you can not have 2 serial connections opened at the same time. Configure it to see the Arduino serial commands This step could be done better writting directly a customized python script… but if we want a quick and useful solution, this should be enough!! RealTermĢ. RealTerm is a Serial/TCP Terminal, similar to Putty (in Windows), but with extended options. There are other programs that allow you to do this, but I found this one “easier”.
To save the data coming from the COM port into a CSV file (comma separated value), I used the software realTerm.