HX711-multi
HX711-multi copied to clipboard
Update HX711-multi.cpp
I was trying to use this library to measure 12 load cells with 12 hx711 modules. This library was working fine up to 4 load cells and modules, but oddly when I was trying to measure more than 5 load cells, it was not working. Then I decided to write my own code to read the signals and I found out what is wrong with this library: the HX711 datasheet clearly says that PD_SCK high time should not exceed 50 us, so as the numbers of load cells increase you pass the limit. The solution is so simple: you just have to write the results in PD_SCK low time which does not have limits.
now it works for me fine with 12x HX711 and is not limited to that.
You're a life saver! Mine worked with only 2 load cells (arduino micro), after that it stopped. This fixed it easily, thanks for the time saved that would have been wasted trying to figure this out! 🎉
P.S. Even though this project seems to be abandoned, please leave this PR open for other strugglers to see 😉
You're a life saver! Mine worked with only 2 load cells (arduino micro), after that it stopped. This fixed it easily, thanks for the time saved that would have been wasted trying to figure this out! 🎉
you are welcome!