HX711
HX711 copied to clipboard
"is_ready()" does not return "false" when D-OUT pin disconnected.
Hi.
"is_ready()" does not return "false" when D-OUT pin disconnected.
the reason is noise caused by High-Impedance of input pin.
the solution is to configure internal pull-up resistor.
so in begin():
pinMode(DOUT, INPUT);
should change to:
pinMode(DOUT, INPUT_PULLUP);
You are right! THX
@HamidSaffari thanks for your feedback. what hardware did you use?
an atmega32u4 bettle.