OpenScale Firmware

Hi, I have followed the instructions for updating firmware but it comes up with no openscale.h

I am trying to update to v1.2 . From the shipped version. I downloaded the repo. Opened Arduino IDE and tried to import zip. Says does not contain h file. Anyone else had trouble?

Cheers

Hi Wappy,

I’m a bit confused by your wording here. Are you trying to import a .zip library to Arduino? You’ll only want to extract the files using whatever unzipping tool you have, navigate to the “Firmware” folder then to the “Openscale” folder. From there, open the Arduino file/sketch named “OpenScale” and it should open the other necessary files in the other tabs in Arduino. Also, make sure you have [bodge’s HX711 Arduino library installed for the code to compile.

I hope this helps you update the firmware on your OpenScale!](GitHub - bogde/HX711: An Arduino library to interface the Avia Semiconductor HX711 24-Bit Analog-to-Digital Converter (ADC) for Weight Scales.)

It sounds like you are copy pasting the OpenScale.ino sketch into Arduino but there are additional files you need to compile the code.

Grab [this file, and unzip it. Then navigate to the OpenScale-master/firmware/OpenScale folder and open the OpenScale.ino file in Arduino and you should be set.](https://github.com/sparkfun/OpenScale/archive/master.zip)

I am also stuck in compiling the firmware

while compiling I will get the error code

Arduino: 1.8.12 (Windows Store 1.8.33.0) (Windows 10), Board: “Arduino Uno”

OpenScale:64:10: fatal error: OneWire.h: No such file or directory

#include <OneWire.h> //Needed to read DS18B20 temp sensors

^~~~~~~~~~~

compilation terminated.

exit status 1

OneWire.h: No such file or directory

This report would have more information with

“Show verbose output during compilation”

option enabled in File → Preferences.

and looking into the main openscale code you will find:

#include <OneWire.h> //Needed to read DS18B20 temp sensors

Where to download that one? its not in openscale github

https://i.imgur.com/d9eN5VR.jpg

You should be able to download the needed library from the Arduino Library Manager. Look for the library highlighted in the picture below:

Thx - will check it out

Cheers, Gernot

OK, it looks like you need the OneWire library but it wasn’t mentioned in the hookup guide. (I think it used to be included in the IDE and somehow got dropped?)

Anyway, I’ve updated the “[Updating The Firmware” hookup guide to add that library. The selection in the Library Manager that Brandon refers too should work, but if you have trouble, the .ZIP version can be found [here.](https://github.com/PaulStoffregen/OneWire/archive/master.zip)](https://learn.sparkfun.com/tutorials/openscale-applications-and-hookup-guide#upgrading-the-firmware)