bogde / HX711

An Arduino library to interface the Avia Semiconductor HX711 24-Bit Analog-to-Digital Converter (ADC) for Weight Scales.
MIT License
876 stars 535 forks source link

Formula to find hx711 output of load cell voltage output #238

Open ivanedpratama opened 2 years ago

ivanedpratama commented 2 years ago

Hello @electrokean @DavidRTucker and everyone,

I have a case, the formula used to find the output of the hx711 module? can anyone help me ? I use a 5 kg loadcell and a NodeMCU ESP8266 microcontroller with a load cell input voltage of 3.3 V

Loadcell Specifications: Rated Load: 5Kg Rated Output: 1.0mV/V±0.15mV/V Zero Output: ±0.1mV/V Creep: 0.03%F.S./30min Input End: Red+(power), Black-(power) Output End: Blue/Green+(signal), White-(signal) Recommended operating voltage: 3 ~ 12 VDC Maximum operating voltage: 15 VDC Input Impedance: 1115±10%? Output Impedance: 1000±10%? Protection class: IP65

Thank you ...

electrokean commented 2 years ago

You should do it via experimentation to get the best accuracy for your actual hardware. If you want to estimate the readings, then you'll need to do that yourself based on reading the datasheet. You can estimate the gain, but the offset will be dependent on the actual hardware setup (any platform, screws, etc that are adding weight). I haven't used the HX711 in a long time so cannot help any further.