title: Incorrect value getting with 20kg electronic load cell with HX711 and ESP32 module
body: <p>I have one 20kg Electronic load cell sensor to measure the weight in my project. To convert the load cell value to human readable format I have used the HX711 module which converts the value and gives to my ESP32 module. The problem is up to 900gms it gives proper weight but when we put more weight it gives random long negative values(e.g -806235). I don't know why this happen even load cell capacity is to measure weight up to 20kg.</p>
  
  <p>I have included the HX711 library in my code with ESP32. Link is: <a href="https://github.com/bogde/HX711" rel="nofollow noreferrer">https://github.com/bogde/HX711</a></p>
  
  <pre><code>#include "HX711.h"
  
  #define snsr_clk 4
  #define snsr_data 15
  
  HX711 scale;
  float currentweight, scale_factor;
  
  void setup()
  {
      Serial.begin(9600);
      scale.begin(snsr_data, snsr_clk);
  
      //scale.set_scale();           //for calibration
      scale.set_scale(103229);       //measured scale factor
      scale.tare();
  }
  
  void loop()
  {
    //For calibration purpose---------------------
    /*currentweight = scale.get_units(10);
    //Serial.print("Current weight:\t");
    //Serial.println(currentweight);
  
    scale_factor = (currentweight);
    Serial.print("Scale Factor:\t");
    Serial.println(scale_factor);*/
    //--------------------------------------------
  
    //To get value in kg---------------------
    Serial.print("Get Unit:\t");
    Serial.println((scale.get_units(10)*1000));
    //----------------------------------------------
  }
  </code></pre>
  
  <p>Please guide how I will get the weight more than 900gms.</p>