Load cell problems

Hello everybody I´m beginner in arduino.
I trying to use load cell and got a problem about load cell with HX711 i connect the circuit and code like the tutorial then i try to push them(one side similar pin it and one side to take a load) and there not response the program always show reading 0 and average around 368. Could someone give me some advice please. Thank you.
PS. Sorry I’m weak in English too.
This is code.

#include “HX711.h”

// HX711.DOUT - pin #A1
// HX711.PD_SCK - pin #A0

HX711 scale(A1, A0); // parameter “gain” is ommited; the default value 128 is used by the library

void setup() {
Serial.begin(38400);
Serial.println(“HX711 Demo”);

Serial.println(“Before setting up the scale:”);
Serial.print(“read: \t\t”);
Serial.println(scale.read()); // print a raw reading from the ADC

Serial.print(“read average: \t\t”);
Serial.println(scale.read_average(20)); // print the average of 20 readings from the ADC

Serial.print(“get value: \t\t”);
Serial.println(scale.get_value(5)); // print the average of 5 readings from the ADC minus the tare weight (not set yet)

Serial.print(“get units: \t\t”);
Serial.println(scale.get_units(5), 1); // print the average of 5 readings from the ADC minus tare weight (not set) divided
// by the SCALE parameter (not set yet)

scale.set_scale(2280.f); // this value is obtained by calibrating the scale with known weights; see the README for details
scale.tare(); // reset the scale to 0

Serial.println(“After setting up the scale:”);

Serial.print(“read: \t\t”);
Serial.println(scale.read()); // print a raw reading from the ADC

Serial.print(“read average: \t\t”);
Serial.println(scale.read_average(20)); // print the average of 20 readings from the ADC

Serial.print(“get value: \t\t”);
Serial.println(scale.get_value(5)); // print the average of 5 readings from the ADC minus the tare weight, set with tare()

Serial.print(“get units: \t\t”);
Serial.println(scale.get_units(5), 1); // print the average of 5 readings from the ADC minus tare weight, divided
// by the SCALE parameter set with set_scale

Serial.println(“Readings:”);
}

void loop() {
Serial.print(“one reading:\t”);
Serial.print(scale.get_units(), 1);
Serial.print("\t| average:\t");
Serial.println(scale.get_units(10), 1);

scale.power_down(); // put the ADC in sleep mode
delay(5000);
scale.power_up();
}

images.jpg

Disguiser:
scale.set_scale(2280.f); // this value is obtained by calibrating the scale with known weights; see the README for details

Did you calibrate the scale in accordance with the README?

README is manual.

How to Calibrate Your Scale

  1. Call set_scale() with no parameter.
  2. Call tare() with no parameter.
  3. Place a known weight on the scale and call get_units(10).
  4. Divide the result in step 3 to your known weight. You should get about the parameter you need to pass to set_scale.
  5. Adjust the parameter in step 4 until you get an accurate reading.

but when I press the load cell it doesn't response.

So the result of your calibration was the same number, 2280.f, that is in the example? Seems unlikely.

What weight did you use for calibration?

Show your calibration code (using code tags), the results of step 3 with set_scale() with no parameter, the parameter you calculated, and the results of step 3 with set_scale() with the parameter.

Also, how about posting a link to your load cell datasheet, and a few raw readings with no load and raw readings with your calibration weight.

i don't calibrate yet. but if i use this code when i press the load cell must be change the reading and average right?

this is load cell datasheet
Weighting sensor:5 kg
Rated output: 1.0 ± 0.15mV / V
Nonlinear: 0.05% F.S
Hysteresis: 0.03% F.S
Repeatability: 0.03% F.S
Creep: 0.1% F.S
Temperature Effect on Output: 0.01% F.S /°C
Zero temperature Effect: 0.05% F.S / °C
Input impedance: 1115 ± 10% Ω
Output Impedance: 1000 ± 10% Ω
Insulation resistance: ≥ 1000 MΩ
Safety overload rate: 150% F.S
Ultimate overload rate: 200% F.S
Operating temperature range: -20 ~ 60 °C
Recommended operating voltage: 5V
Maximum operating voltage: 10V
Material: Aluminum
Protection class: IP65
Cable: φ0.8 × 180
Table size: 160 × 160 mm
Wiring: (Red: Power+) (Black: Power-) (Green: Signal+) (White: Signal-)