What are the II2C registter values of your HX711 with "eacyC" i2C inttterface?

I need to implement I2C communication to the HX711 card (the one with the Attiny404) using “bare metal” C. I can make general read and writes to I2C devices and their registers (I’ve used the NAU7802 in the past). As for the HX711 card, the I2C device address is defined by the on-board DIP switch, but I do not know what register addresses I am supposed to use. I cannot find any documentation about what register addresses that the card is supporting, or what they do. I have read the HX711 documentation, and it does not have any concept of “registers” (everything is done via hardware connections), so your I2C implementation must be completely “home made”. I somehow get the impression that you just set the device address and read 4 successive bytes without writing any register value to the bus, but that would not be “proper” I2C.

I would like a list of the supported I2C registers, and what they do.

Hej @vatten

Yes, the HX711 does not have any registers. Your assumption is correct about how it works, essentially it’s a very minimal I2C.

The board only exposes two things: reading the weight (a plain 4-byte read) and a 1-byte write accepting one of 5 commands (for gain and sleep). You can find the specific implementation of it here.

Hope that clears it up!