Arduino Weighing Machine (scale) With Analog Showing

by mircemk in Circuits > Arduino

286 Views, 2 Favorites, 0 Comments

Arduino Weighing Machine (scale) With Analog Showing

naslov APH.jpg

This is a Retro Style weighing machine where the result is displayed on the Galvanometer instead of LCD Display.

Supplies

IMG_20210811_181940.jpg

The device contains only a few components:

- Arduino nano microcontroller

- Load cell

- breakout board HX711

- Galvanometer or Voltmeter

- two resistors

- power switch

- trimer potentiometer

- and four Leds

Description

Arduino weighing machine (scale) with analog showing

 This time I will show you how to make a weighing machine where the result is displayed on the Galvanometer. Instead of a Galvanometer, we can use a 5V Voltmeter, but in that case the 10 k trimmer potentiometer should be removed. The electronic weighing scale uses a load cell which is a transducer that is used to create an electrical signal whose magnitude is directly proportional to the force being measured. This signal need to be amplified and processed, and that function is performed by a small breakout board with HX711 IC which is a 24-bit high precision A/D converter.

 Usually calibrating and the final result is displayed on an LCD display or on a serial monitor, but in this case I modified the standard code so that the calibration process is displayed via LEDs and the weight is displayed on an analog instrument. 

 Although the cell is intended for weighing up to 5 kg, I mapped the maximum weight to 1 kg in the code for higher resolution when measuring small weights.

 After switching on, the galvanometer is tested first and the arrow moves to the end position and returns. If there is a deviation from the marked scale, calibration is performed with the help of the trimmer potentiometer. Now, the blue LED lights up, indicating a process of self-calibrating the scale. During this procedure, zeroing is performed, neglecting the weight of the plate on which the measurning weight is placed. After that, the yellow Led lights up and it is a sign that you need to put a known weight that is previously defined in the code, and in our case it is 100 grams. When the calibration is complete, the white LED lights up, which means that the scale is ready for measurement. 

Building

IMG_20210813_172936.jpg
IMG_20210811_181524.jpg
IMG_20210811_185123.jpg
IMG_20210811_185404.jpg
IMG_20210811_185743.jpg
IMG_20210812_220326.jpg
IMG_20210812_183707.jpg
IMG_20210815_165308.jpg

  I will also present you another case, when we need to measure the weight of an object that is in a container, without measuring the weight of the container. During the video you can see the prototype, where besides the LEDs, there is also an LCD Display which shows the current state of the scales and weight. During the construction, the LCD Display was left out due to the simplification of the project. 

  Finally, the device is mounted in a suitable housing made of PVC board with a thickness of 3 millimeters.

Schematic Diagram, and Code

Shema so oznaki.jpg

Schematic and code are given below

Downloads