Save data from Arduino to a computer
In some situations, you need to save data from Arduino to a computer.
Let’ say that you wrote an Arduino application for some company and they want to install the device in a data center and they do not allow external connections (Http, gsm) from Arduino. Then, you can send the data to a Linux or Windows server using serial connection and then save it to a database. Or maybe you just want to send data to your personal computer and then, save it to a file.
You can find scripts in many programming languages that can help you to save data from Arduino to the computer but you will have to understand and to configure them.
I find out that the best solution to save data directly in the pc using an Arduino is to use a GUI application than cand export the data to the format you need.
I found these solutions to save data from Arduino to the computer:
Parallax Data Acquisition tool (PLX-DAQ)
They say that it will read data from microcontrollers connected to any sensor and the serial port of a PC and then send data directly into Excel.
Sending data from Arduino to Excel will help you for debugging purpose but in a production scenario, this is not reliable and scalable.
It is ideal for development, reverse engineering, debugging, datalo gging and capture, and automatic test.
It is a GUI application that works on Linux and Windows. It will connect to many microcontrollers at the same time and can log the data to the console, to a file or a database.
Java Serial Tools is an open source and you can modify it as you need.