hx711 0.2.1

A platform agnostic driver to interface with the HX711 (load cell amplifier and ADC)
Documentation

Build Status

HX711

A platform agnostic driver to interface with the HX711 (load cell amplifier and 24 bit ADC)

What works

  • Resetting the chip
  • Setting the mode (gain and channel)
  • Reading conversion results (blocking and non blocking)

Tested with STM32F103. Pull requests for other hardware welcome!

Because the interface works by toggling of GPIO pins, timing is important. Example for linux (Raspberry Pi) does not work reliably due to timing issues, but it should work good enough for quick and easy testing.

Examples

See here: https://github.com/jonas-hagen/hx711-examples

Changelog

v0.2

  • Update to embedded-hal digital pin v2 API. Thanks to mmou!

v0.1

  • First version.

License

Licensed under either of

at your option.