Load Cell Amplifier HX711 Breakout Hookup Guide - Learn.sparkfun ...

Contributors: Sarah Al-Mutlaq, Alex the Giant Share Use this URL to share: Share on Tumblr Submit to reddi Share on Twitter Share on Facebook Pin It

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.

HX711 Arduino Library (ZIP)

Examples

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

SparkFun HX711 Load Cell Amplifier Examples (ZIP)

Share Use this URL to share: Share on Tumblr Submit to reddi Share on Twitter Share on Facebook Pin It View as a single page Next Page → Arduino Example ← Previous Page Hardware Hookup

Tag » Arduino Hx711 Library