Arduino Hx711 Weight Scale Interface 1 0 Software. 3/27/2018 0 Comments I am working on an application where i need to convert the weight of a person to calculate and use it for other parameter. So i started searching the internet and found many tutorials using the load cell and arduino. I started by opening up a bathroom scale and using the. In this primer I’m going to describe how to interface one inexpensive Load Cell to an Arduino Uno with the help of the popular HX711 module so that you can rig up a complete digital weight scale later.
To start programming the Arduino, you will need to have the Arduino IDE installed from here:. Please be aware that there are some critical bugs in Arduino IDE 1.6.6. Make sure that you install 1.6.7 or higher, otherwise this Tutorial will not work! The Visuino: also needs to be installed. • Start Visuino as shown in the first picture • Click on the ' Tools ' button on the Arduino component ( Picture 1 ) in Visuino • When the dialog appears, select ' Arduino Nano ' as shown in Picture 2 Step 5: In Visuino, add and connect HX711 Weight Scale component. Oborudovanie kolbasnogo ceha instrukciya po ekspluatacii shpric handtmann. The first step in the calibration is to Zero the scale: • In the design area select the WeightScale1 component ( Picture 2 ) • In the Object Inspector set the value of the ' Offset ' property to minus the value from the Serial Terminal ( Picture 1 ) in my case -104216 ( Picture 2 ) • Generate, Compile, and Upload the Arduino code as you did in Step 6 • If you connect with the Serial Terminal again, you will see that the values are around Zero ( Picture 3 ) Step 9: In Visuino, set the weight scale divider for the HX711 component. The second step in calibration is to calibrate with some known weight: • Place a 1 gram weight on the sticking end of the Weight Load Cell ( Picture 1 ).
In my case I just placed a USB flash memory ( Picture 1 ) to show the process, but for real calibration you will need to place exactly one gram object. To have precise measurement you will need to mount a table on the weight cell, but I will leave you to design it yourself. There are a lot of resources on how to mechanically design scale • Connect to the Arduino with Serial Terminal ( Picture 2 ) • In the design area select the WeightScale1 component ( Picture 3 ) • In the Object Inspector set the value of the ' Scale Divider ' property to the value from the Serial Terminal ( Picture 2 ) in my case 2565 ( Picture 3 ) • Generate, Compile, and Upload the Arduino code as you did in Step 6 • If you connect with the Serial Terminal again, you will see that the values are around One ( Picture 4 ) Step 10: And play. You have created your first Digital Scale with Arduino and HX711 ADC Weight Sensor module. Picture 1 shows the connected and powered up project. The Video shows the running project and the serial terminal, as different weights are placed on the Load Cell. If you open the Serial Terminal in the Arduino IDE or Visuino, and there is no weight on the Load Cell, you will see values around zero displayed ( Picture 2 ) If you place some weight, you will see it displayed on the terminal ( Picture 3 ) On Picture 4 you can see the complete Visuino diagram.Also attached is the Visuino project, that I created for this Tutorial.