I am trying to measure mass using a HX711 load cell amplifier connected to a Arduino UNO, however, after attempting to run the program, I get infinity kg output.
I have checked the wires connecting the load cell for correct resistances, and I checked that the amplifier receives power. Is there anything else I might be missing?
Below is the code I am attempting to execute. I followed the Load Cell Amplifier HX711 Breakout Hookup Guide from Sparkfun to do the connections and for the assistance with the code.
My guess is that you're seeing infinities because you are passing zero to set_scale(). Your reading is then being divided by zero somewhere in the library code.