An Arduino library to interface the HX711 24-Bit Analog-to-Digital Converter (ADC)] for reading load cells / weight scales. This is a very simple library that uses a single clock for all HX711 devices. This reduces the number of pins required to work with multiple HX711 devices.
This library supports all the available features on the HX711. Gain options are 128, 64, and 32. Sample rates up to 10 Samples per Second. The library supports upto 8 HX711 devices. (Note: many boards do not have Channel B connected to the HX711 chip)
To use Channel B the gain must be set to 32. Channel A is used if the gain is 128 or 64.
Reading the HX711 board is non-blocking. An attempt to recover from time outs is made. If the attempt is not successful the time out information is returned.
Allows setting for processor delay when reading HX711 data. For slow processors the delay is set small and faster precessors the delay is set longer. If long cables are installed between the microprocessor and HX711 board the delay should be increased.
See Examples for more details
This library should support all Arduino compatible boards. It was tested on ESP32, ESP8266 and Mega platforms.
There are other libraries around that support connection to a single board.