Electronic scale based on Arduino and HX711 modules

Electronic scale based on Arduino and HX711 modules

Today we are going to make a simple electronic scale based on Arduino and HX711 modules.

Adeept HX711 parameter introduction:

Bracket diameter: 10CM (tray diameter)

Operating voltage: DC 5V or 3.3V (5V recommended)

Maximum load: 5Kg

Appearance height: 3.5cm (including pillars)

Complete set weight: 100g (including upper and lower housing)

AD module: HX711 (24-bit AD conversion, professional pressure AD chip)

Accuracy after calibration: less than 1g

Output signal: Digital signal (the analog voltage signal collected by the pressure sensor is amplified and converted into digital signal by the AD module.) It only needs to occupy two common digital interfaces of the controller.

The sensor we used has a strain gauge on each of the upper and lower surfaces, and there are two pressure resistors in each strain gauge. A total of four pressure resistors compose a full bridge circuit. The full bridge circuit can improve the accuracy of the measurement.

Production steps

Firstly, prepare the material list.

1x   Adeept HX711 kit

1x   Adeept UNO R3

1x   USB Cable

Secondly, connect the circuit as the following diagram.

Thirdly, add the HX711 function library.

Fourthly, write the code.

// HX711_ADC.h
// Arduino master library for HX711 24-Bit Analog-to-Digital Converter for Weigh Scales
// Thanks Olav Kallhovd 
// Tested with      : HX711 asian module on channel A 
// Tested with MCU  : Adeept UNO R3
// Code modification :Tom
// This is an example sketch on how to use this library
// Settling time (number of samples) and data filtering can be adjusted in the HX711_ADC.h file

#include <HX711_ADC.h>

//HX711 constructor (dout pin, sck pin)
HX711_ADC LoadCell(9, 10);

long t;

void setup() {
  long stabilisingtime = 2000; // tare preciscion can be improved by adding a few seconds of stabilising time
  LoadCell.setCalFactor(696.0); // user set calibration factor (float)
  Serial.println("Startup + tare is complete");

void loop() {
  //get smoothed value from data set + current calibration factor
  if (millis() > t + 250) {
    float i = LoadCell.getData()/58*100;
    Serial.print("Measured weight value: ");
    Serial.println(" g");
    t = millis();

Fifthly, download the code to Adeept UNO R3, open the Serial Monitor: weigh it.

51 Replies to “Electronic scale based on Arduino and HX711 modules”

  1. Pingback: nagaqq
  2. Pingback: UFABET
  3. Pingback: Dream Market
  4. Pingback: Dream Market
  5. Pingback: Dream Market
  6. Pingback: Crystal Meth
  7. Pingback: cbd
  8. Pingback: nha cai fun88
  9. Pingback: w88club
  10. Pingback: Website
  11. Pingback: con heo dat
  12. Pingback: ufa
  13. Pingback: influenceurs
  14. Pingback: w88top
  15. Pingback: fun78.com
  16. Pingback: ziemines padangos
  17. Pingback: w88 thailand
  18. Pingback: taraftarium24
  19. Pingback: funcliptv
  20. Pingback: poker99
  21. Pingback: dang ky bong88
  22. Pingback: post (novushub)
  23. Pingback: 온라인카지노
  24. Pingback: mejaqq
  25. Pingback: didi
  26. Pingback: ufabet
  27. Pingback: fun88
  28. Pingback: w88
  29. Pingback: health and fitness

Leave a Reply