I am trying to make this 50kg load cell work with this HX711 chip. I currently have the following connections :
- Load cell red -> E+
- Load cell black -> E-
- Load cell white -> A-
- Load cell green -> A+
I am using this library and this code :
#include "HX711.h"
#define calibration_factor -7050
HX711 scale;
void setup()
{
Serial.begin(9600);
scale.begin(2, 3);
scale.set_scale(calibration_factor);
scale.tare();
}
void loop()
{
Serial.println(scale.get_units(1));
delay(100);
}
The load cell appears to register load changes but the value is constantly going up (or down if the calibration_factor is positive). The value change rate is very high (from 0 to 300 in a couple of seconds).
Edit : I have 2 load cells and both of them do the same thing (with different HX711 chips).
Edit 2 : My question is : has anyone experienced this ? Or does anyone have an idea as to why this is happening ?