New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NodeMCU + HX711 + 4 50kgs Load Cells Returns "-83388608" #132
Comments
Dear @TommiPio, After a quick glimpse
So, you might want to use More thoughtsHowever, the returned value could actually be a high number as I don't see any calls to @ClemensGruber: Would it actually be possible that reading the HX711 would yield such strange values when not properly configured through appropriate calls to With kind regards, |
Thanks @amotl , unfortunately this didn't solve it. I kinda made it work, but in a strange way, I really need someone to explain me what is going on with this. Normally, as seen in my schematic, the VCC pin on the hx711 should be connected to the 3v pin, but this stuck the output to the infamous value, -8388608. I was playing with my cables, and I noticed that if I link the 3v pin of nodemcu, to the E+ pin on the HX711, suddenly the load cells are working fine. What am I missing here? Could I actually wire my sensor this way without even passing from the vcc pin on hx711?
|
Are you sure your HX711 board is good? Do you have another one to test? |
Hi @bogde, thanks for this library. I already tried on a breadboard with new hx711, loadcells, and nodemcu, same problem applied. Everything came from the same reseller, so maybe both hx711 were faulty (?) Anyway, I can confirm that at least with one of the hx711, this wiring is working. Do I risk of burning something with such a wiring? Does it have any sense that it's working like this for you? @amotl i thought that too, it's a couple days that I was playing with different codes and even different libraries, but ALL the possible codes always gave me that value. And it's quite strange, I couldn't find anyone on the internet with such problems. |
@TommiPio two things: doublecheck your wiring. You are using a half bridge setting, so perhaps the schematic of the Sparkfun load cell combinator can help: https://github.com/sparkfun/Load_Sensor_Combinator/blob/V_1.1/Hardware/SparkFun%20Load%20Sensor%20Combinator.sch Second: did you "calibrate" (more correct ist "justify") your setting and tare your setting? You have to do this before. Are this values in the config file already? Seems that you are reading the raw values only and no kg values, see the example https://github.com/bogde/HX711/blob/master/examples/HX711_full_example/HX711_full_example.ino |
I'm pretty sure that you use separated power supply (not directly from Arduino). If you do, connect power supply ground to Arduino too. |
Had same problem here with the same strange value. Spent several hours until I noticed that manufacturer did not conform to standard of sensor color cables. In my case conneting Black Power + , white Power - Red Signal + green signal - solved the issue. Hope it helps. |
Things like constant readings of 8388607 [1] might also be caused by faulty hardware. Enjoy reading [2] just reported by @poesel. Thanks! [1] |
@amotl can i have your moment please. I've copied the above code. and variables with these ** ** .
i don't know how to declare them. any help would be appreciated. thank you |
@prof-kalabwa where is your code from? You may have a look at the example there. It seems that |
Same here, I lastly went to the selling page that describes this info, changed and fixed. |
Excellent mod !!!!, After a day of search i was able to get loadcell to work. Leaving 5v connected to VCC on HX711 module or disconnecting it did not many any difference. |
I didn't end up using this wiring in the end because the value were not stable enough for me. I really think it depends on the Hx711 unit, I read that with the sparkfun one the problems are almost non-existent. Anyway, I always dreamt about understanding why this nonsense wiring schemed I found out seemed to be working ahaha |
I wanted to detect weight changes and trigger a action so value's accuracy was not a concern. |
Hello, I'm trying to use 4 50kgs loadcells with a nodemcu and an hx711 to create a Bed Presence Sensor.
This is my circuit
What happen, is that the serial monitor just reports "-83388608" or "83388607" as value. I'm using the hx711 library by Bogde, but I also tried other two different hx711 libraries and all of them gave me the same result.
Anyway, this is the code I'm using now.
I also have two copies of this sensor, one soldered to a protoboard and one tested using a breadboard, both seems to give me the same problem.
What can I do?
The wifi and mqtt parts are working fine. The value output from the hx711 is "-8388608" when vcc connected to 3v pin or VU pin (that should output 5v).
I'm quite a noob, but if you guys could give me some advice I would love it.
The text was updated successfully, but these errors were encountered: