RETIRED - Load Cell Amplifier HX711 Breakout Hookup Guide

This Tutorial is Retired!

This tutorial covers concepts or technologies that are no longer current. It's still here for you to read and enjoy, but may not be as useful as our newest tutorials.

View the updated tutorial: Load Cell Amplifier HX711 Breakout Hookup Guide

Pages
Contributors: Sarah Al-Mutlaq
Favorited Favorite 5

Hardware Hookup

Sparkfun's HX711 load cell amplifier breakout board

The HX711 Load Cell Amplifier accepts five wires from the load cell. These pins are labeled with colors; RED, BLK, WHT, GRN, and YLW. These colors correspond to the conventional color coding of load cells, where red, black, green and white wires come from the strain gauge on the load cell and yellow is an optional ground wire that is not hooked up to the strain gauge but is there to ground any small outside EMI (electromagnetic interference). Sometimes instead of a yellow wire there is a larger black wire, foil, or loose wires to shield the signal wires to lessen EMI.

Load cell wiring, wheatstone bridge formation

Four strain gauges (SG1 through 4) hooked up in a wheatstone bridge formation

Different strain gauge load cell output wires

Here we have a large black wire, some loose wires, and foil and loose wires respectively as EMI buffers

In General, each load cell has four strain gauges that are hooked up in a wheatstone bridge formation as shown above.

The four wires coming out from the wheatstone bridge on the load cell are usually:

  • Excitation+ (E+) or VCC is red
  • Excitation- (E-) or ground is black.
  • Output+ (O+), Signal+ (S+)+ or Amplifier+ (A+) is white
  • O-, S-, or A- is green or blue

Some load cells might have slight variations in color coding such as blue instead of green or yellow instead of black or white if there are only four wires (meaning no wire used as an EMI buffer). You might have to infer a little from the colors that you have, but in general you will usually see these colors.

If the readings from the HX711 are opposite of what you are expect (for example the values decrease as you increase weight) simply reverse the O+/O- wires.

Once the load cell is is hooked up to the amplifier, you can hook up VCC, DAT, CLK, and GND to a micro controller such as a RedBoard or Arduino board.

Strain gauge load cell hooked up to SparkFun's HX711 amplifier breakout board

Strain gauge load cell hooked up to SparkFun's HX711 amplifier breakout board

Load cell wires hooked up to the HX711 Amplifier board

The example code has DAT and CLK **hooked up to **pin 3 and 2 respectively, but this is easily changed in the code. Any GPIO pin will work for either. Then VCC and GND just need to be hooked up to 2.7V-5V and ground respectively on your microcontroller.

Fritzing diagram of HX711 amplifier connected to a redboard

Fritzing diagram of HX711 amplifier connected to a RedBoard

SparkFun's HX711 load cell amplifier breakout board hooked up to a Redboard microcontroller

HX711 Amplifier board hooked up to a RedBoard

Now, if you would like to set up four single strain gauge load cells with our combinator board and the amplifier, it works in a similar way, hooking up the red, black, and white wires from four different single strain gauge load cells and then hooking up the five RED, BLK, WHT, GRN, and YLW pins from the combinator board to the HX711.

SparkFun's strain gauge load cell combinator board

The combinator board also has room for an 8 pin RJ45 socket, which can be used to connect your project via Ethernet cables for long distance applications.

Another nice thing about our combinator board is that most home scales use four single strain gauge load cells, so this is a handy board for hacking your own scales at home!

SparkFun's strain gauge load cell combinator board hooked up to a home scale

Hacked home scale's four load sensors hooked up to our combinator board

alt text

Example of a single strain gauge load cell, or load sensor. Here RED is the center tap

An off the shelf scale might be a little different. In the scale pictured above, the black wire was actually blue, the red more of an orange color, and the orange wire ended up being the 'center tap' of the strain gauge as opposed to white. I hooked the blue wires to the "B", the orange wires to the "W" and the white wires to the "R".

To determine how to hook up your single strain gauge load cells to the combinator, measure the resistance between the three wires. You should find a larger resistance (close to double) between a pair. In our example the resistance between White and Blue was 1.8k Ω, and the resistance between White and Red was 900 Ω. Therefore, the center tap to the strain gauge is the Red wire. The center tap or center pin of your strain gauge connects to the "W" pin on the combinator. The larger resistance wires (White and Blue in this example) connect to the "R" and "B" pins on the combinator.

The combinator board hooks up the four load sensors in such a way that two resistors in the wheatstone bridge configuration are constant values and the other two are variable in this way:

alt text

To hook up the combinator board to the HX711 match the RED, BLK, WHT, and GRN pins

Once you have the combinator board successfully soldered to the twelve wires, you can now connect it to the HX711 amplifier board via the 4 standard load cell wires. You can use short jumper wires or if your electronics are a long distance away from your scale consider using an RJ45 connector and an ethernet cable to connect the combinator to the HX711 amplifier.