I want to know about the electronic components weight. So I decided to do my own weighing machine :)
To do that you have to download some libraries which are listed below
LiquidCrystal_PCF8574
Wire
HX711
Connect all components as per the circuit diagram.
Programming part is critical
1. Calibration
In Calibration open the calibration sketch upload with out any load on the tray. Then put some known weight element then open serial port increment or decremented the calibration factor util you see the known value.
For example if you put 250gram weight, on first time it will give 400 gram or 1kg before calibration.. You use a, s, d, f or z, x, c, v keys to correct the calibration level until you get 250 grams from 400gram or 1kg. Then just note down the calibration factor.
2. Actual Sketch
Put the calibrated value xxxxxxx on this line and upload thats all....
scale.set_scale(xxxxxxx);
3. To reset the tare value I use one push button.
Comments
Please log in or sign up to comment.