S Type Load Cell with Arduino and HX711

Hello,

I am Trying to preparare a small project that involves a S type load cell (300kg) connected to a HX711 and to an Arduino UNO.

here's the load cell S tipo cella di carico 300KG del sensore di forza di pressione e tensione dell'acciaio legato : Amazon.it: Commercio, Industria e Scienza

As many others i am experiencing extremely volatile values even when i try to perform a calibration with a know weight (2kg).

after awhile however (e.g. 2 or 3 minutes) the values are more stable.

I tried several workaround proposed here and in other forums. Like:

I there something i did not consider in order to get stable measurements?

Thank you in advance.

Michele

below is an example of the code i tried to perform calibration

(the code is not aligned with the wiring since the pics were from a previos trial. the result is still the same)



#include <HX711.h>;

HX711 scale(A1, A0);

float calibration_factor = 96; // this calibration factor is adjusted according to my load cell
float units;


void setup() {
  Serial.begin(9600);
  Serial.println("HX711 calibration sketch");
  Serial.println("Remove all weight from scale");
  Serial.println("After readings begin, place known weight on scale");
  Serial.println("Press + or a to increase calibration factor");
  Serial.println("Press - or z to decrease calibration factor");

  scale.set_scale();
  scale.tare();  //Reset the scale to 0  
}

void loop() {
  scale.set_scale(calibration_factor); 

  Serial.print("Reading: ");
  units = scale.get_units(); 
  if (units < 0) {
    units = 0.00;
  }
  Serial.print(units);
  Serial.print(" g."); 
  Serial.print(" calibration_factor: ");
  Serial.print(calibration_factor);
  Serial.println();
  delay(200);
  if(Serial.available()) {
    char temp = Serial.read();
    if (temp == 'a') {
      calibration_factor += 10;
    } else if(temp == 'z') {
      calibration_factor -= 10;
    }
  }
  
}

Never worked with 300 KG load cells but be aware that the 2 KG test weight is at the end of its range (less than 1% of its range).

Probably the datasheet tells something about the accuracy/precision at the end of the range.

Try using a weight of 50-100 KG (human) or at least 10 KG (bucket water) and see how fast it stabilizes.

1 Like

Yes, I should definitely try with higher forces. still concerned about the fluctuations in the readings though. i don't give up!

1 Like

Hello,
Today i had the chance to perform some trials once again. i changed the following:

I guess i just got two faulty HX711 modules before picking a working one.

see video

Never do :slight_smile:

Good to hear it works as intended,
I'm wondering how your 1 kg load now works (or not)

I am actually curious as well. Once i’m finished with the current project i will try the spare module i have with the 1kg load cell.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.