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.
In this way, in addition to the unusual Retro look it also greatly simplifies the making of the device that contains only a few components:
- Arduino nano microcontroller
- Load cell
- brakot board HX711
- Galvanometer or Voltmeter
- two resistors
- power switch
- trimer potentiometer
- and four Leds
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.
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.
Comments