@thibmaek from the log it shows you’ve configured DOUT Pin as INPUT and SCK
Pin as OUTPUT
DOUT Pin should be as OUTPUT and SCK Pin as INPUT. Below is snippet of code from the HX711.h
class HX711
{
private:
byte PD_SCK; // Power Down and Serial Clock Input Pin
byte DOUT; // Serial Data Output Pin
byte GAIN; // amplification factor
long OFFSET = 0; // used for tare weight
@diaphanouscloak based on your picture of the load cell have ordered the 3d printed shoes(so to say) for the load cells. Will test the setup after they are delivered, expected by 6 August.
I used this thread to get 4 identical load cells, HX711 and wheatstone wiring as OP, got them wired up to a NodeMCU.
The first values I got were in the range of 8388607, which came awfully close to your first reported values, except the minus. As I used welding clamps to create the Wheatstone bridge, I suspected my wire connections were not solid. After soldering everything, I got -234390 at zero loads. One KG gave me around -234046 (I will have to do this again with a more exact weight)
Simply using the ‘calibrate_linear’ function in ESPHome solved the negative scale, every load cell works like a charm now.
@thibmaek did you ever get this to work correctly?
I have started getting -838860.00 all of a sudden also.
Worked before that for several months, so not sure what caused it?
Nope. I never got it working and gave up in the end to focus on other projects. I suspect this method of weighing with a HX711 and the load cells I have (square ones) is just not very accurate
I agree on the accuracy but was only using this to determine if I was in bed or not so the value didn’t need to be accurate.
I ended up redoing all the connections of the load cells and found oxidation around the solder points so I just tied them together instead, then shrink wrapped them and it works again now.
Have the same setup. D1 mini, HX711 green board and 4x 50kg load cell.
Tryed everything, but not working. Arduino and tasmota too. 2 different laptop and pc. Changed usb cables and ports.
Used D1 mini 5V GND D1 and D2 ports.
Have 2x HX711 and 8x loadcell not working at all. Only D1 mini can’t change yet. Maybe that is the problem?
Tryed E- to GND but nothing changed.
When I measure the load cells all are good E+ and E- 2kohms and the same between A+ A-.
tryed every permutation. Spent about 2 weeks for it. Many times resoldered everything.
Receive some ESP32 board now and use with that. One of my green HX711 not working at all and the chip very hot on it, never seen any value change.
The same connection the second green HX711 try to work but the value always moving down and up. If I put some weight I see that but never the right value. Setting up the filters but after restart get another value so can’t setup correctly. After some restart just stopped working and get high value about 8xxxxxx constantly and after that never show any change. Tryed with pc usb and with my phone charger with usb connection but nothing changed.
Not trying to be insulting at all. It’s just people come to these forums looking for answers and this issue is simply user error. It’s not hard at all. It’s 4 wires and a few lines of code. If its connected properly, it works. The op simply doesn’t have something connected right but instead of trying to help him through that, we have people talking about 5v vs 3.3v or various calibration algorithms One user (Karanbir) even suggests using a multiply filter. What?! That isn’t even remotely in the ballpark of helping. It’s frustrating for users to come here and read through pages and pages of various rabbit holes of troubleshooting which just makes the “problem” even more complex to diagnose. There were 2 or 3 users who actually posted the correct answers but for some reason they were ignored.