Am interfacing HX711 with arduino to measure the load of something. However, in my project, I need to continuously monitor the load.
I get fairly accurate values most of the time however, at times I suddenly get a junk value. For example, I call the weight function every 3 seconds and I have placed a 10kg weight, this is what I get. 17.25 is the concern.
10.04, 10.03, 17.25, 10.04, 10.03, 10.03
Am using HX711 library and my process function is a simple call as shown below.
float Processweight()
{
Serial.print(scale.get_units(40), 2);
scale.power_down(); // put the ADC in sleep mode
delay(500);
scale.power_up();
}
is there something that am missing? What could cause the wrong values?