Load Cell Amplifier HX711 Breakout Hookup Guide

Pages
Favorited Favorite 6

Installing the HX711 Arduino Library and Examples

Note: This example assumes you are using the latest version of the Arduino IDE on your desktop. If this is your first time using Arduino, please review our tutorial on installing the Arduino IDE. If you have not previously installed an Arduino library, please check out our installation guide.

Arduino Library

Now that you have your load cell, amplifier, and microcontroller hooked up, you can add your code and start calibrating your setup. You will need to download the excellent HX711 library from user bogde. As of the writing of this tutorial, the library has been tested on ATmega328P, ESP8266, ESP32, and STM32. Open the Arduino IDE's library manager and search for "HX711 Arduino Library". Click on the library to install. You can also download the *.ZIP file from the GitHub repo to manually install the library.

Examples

You will also need to download the most up-to-date example code from the GitHub repository to follow along.