Skip to content

RickLloyd24/HX711_Multi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HX711 Multi Board

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.

Code Example

See Examples for more details

Hardware Support

This library should support all Arduino compatible boards. It was tested on ESP32, ESP8266 and Mega platforms.

Similar libraries

There are other libraries around that support connection to a single board.

About

HX711 Library that supports multiple boards with a single clock

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages