hx711 load cell not working

Dear Friends

I read this topic and seems is en the line of what I need.

Recently I bought 3 load cells (1kg, 3kg,and 5kg), one HX711.

With mine arduino uno I conect one load cell.

DT to pin D3 from uno and CLK to pin D2 from uno.

Load cell works fine and it is very sensitive.

For the project I not need to use a big board like arduino uno, and I buy the arduino nano.

After upload the same code, same connections in the arduino nano, simply does not work.

The readings does not start, I try to change for digital ports D5 and D6 but nothing.
At the begginning I thout that the HX711 was broken, but I connect again in the uno and it works fine.

So the conclusion, there must be some problem with the arduino uno.

#include "HX711.h"

HX711 scale(3, 2); //HX711 scale(DT3, CLK2);

float calibration_factor = 275;//valores baixos aumenta a leitura
float units;
float ounces;

void setup()
{
  Serial.begin(9600);
  Serial.println("HX711 weighing");
  scale.set_scale(calibration_factor);
  scale.tare();
  Serial.println("Readings:");
}

void loop()
{
  Serial.print("Reading:");
  units = scale.get_units(),10;
 // if (units < 0)//se menpr que zero tara
  {
   // units = 0.00; //toma valor de zero
  }
  ounces = units * 0.035274;
  Serial.print(units);
  Serial.println(" grams");
  delay(1000);
}

Best
carlos

cpalha:
After upload the same code, same connections in the arduino nano, simply does not work.

Try to use the tricks of this link.

Hi Golam

Thanks, I had read this topic before.
Seems this arduino nano should not be good, If I disconnect the Digital cables, the readings appears in window. If I change DT for CLK cables (wrong position) the readings starts too. Attention, readings 0.00, so nothing.

Best regards
carlos