I’m having trouble with a load cell connect via HX711 module. The output i’m getting isn’t stable. It’s not fluctuating, it’s just constantly dropping. I started out with a reading of 220991 and am now down to 204998 (and dropping). The rate of decent isn’t dropping either. See screenshot of the console to get an idea of what i mean.
Thanks for the link, will look into it, but the temperature can’t be the problem as the sensor is on room temperature for the duration of my measurements.
There are a number of factors which might cause a short-term drop in the readings. I am not familiar with the HX711 load cell so these are just generic ideas related to using high precision ADCs.
The first thing I would look at is the reference voltage that is being used. If you are using the HX711 internal reference voltage supply then is the IC supply stable with no drop outs?
The impedance of the load on a ADC has to be high and for this reason it is best to have a unity gain op-amp (buffer amp) between the voltage being measured and the ADC. It could be the impedance is drifting out of the acceptable range and hence the silly answer? It is relatively simple to put an op amp IC on the input and see if this cures the problem.
If it is none of the above then you could try using a software low pass filter to ‘remove/ignore’ the dropout. Any number of filters can be used; rolling average, median, 1D kalman.
The HX711 is the ADC, and is designed to work directly with load cells.
Reference voltage is less important as it is not sampling a voltage from an unrelated circuit - the supply to the wheatstone bridge is the same supply as the ADC (if it’s wired correctly, anyway) and hence it’s relatively immune to this. The HX711 also includes an AVDD regulator - with external transistor - for noise immunity.
Filtering won’t help here as this isn’t random noise, this is a long term drift. Still think this may be temperature - the log above shows <1% over a couple of minutes, but the quoted low value has no time associated with it.
@justvervaart can you put a temperature sensor in the closed environment to check?
I noticed that you’re not calling power_down() in the HX711 library after you’ve read the weight.
You should do this immediately after you do get_value() (and probably power_up() before you read). It’s possible that this is leaving the load cell biased and causing heating, but that’s only a guess… easy to try though.
I have worked with the hx711 for a long time and seen this change
It is about 1% witch is good for that chip
the sparkfun version has no shield on it , others do ??
if you are reading more than one cell then temp makes a great dif.
the diff. from the floor and a table top can make this kind of change
very small voltage changes (=.001 ) will give you this error
I have put a gnd wire on all cells to help this kind of prob.
Thx all for the advice, I wanted to test some of them today, but somehow (how?) the problem just is not there anymore. Readings are stable now. I don’t understand.
most load cell are connected to a metal frame, so grounded is not needed
but my are mounted on a wood box.
So I ran a gnd wire to each cell, I am using 4 full bridge load sells in parallel into the hx711