deckle studio
Open the editor
Behavioural mixed-signal modelHX711hx711

HX711 (24-bit ADC for load cells)

24-bit ADC for weigh scales: channel A (gain 128 / 64) and B (gain 32), 10 or 80 samples/s, the two-wire interface (DOUT ready low, 25–27 clock pulses select the next channel / gain, PD_SCK high > 60 µs powers it down) as in the Avia data sheet. Ratiometric to AVDD: feed the bridge from AVDD. The on-chip regulator (BASE / VFB) is not modelled: supply AVDD directly (VFB to AGND). Use it e.g. with the HX711 library (bogde): begin(dout, sck), read(), get_units().

DVDDAVDDVSUPAGNDINA+INA−INB+INB−VBGBASEVFBPD_SCKDOUTRATEXIXOHX711
Schematic symbol

Key data

Category
ICs
Simulation model
Behavioural mixed-signal model
Manufacturer part number
HX711
Reference prefix
U
Pins
16
Land pattern
SOIC-16_3.9x9.9mm_P1.27mm

Simulation model

A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.

Model
hx711
Supply pins
DVDD / AGND

Pins 16

PinNameUse
DVDDDVDDSupply pinSupply input: decouple with 100 nF close to the pin
AVDDAVDDSupply pinSupply input: decouple with 100 nF close to the pin
VSUPVSUPSupply pinSupply input: decouple with 100 nF close to the pin
AGNDAGNDGround pinGround
INA+INA+Analog pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
INA-INA−Analog pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
INB+INB+Analog pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
INB-INB−Analog pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
VBGVBGPassive pinContact: carries a signal or supply wire
BASEBASEOutput pinLogic output: drives the next input; do not tie outputs together
VFBVFBInput pinLogic input: never leave open (tie unused inputs to VCC or GND)
PD_SCKPD_SCKInput pinLogic input: never leave open (tie unused inputs to VCC or GND)
DOUTDOUTOutput pinLogic output: drives the next input; do not tie outputs together
RATERATEInput pinLogic input: never leave open (tie unused inputs to VCC or GND)
XIXIInput pinLogic input: never leave open (tie unused inputs to VCC or GND)
XOXOOutput pinLogic output: drives the next input; do not tie outputs together

PCB

Verified land patternSOIC-16_3.9x9.9mm_P1.27mm
PackageLand patternStatusSource
SOP-16SOIC-16_3.9x9.9mm_P1.27mmVerified land patternKiCad 10.0.7: symbol HX711, footprint Package_SO:SOIC-16_3.9x9.9mm_P1.27mm; pads by pin name from the KiCad symbol; Avia HX711 data sheet
  • AVDD Analog supply and reference (2.6–5.5 V, 100 nF); also the bridge excitation
  • VSUP To the supply (regulator input)
  • VFB To AGND when AVDD is supplied directly (regulator off)
  • XI To AGND (internal oscillator)
  • RATE To AGND (10 SPS) or DVDD (80 SPS)
  • VBG 100 nF to AGND