HX711 scale not reading [SOLVED]

I am using the HX711 for my project. Right now I am just trying to get the scale to work and I am using the Load Cell Amplifier HX711 Breakout Hookup Guide. I pretty much copied the code and it isn’t reading values just 0.0 lbs. It worked fine with my friends arduino nano when he tested it. If anyone can figure out if I am doing something wrong here is my code:

// This #include statement was automatically added by the Particle IDE.
#include "HX711ADC.h"

#define calibration_factor -7050.0 //This value is obtained using the SparkFun_HX711_Calibration    sketch

#define DOUT  D0
#define CLK  D1

HX711ADC scale(DOUT, CLK);

void setup() {
  Serial.println("HX711 scale demo");

  scale.set_scale(calibration_factor); //This value is obtained by using the SparkFun_HX711_Calibration sketch
  scale.tare(); //Assuming there is no weight on the scale at start up, reset the scale to 0


void loop() {
  Serial.print("Reading: ");
  Serial.print(scale.get_units(), 1); //scale.get_units() returns a float
  Serial.print(" lbs"); //You can change this to kg but you'll need to refactor the calibration_factor

Hello @mpayne10

I noticed that the title is marked as solved, were you able to find the answer? If you have would you mind posting it so that if anyone else runs into the same issue they know how to fix it?


I just messed up with the wiring

1 Like