OpenScale - Data acquisition and plotting

Hello, I am new to this world of electronics I have a really basic question.

I managed to successfully plug in an Openscale with a load sensor and get accurate readings with the Arduino App on Windows.

  1. In the quick guide, the OpenLog is used to log the data. If I were using a raspberry pi to connect to the OpenScale, would I need to buy an OpenLog as well or is there a way to log the data with a raspberry pi alone?

  2. How can I get this data out of the App (is there a .txt file that could be exported on either Windows/Linux?) such that I could plot it with a program written in Python or MATLAB?

  3. Is there a way to plot the weight data in real-time and save the figure later?

Thanks!

VB

Hi VB.

  1. In the quick guide, the OpenLog is used to log the data. If I were using a raspberry pi to connect to the OpenScale, would I need to buy an OpenLog as well or is there a way to log the data with a raspberry pi alone?
You don't need the OpenLog, the Pi can act as your OpenLog. You just need an application that can take the serial data coming from the OpenScale and write that out too a file. The terminal program 'Minicom' for the Pi has the ability to do that, there are probably other pieces of software that would work as well.
  1. How can I get this data out of the App (is there a .txt file that could be exported on either Windows/Linux?) such that I could plot it with a program written in Python or MATLAB?

On Windows, just use a terminal program that has the ability to log serial to a file. On Windows, TeraTerm works well, there are many options though. On Linux, Minicom works.

  1. Is there a way to plot the weight data in real-time and save the figure later?

Any plotting software that can accept serial data would work. I’m not super familiar with anything other than the serial plotter in Arduino but I’m sure there’s software that will do what you’re looking for. If anyone has suggestions, feel free to add to my post. :slight_smile:

“minicom”, not “winicom”

/mike