Arduino Projects

HX711 Load cell or Strain Gauge and Arduino

HX711 Load Cell with Arduino, Description:

 

HX711 and Arduino This tutorial is based on the HX711 breakout board, Arduino Uno and a Load cell or Strain gauge. This tutorial explains step by step how to use the load cell or Strain gauge with the HX711 breakout board and how to write a basic Arduino Uno program to access the values and print them on the Serial monitor. The HX711 and Load cell are used in building a weighing scale. The same program which is used in this tutorial can also run on Arduino Mega.

This article only explains the extreme basics, like for example, the HX711 breakout board pinout. The HX711 break-out board interfacing with the load cell and Arduino Uno or Mega. In this article, we are doing the calibration of the load cell or weight measurement. The load cell calibration and weight measurement will be covered in future articles.

allpcb circuit

Read my latest article, in which i used the HX711 with the Nodemcu ESP8266 Wifi Module and designed an IoT based Weighing Scale. With the help of this project, the weight can be measured from anywhere around the world using the Blynk application.

Recently, I designed a highly accurate version of the Weighing Scale using ESP32 WiFi Module. I was simply amazed by the final measured values. I highly recommend reading this article. Read my Latest Article on HX711 and Arduino.

Video is Available at the end of this Article.


Amazon Links:

Arduino Nano USB-C Type (Recommended)

12v Adaptor:

HX711 Load cell / Strain Gauge:

Arduino Uno

*Disclosure: These are affiliate links. As an Amazon Associate I earn from qualifying purchases.



HX711 Breakout board:

Hx711 has different gain values which are selectable 32, 64 and 128.  Any of the mentioned gains can be selected and used in the programming.

HX711

About Load Cell:

HX711

Definition:

A load cell or a Strain Gauge is basically a  Transducer which generates an electrical signal whose magnitude is proportional to the force applied. The various load cell types include Pneumatic, Hydraulic, and strain gauge.

The load cells or Strain gauges can be used in different automation projects. The load cells can be used for the precise weight measurement if properly calibrated. The load cells are commonly used in industrial processes where the weight of certain products is measured. The load cells can be used in automatic bag filling machines. The load cells or strain gauges can be used in infinitely different ways.

HX711 Connection with Arduino and Load cell Circuit Diagram:

HX711

As you can see in the connections diagram. The four wires of the Load cell or Strain Gauge are connected with the HX711. The four wires of the load cell should be connected in the correct way otherwise this will not work. The red wire of the Strain gauge or Load cell should be connected with the E+ pin of the HX711 break out board. The black wire of the Load cell has to be connected with the E- terminal of the HX711 board. The white wire will be connected with the A- pin of the HX711, while the green wire of the Load cell or Strain Gauge is connected with the A+ of the HX711.


On the right side of the HX711 breakout board, the four terminals are clearly labeled with Gnd, DT, SCK, and VCC. The ground of the HX711 is connected with the Arduino’s Ground. The DT is connected with the Arduino’s pin number 3. The SCK of the HX711 is connected with the Arduino’s pin number 2. Finally, connect the VCC of the HX711 break out board with the Arduino’s 5 Volt.

For the Easy interfacing, you can solder some jumper wires with the contacts of the HX711 break out board for this you can use male to male type jumper wires. After the soldering makes sure you check the short circuit using the digital multimeter.

As you can see in the picture above, the Load cell has an Arrow. While installing the load cell make sure this arrowhead points downward. For the best performance install the load cell or strain gauge on a metal base and secure the load cell with the screws, so that there is no movement.


HX711 Arduino Programming:

Before you Start the Programming, first of all, make sure you download the necessary library. The HX711 library can be downloaded from the GitHub, the download link is given below.

HX711 Library:

Download libraries

HX711 Arduino Programming number 2:


Watch Video:

Related Articles

3 Comments

  1. Hello, thank you so much for the video and instruction. Do you have a second one where you explain the second part of the programming and how to calibrate the scale?

    Cheers
    Phil

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button