Getting Random values with hx711 module

Hii everyone,
I am trying to get value value with load cell ,I mean the hx711 module will some random i suing arduino nano
Not connected. Select a board and a port to connect automatically.

#include "HX711.h"

#define DOUT  2
#define CLK  3

HX711 scale;

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

  scale.begin(DOUT, CLK);
  scale.set_scale(-7050.0); // Replace -7050.0 with your calculated calibration factor
  scale.tare(); //Assuming there is no weight on the scale at start up, reset the scale to 0

  Serial.println("Readings:");
}

void loop() {
  Serial.print("Reading: ");
  Serial.print(scale.get_units(10), 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
  Serial.println();
}
This is a code part

14:49:22.016 -> Reading: -1.3 lbs

14:49:22.840 -> Reading: -1.3 lbs

14:49:23.718 -> Reading: -1.3 lbs

14:49:24.561 -> Reading: -1.3 lbs

14:49:25.457 -> Reading: -1.3 lbs

14:49:26.313 -> Reading: -1.3 lbs

14:49:27.166 -> Reading: -1.3 lbs

14:49:28.028 -> Reading: -1.3 lbs

14:49:28.887 -> Reading: -1.2 lbs

14:49:29.744 -> Reading: -1.2 lbs

14:49:30.612 -> Reading: -1.2 lbs

14:49:31.460 -> Reading: -1.2 lbs

14:49:32.315 -> Reading: -1.2 lbs

14:49:33.174 -> Reading: -1.2 lbs

14:49:34.041 -> Reading: -1.2 lbs

14:49:34.909 -> Reading: -1.2 lbs

14:49:35.761 -> Reading: -1.2 lbs

14:49:36.601 -> Reading: -1.2 lbs

14:49:37.476 -> Reading: -1.2 lbs

14:49:38.339 -> Reading: -1.2 lbs

14:49:39.192 -> Reading: -1.2 lbs

14:49:40.058 -> Reading: -1.2 lbs

14:49:40.900 -> Reading: -1.2 lbs

14:49:41.761 -> Reading: -1.2 lbs

14:49:42.627 -> Reading: -1.2 lbs
without putting any weight

have you done what's described in the comment?

Thanks for reply @J-M-L how to calculated the calibration factor because i have no unknown weight please guide me

There is documentation in the GitHub

Try this in loop. Readings change?

void loop() {

  if (scale.is_ready()) {
    long reading = scale.read();
    Serial.print("HX711 reading: ");
    Serial.println(reading);
  } else {
    Serial.println("HX711 not found.");
  }

  delay(1000);
}

Thanks for reply @SurferTim it loop is not running

I used the HX711 library from the repository. This runs on my Mega2560, and I don't have a HX711. Problem is it is printing "HX711 reading: 0" to the serial monitor instead of "HX711 not found." There are other HX711 libraries, like from Adafruit.

#include <HX711.h>

HX711 scale;
#define DOUT 6
#define CLK 7

void setup() {
  Serial.begin(38400);
  Serial.println("HX711 test");
  scale.begin(DOUT, CLK);
  Serial.println("Readings:");
}

void loop() {
  if (scale.is_ready()) {
    long reading = scale.read();
    Serial.print("HX711 reading: ");
    Serial.println(reading);
  } else {
    Serial.println("HX711 not found.");
  }
  delay(1000);
}

Have you read the documentation and performed the calibration?