- Fri Jul 20, 2018 5:13 pm
#199779
Hi guys, my first post here and apologies if I ask too many questions and get a few things wrong. 
I've got the Openscale connected to a load cell, done the basic setup and it all seems to be working well enough. However, I'd like to be able to format the output data my way. There doesn't seem to be a great deal of information when searching the web.
What I need is for the data to be output without any formatting.
This is what I'm getting: 1.000,kg,
What I need is: 1000
Meaning 1000 grams with no delimiters etc. I can't see that I can do this using the basic commands provided.
I've written some code before for Arduino, and from what I understand code can be uploaded to the Openscale using the Arduino IDE. Also there's the issue of it not remembering TARE, (although it will remember calibration). I did look at the bogde/HX711 library code but I got errors in the Arduino IDE.
I don't need or want the user to be able to change anything (I will do the setup/calibration), I just want it to spit out data in grams at 80Hz (which I believe is the limitation.
I have a similar device using an Arduino Uno attached to an analog load cell amplifier and load cell. The code for this is about 10 lines long - very simple. The device is used with software I have already written in Xojo.
The Openscale seems more appealing than the Arduino+Amp method I'm already using because it's all in the one unit - very nice.
Your thoughts much appreciated.
Cheers.

I've got the Openscale connected to a load cell, done the basic setup and it all seems to be working well enough. However, I'd like to be able to format the output data my way. There doesn't seem to be a great deal of information when searching the web.
What I need is for the data to be output without any formatting.
This is what I'm getting: 1.000,kg,
What I need is: 1000
Meaning 1000 grams with no delimiters etc. I can't see that I can do this using the basic commands provided.
I've written some code before for Arduino, and from what I understand code can be uploaded to the Openscale using the Arduino IDE. Also there's the issue of it not remembering TARE, (although it will remember calibration). I did look at the bogde/HX711 library code but I got errors in the Arduino IDE.
I don't need or want the user to be able to change anything (I will do the setup/calibration), I just want it to spit out data in grams at 80Hz (which I believe is the limitation.
I have a similar device using an Arduino Uno attached to an analog load cell amplifier and load cell. The code for this is about 10 lines long - very simple. The device is used with software I have already written in Xojo.
The Openscale seems more appealing than the Arduino+Amp method I'm already using because it's all in the one unit - very nice.
Your thoughts much appreciated.
Cheers.