Readings from Opensclae & Loadcell

I am new to Openscale and Loadcells … pardon me on my question.

I am getting readings such as 156462,-59.69,lbs,19.37,0, when I have connected Openscale and one load cell. Opensclae is connected to Raspebrry pi via USB, and I am seeing this reading.

I am not able to decipher this data payload. Please help me understanding this reading what each represents.

Second question is - if I need to connect 4 load cells, will all that go into the same connection and how the readings come out

Hello, and thanks for posting your question in the forums!

I am getting readings such as 156462,-59.69,lbs,19.37,0, when I have connected Openscale and one load cell.

OK, let me decode that for you. By default not every field is turned on and the format you’re seeing is the default. The format when every field is turned on is:

timestamp , calibrated_reading , units , raw_reading , local_temperature , remote_temperature

In your case, you have the timestamp, calibrated reading, units set to lbs, local temp and remote temperature turned on.

156462

This is a time stamp that indicates the time in ms since the OpenScale was powered on

-59.69

This is the calibrated reading in pounds or kilograms.

lbs

You can change this field to say lbs if you’ve calibrated the device in pounds, or kgs if you’ve calibrated the device in kilograms

19.37

This is the local temperature of the OpenScale board.

0

This is the reading from an optional DS18B20 temperature sensor that you can attache to the OpenScale board. In your case it looks like you don’t have a sensor attached and so the board is give you a 0 reading.

You can actually turn on and off some of the data fields if you wish. The following fields can be turned off.

  • - timestamp
  • - raw_reading
  • - local_temperature
  • - remote_temperature
  • Turning these of just make them not print. For example, if you turned all of them off, you’d only see the following output:

    -59.69,lbs,

    There’s a menu you can access to change various settings in the OpenScale and turn the various fields on and off. Sending the letter x will get you into that menu and the menu options should be fairly straight forward in what they do.

    You might also want to check out the [Hookup Guide for the OpenScale. That should clear up any other questions you have about the operation of the board.

    if I need to connect 4 load cells, will all that go into the same connection and how the readings come out

    As to connecting load cells, you can connect 1 four wire load cell to the screw terminals on the board. We have pads on the side of the board for connecting 4 [three wire load sensors. If you’re connecting load sensors, you must connect all four and the wiring is as follows:[/u]

  • - - = black

  • - + = white

  • - C = red


  • It is possible to connect more than one four wire load cell to the board, but you need a summing box to do that. Unfortunately we don’t carry summing boxes, but a google search should turn up some options for you. We have had customers connect their load cells in parallel without a summing box successfully, but we’ve not tested this configuration and can’t say for sure if it’s accurate. Connecting more than one load cell or load sensor won’t change the output, you still receive a single weight for the combination of all the sensors.](https://www.sparkfun.com/products/10245)](OpenScale Applications and Hookup Guide - SparkFun Learn)

    You indicated on connecting 4 load cells … “Connecting more than one load cell or load sensor won’t change the output, you still receive a single weight for the combination of all the sensors.”

    Does that mean, there is no need to do this and can be accomplished by just using one load cell, say placed in the center of a shelf rack for example and it will be an accurate reading?

    Also, you indicated that there are pads on the side of the board connecting … what are UL/LL and UR/RR … do I connect there and does it need a combinator?

    Question … since I have connected 4 load cells (all greens with green, reds with red etc…) and connected to the respective terminals - am I getting one single reading from all the load cells? For example, when I place 9 units each weighing 6 lbs, I am getting a reading as 240 lbs. Not sure how? I was expecting weight around 54 lbs (9 units x 6 lbs = 54 lbs). Similarly, when I remove 1 unit, I expect weight to be 8x6=48 lbs

    What am I doing wrong? Is there a connection problem or something I am missing here?

    Also, how to do the configuration/tear? How do I get the menu to do this? I have connected the openscale to a Raspberry PI using USB

    It sounds like you need to calibrate the scale. For information on how to do that and for accessing the configuration menu, please see our hookup guide located in the link below. I think this will answer all your questions. :slight_smile:

  • [OpenScale Applications and Hookup Guide
  • [/list]](OpenScale Applications and Hookup Guide - SparkFun Learn)

    I am following the calibration instructions. I am using the serial monitoring tool within IDE. I did connect the board to monitor the weight

    I sent 1 to tear to zero

    I placed the known weight, for example 24 lbs and let it stabilize

    Sent command 2 to calibrate for know weight. At this point I am not sure how to send a key after inputting 24

    so I typed 24 at he menu prompt and clicked send …

    nothing happens at this point … currently it is showing 118 lbs as the current reading

    OK, lets try this:

  • - Make sure the Serial monitor is set to 9600 baud and 'No line ending'.
  • - Take the weight off the scale.
  • - Type an x into the send box and click send to access the menu.
  • - Type a 1 into the send box and click send to tare the scale.
  • - Wait a few seconds for the scale to tare.
  • - Now type a 2 into the send box and click send.
  • - Place your weight onto the scale.
  • - Type any letter in the send box and click send.
  • - Type 24.00000000000 for 24lbs. and click send. (**You need 14 characters [u]total[/u] including the decimal point to fill the array for weight**.)
  • - Type an x in the send box and click send to exit the menu.
  • At this point you should be calibrated and ready to go and weights should be printing. If you’re still having trouble, please snap some photos showing your setup, zip them up into a single file and attach those to a reply and we will look to see if there is something wrong with your hardware.

    Speaking of hardware … earlier I was able to see the menu through IDE … and for some reason firmware upgrade or something it is not showing at all. Is there a way to get back to the original shipped firmware and if so how to go back to that? When I connect the board I do not see data streams coming through at all

    Hmm.

    Not sure what’s going on there.

    Have you actually uploaded new code to the Openscale board? Unless you’ve uploaded new code in the Arduino IDE, the firmware should not have changed at all on your board.

    One thing you might try is factory resetting the board and seeing if that brings things back to normal. These directions from the [hookup guide will help resetting the board back to factory defaults and would be the first thing to try.

    If you get OpenScale into an unknown configuration you can reset the board to safe defaults. Power down OpenScale, attach a jumper from RX to GND on the serial connector, then power up OpenScale. You should see the status LED blink rapidly for two seconds then at 1Hz. This indicates OpenScale has been reset to 9600bps. This will also reset all system settings to safe defaults.

    If you accidentally uploaded some other code to the board, this section of the hookup guide will walk you through restoring the latest version of the firmware to the board. I recommend using the latest version since it includes bug fixes and makes the OpenLog easier to calibrate.

    One last thing to try would be to not use the serial monitor in the Arduino IDE to talk to the board and use a terminal program like Tera Term instead. Tera Term lets you send data to the OpenScale one character at a time in real time rather than a string of characters all at once. That helps make some of the menu options a little easier to use. You can get Tera Term [at this link. More information about Tera Term can be found [here.

    If you’re on a Mac, try Cool Term. You can grab Cool Term [here and we have more information about Cool Term [on this page.](Serial Terminal Basics - SparkFun Learn)](http://freeware.the-meiers.org/CoolTermMac.zip)](Serial Terminal Basics - SparkFun Learn)](https://osdn.net/projects/ttssh2/releases/)](OpenScale Applications and Hookup Guide - SparkFun Learn)

    I tried your instruction to reset to factory default. It did not work. Also, tried to to get the latest version as well. Following the instruction, I fail to verify. Errors out saying no openwire.h.

    May be I am doing something totally wrong. Is there a way you will be able to call me or email me to help me out. Let me know, I can setup a skype call if you email me your email address

    info on updating the firmware says … OpenScale ships with the Optiboot serial bootloader (115200bps, 16MHz) …

    Is there a way to burn this onto the board and if so where I could get that and steps to do it?

    I am bit last, need help

    The board seems to be a defective one. How can I return this for an exchange. How do I initiate the process for returning and get an exchange or the same. I have heard an RMA process to be started.

    Please let me know how it should be done

    If you purchased this directly from us, please fill out the form on the right hand side of [this page to start the return/RMA process. Don’t forget to enter your SparkFun order or invoice number in the form and if you know the part number, enter that as well. In the Why do you want an RMA? section, enter the URL for this forum post so the returns processor can see what troubleshooting steps have been taken.

    If you purchased the part from a distributor of ours, you will need to contact them for a replacement.](Return Policy - SparkFun Electronics)

    Thanks Chris, I have submitted the RMA

    Has anyone ever had issues with openscale and a wheatstone bridge not allowing for calibration? I am using a bluetooth mate silver attached to my openscale. Once opening the Aurdino platform and opening the serial monitor, it doesn’t give me the option to calibrate but instead starts taking readings. The menu for calibration doesn’t even come up. Also if I try using a USB connection, it gives me the menu for calibration but once trying to calibrate, the values wont start consistant but instead keep getting larger and larger no matter how much I adjust the calibration factor. Did I mess up the code loaded onto the openscale? Thanks.

    Please let me know the next steps in this RMA process. Is there a place where I can check the status of the RMA and when to ship back the part?

    While you’re logged into your account on the SparkFun.com website, visit the link below for status on your RMA.

    https://www.sparkfun.com/rma

    It does look like you have an active RMA with the number of 20576 and we should have sent out a return label already. Double check your spam folder if you don’t see it.

    I had struggled with the calibration with this for a long time, it did not work until you (TS) posted these instruction:OK, lets try this:

    Make sure the Serial monitor is set to 9600 baud and ‘No line ending’.

    Take the weight off the scale.

    Type an x into the send box and click send to access the menu.

    Type a 1 into the send box and click send to tare the scale.

    Wait a few seconds for the scale to tare.

    Now type a 2 into the send box and click send.

    Place your weight onto the scale.

    Type any letter in the send box and click send.

    Type 24.00000000000 for 24lbs. and click send. (You need 14 characters total including the decimal point to fill the array for weight.)

    Type an x in the send box and click send to exit the menu.

    At this point you should be calibrated and ready to go and weights should be printing. If you’re still having trouble, please snap some photos showing your setup, zip them up into a single file and attach those to a reply and we will look to see if there is something wrong with your hardware.

    The instructions in the guide do not work! What you sent above do!