Home Arduino Projects Arduino Projects: HX711 Module

Arduino Projects: HX711 Module

by Nikodem Bartnik
Arduino Projects: HX711 Module

Out of all the interesting Arduino Projects we have worked on in the past, this turned out to be a little more exciting. Here comes the not so popular tensiometry beam with the HX711 module that allows you to find the weight of an object.

Strain gauges are widely used in industry to measure tensions and strains in sophisticated constructions. Today we are not going to build a bridge but we will make a simple weight and compare its readings with a kitchen weight. Let’s start with the parts needed for this project:

Arduino Projects: HX711 Module

The first thing that we have to do is to solder cables from the tensiometry beam to the HX711 module. There are 4 cables to solder but the module has 6 pins, pins B- and B+ are not connected to anything. Take a look at the image below to see what I mean.

Arduino Projects: HX711 Module
  • E+ – RED
  • E- – BLACK
  • A+ – WHITE
  • A- – GREEN

When those cables are soldered, we can connect the module to Arduino. There are only 4 cables to connect VCC, GND, DT, and SCK. You can use different pins for DT and SCK but you have to change the code accordingly. Here is the pictorial.

Arduino Projects: HX711 Module

The best way to connect this module is to use breadboard cables with female to male connectors.

Arduino Projects: HX711 Module

And here is the circuit with everything connected.

Arduino Projects: HX711 Module

Before the test, we have to fix the beam to something. I decided to screw it to a piece of wood with 2 screws. Make sure you screw on the side where cables are and that the arrow on the front of the beam is pointing upward.

Arduino Projects: HX711 Module

Before uploading the code we have to install the library in the Arduino IDE. Here is a link where you can download it: https://github.com/bogde/HX711. All the code does is displaying weight in kg on the serial port. Keep in mind that it is calibrated for a 5kg beam if you have a different one you should calibrate it before use.

There is a code in the examples with a quite good explanation on how to calibrate it.

You might also like:

Related Posts

Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Privacy & Cookies Policy