Arduino Hx711 Weight Scale Interface 1 0 Software
How to Calibrate Your Scale 1. Call set_scale() with no parameter. Call set_tare() with no parameter. Place a known weight on the scale and call get_units(10).
Precision scale base based on HX711 and VFD display This is a simple precision scale project that employs a cool VFD display. The display is connected to the Arduino by asynchronous serial interface 57600 allowing a satisfactory fast data refresh. The HX711 uses pins A0 and A1 of the Arduino for the communication and provides the power supply for the load cell.
Be advised that HX711 is quite sensitive to power supply fluctuations that affects the output signal; a high stability power supply will improve the overall precision of the scale. User interface The user interface is very simple and provide readings in Newtons, grams and ounces; I've also implemented an analog bar graph showing the load in% of full scale. A push button is providing the zero (tare) function of the scale. BOM • 1 x NORITAKE VFD display mod.
GU128x64D-K610A8 • 1 x Arduino NANO (328) • 1 x 24-bit load cell amplifier mod. Viewfinder anime download pc. HX711 • 1 x 1 kg full scale load cell (four wires) • 1 x push button (for tare function) • 1 x Adafruit power boost 1000mAh (optional - just for battery operation) • 1 x 2000mAh Li-Po battery.
At the in London we hold repair events where members of the public are invited to bring in all manner of electrical and electronic items for repair, so as to save them from landfill. A few months ago (at an event I didn't actually attend) someone brought in some faulty kitchen weighing scales which nobody could fix. Never having seen inside any digital weighing scales and not knowing how they work, I took it as a challenge to research them, in the process, building two versions of my own. If you wish to build your own weighing scales or incorporate a weighing function in a wider project, you can use this Instructable as a basis, whatever your requirements, from weighing fractions of a gram up to many kilograms.
Hence I will concentrate on the electronics, the software and the underlying principles. How you realise your own project is completely up to you. I will also show you how to calibrate them, even if you don't have any standard weights. Having done my research and having validated it by building my own scales, I wrote up the principles of weighing scales, including whatever I could deduce about fault-finding, in the Restart Project. Go and take a look! All digital weighing scales are built around either a 4-terminal load cell or four 3-terminal load cells. Which to get depends on what sort of scales you want to make.
They are all electrically compatible and fairly cheap so you can change your mind later, or get more than one type to experiment with. For kitchen or postal scales with a maximum load in the range of 100g to 10kg, you can get 4-terminal load cells consisting of an aluminium bar. This is mounted horizontally, supported at one end and supporting the weighing platform at the other. It has 4 strain gauges attached to it.
I explain fully how it works in my article so I shan't repeat it here. These are less suitable for heavier loads such as bathroom scales, where a person's full weight, not necessarily centred on the platform, is better supported by 4 load cells supporting the 4 corners of the platform. This is where four 3 terminal load cells are more suitable. Ones rated at 50kg each are widely available, which together will weigh up to 200kg. Others with even higher ratings are designed for suspending the weight to be measured after the fashion of luggage scales. In addition to your load cell or load cells, you will need: • An Arduino.
You can use virtually any type you like but I used the Nano as it has the USB interface built-in and still only costs a few pounds. • A HX711 module. This may come bundled with your load cell but is available very cheaply as a separate item from many sources.