HX711

An Arduino library to interface the Avia Semiconductor HX711 24-Bit Analog-to-Digital Converter (ADC) for Weight Scales. (by bogde)

HX711 Alternatives

Similar projects and alternatives to HX711

  • Tasmota

    Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at

  • USB-Sim-Racing-Pedals-with-Load-Cell

    Combining a Arduino Micro and a HX711 circuit board to make an inexpensive control board for racing simulator pedals that use a load cell for the brake.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • SafeString

    This SafeString library is designed for beginners to be a safe, robust and debuggable replacement for string processing in Arduino. Note, this is NOT my work, I am simply hosting it for easy access. The original code belongs to Forward Computing and Control Pty. Ltd. (by PowerBroker2)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better HX711 alternative or higher similarity.

HX711 reviews and mentions

Posts with mentions or reviews of HX711. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-29.
  • HX711 load cell modules baffling me
    2 projects | /r/AskElectronics | 29 Jul 2023
    I've got very basic code running:#include "HX711.h" //https://github.com/bogde/HX711#include "BufferedOutput.h" //https://github.com/PowerBroker2/SafeString// HX711 circuit wiring#define LOADCELL_DOUT_PIN 2#define LOADCELL_SCK_PIN 3HX711 scale;createBufferedOutput(BufferedOut, 80, DROP_UNTIL_EMPTY); //for non-blocking printingvoid setup() {Serial.begin(9600);while(!Serial) {}BufferedOut.connect(Serial);scale.begin(LOADCELL_DOUT_PIN, LOADCELL_SCK_PIN);scale.set_gain(128);delay(500);}void loop() {  // if (scale.wait_ready_timeout(500)) { //nonblocking?if (scale.is_ready()) {// printBinary(scale.read());// BufferedOut.println(scale.read());Serial.println(scale.read());delay(100);}}
  • Making an automated rig for chemistry test. Cannot read a load cell accurately.
    1 project | /r/ArduinoProjects | 30 Jun 2023
    I've confirmed the input and output resistances of my load cell are identical (995.3Ω) with an LCR meter. I've used Sparkfun's HX711 PCB because I heard the power supply on it is super noise-free. I've made the load cell rig out of aluminum and steel, so it's super stiff. Yet I still see constant drift. Values going down, down, down. Using basic example of the bogde library (link).
  • Arduino Pro Micro - usb input lag with JoyStick library
    1 project | /r/arduino | 16 May 2023
    the lag is way more likely to be from the HX711, it is using a bitbang shift implementation with delays everywhere, have a read of https://github.com/bogde/HX711/blob/master/src/HX711.cpp if you doubt me
  • Hx711 and uno not writing to array fast enough.
    1 project | /r/arduino | 17 Apr 2023
    My setup involves a load cell which with an HX711 using I2C to communicate over digital pins 3pwm for clock and 2 for data. I've been using the Hx711 library by bogde https://github.com/bogde/HX711
  • Completely new to this, missing a step
    1 project | /r/esp8266 | 14 Jan 2023
    I have loaded the Wemos boards into the IDE through Boards Manager (using this guide), and the HX711 Library (linked in the project guide), though that shouldn't really affect testing from what I can tell.
  • Calibrating load cell using eeprom.
    1 project | /r/arduino | 20 Jul 2022
    If you’re using this library https://github.com/bogde/HX711
  • Weight sensor w/ nodemcu, HX711, load cells: Help! Can’t calibrate.
    2 projects | /r/esp8266 | 1 May 2022
    I'd try using the HX711 lib that Tasmota is using directly in a test program. If that works then you know it's an issue with the Tasmota code specifically.
  • Load Cell calibration coding not working
    1 project | /r/arduino | 29 Apr 2022
  • Load cell pedals
    2 projects | /r/simracing | 16 Dec 2021
  • How can I obtain stable and accurate readings from an HX711 connected to a load cell?
    1 project | /r/AskElectronics | 12 Sep 2021
    /** * * HX711 library for Arduino - example file * https://github.com/bogde/HX711 * * MIT License * (c) 2018 Bogdan Necula * **/ #include "HX711.h" // HX711 circuit wiring const int LOADCELL_DOUT_PIN = 2; const int LOADCELL_SCK_PIN = 3; HX711 scale; void setup() { Serial.begin(38400); Serial.println("HX711 Demo"); Serial.println("Initializing the scale"); // Initialize library with data output pin, clock input pin and gain factor. // Channel selection is made by passing the appropriate gain: // - With a gain factor of 64 or 128, channel A is selected // - With a gain factor of 32, channel B is selected // By omitting the gain factor parameter, the library // default "128" (Channel A) is used here. scale.begin(LOADCELL_DOUT_PIN, LOADCELL_SCK_PIN); Serial.println("Before setting up the scale:"); Serial.print("read: \t\t"); Serial.println(scale.read()); // print a raw reading from the ADC Serial.print("read average: \t\t"); Serial.println(scale.read_average(20)); // print the average of 20 readings from the ADC Serial.print("get value: \t\t"); Serial.println(scale.get_value(5)); // print the average of 5 readings from the ADC minus the tare weight (not set yet) Serial.print("get units: \t\t"); Serial.println(scale.get_units(5), 1); // print the average of 5 readings from the ADC minus tare weight (not set) divided // by the SCALE parameter (not set yet) scale.set_scale(1000.f); // this value is obtained by calibrating the scale with known weights; see the README for details scale.tare(); // reset the scale to 0 Serial.println("After setting up the scale:"); Serial.print("read: \t\t"); Serial.println(scale.read()); // print a raw reading from the ADC Serial.print("read average: \t\t"); Serial.println(scale.read_average(20)); // print the average of 20 readings from the ADC Serial.print("get value: \t\t"); Serial.println(scale.get_value(5)); // print the average of 5 readings from the ADC minus the tare weight, set with tare() Serial.print("get units: \t\t"); Serial.println(scale.get_units(5), 1); // print the average of 5 readings from the ADC minus tare weight, divided // by the SCALE parameter set with set_scale Serial.println("Readings:"); } void loop() { Serial.print("one reading:\t"); Serial.print(scale.get_units(), 1); Serial.print("\t| raw:\t"); Serial.print(scale.read(), 1); Serial.print("\t| average:\t"); Serial.print(scale.get_units(10), 1); Serial.print("\t| raw average:\t"); Serial.println(scale.read_average(10), 1); scale.power_down(); // put the ADC in sleep mode delay(5000); scale.power_up(); }
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 6 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic HX711 repo stats
10
861
0.0
12 months ago

bogde/HX711 is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of HX711 is C++.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com