Upload this sketch to your arduino board you need two loads of well know weight.
Mini load cell arduino.
Restart program with nothing on the load cell platform 2.
This video will describe how to interface a 1 kg load cell to an arduino nano.
Edit the values of areading aload breading and bload with those values.
Arduino as load cell amplifier by christian liljedahl christian liljedahl dk load cells are linear.
Data is extracted from a 24 bit adc on board the hx 711 ic.
Stack the load cell amplifier shield on top of the arduino board in our case a lynxmotion botboarduino.
The white connectors on the board are 4 pin molex connectors with 0 1 spacing.
In this project we will be interfacing hx711 load cell amplifier with arduino and 16 2 lcd for designing arduino weighing machine using load cell hx711.
Load the above code open the serial monitor and take measurements of two known loads.
Arduino scale with 5kg load cell and hx711 amplifier step 1.
First we are going to mount the load cell.
Mini load cell 500g straight bar tal221 pdf mini load cell 100g straight bar tal221 pdf for more information about setting up load cells and how to integrate them into your next project check out our hx711 hookup guide.
Open serial port 3.
It is specially made for amplifying signals from cells and reporting them to another microcontroller.
Process for using the weighing program above.
Add calibrated mass equal to the variable y1 value above 20g in my case 5.
Stacking the load cell shield the load cell shield uses analog pins a0 and a1 for strain 1 and strain 2 inputs respectively.
Wait for tare to finish and arduino to print out.
We will be using a simple arduino library to communicate with the hx711 that provides a calibration and tare reset feature to easily determine the weight of an object.
Next try an unknown load.
The aluminum load cell should have 4 tapped.
Reload the code to the arduino board and retest your known loads.
On the opposite side you can see the connection for the load cell.
Mount the load cell.
Grove adc for load cell hx711 the hx711 is a precision 24 bit analog to digital converter adc that is designed for weighing scales and industrial control applications to interface directly with a bridge sensor.
To connect the hx711 to the arduino you only need 2 pins clock and data.
Wire the load cells and hx711.
So once you have established two data pairs you can interpolate the rest.
In this example a 10 kg.
Wait for print out.