Electronic Module|Pressure Sensor Module HX711---Hardware Introduction

physical photos

insert image description here

Module Introduction

HX711 is a 24-bit A/D converter chip specially designed for high-precision load cells. Compared with other chips of the same type, this chip integrates the peripheral circuits required by other chips of the same type, including regulated power supply, on-chip clock oscillator, etc., and has the advantages of high integration, fast response, and strong anti-interference. The cost of the whole machine of the electronic scale is reduced, and the performance and reliability of the whole machine are improved. The interface and programming of the chip and the back-end MCU chip are very simple, all control signals are driven by pins, and there is no need to program the registers inside the chip. The input selector switch can select channel A or channel B arbitrarily, and connect with its internal low-noise programmable amplifier. Channel A has a programmable gain of 128 or 64, corresponding to a full-scale differential input signal amplitude of ±20mV or ±40mV, respectively. Channel B is a fixed gain of 32 for system parameter detection. The regulated power supply provided in the chip can directly provide power to the external sensor and the A/D converter in the chip, and there is no need for another analog power supply on the system board. The on-chip clock oscillator does not require any external components. The power-on automatic reset function simplifies the initialization process of power-on.

Module Features

  • Two Selectable Differential Inputs
  • On-chip low-noise programmable amplifier with selectable gains of 64 and 128
  • On-chip voltage regulation circuit can directly provide power to external sensors and on-chip A/D converter
  • The on-chip clock oscillator does not require any external components, and an external crystal or clock can also be used if necessary
  • Power-on automatic reset circuit
  • Simple digital control and serial communication: all controls are input by pins, and the on-chip registers do not need to be programmed
  • Selectable 10Hz or 80Hz Output Data Rate
  • Simultaneous suppression of 50Hz and 60Hz power interference
  • Power consumption (including regulated power supply circuit): typical operating current: <1.7mA, power-off current: <1μA
  • Operating voltage range: 2.6 ~ 5.5V
  • Operating temperature range: -20 ~ +85°C
  • 16-pin SOP-16 package

hardware

HX711 internal block diagram
insert image description here

In protues, as shown in the figure below,
insert image description here
the pin description is as follows:
insert image description here

insert image description here

analog input

The Channel A analog differential input can be interfaced directly to the differential output of a bridge sensor. Since the output signal of the bridge sensor is relatively small, in order to make full use of the input dynamic range of the A/D converter, the programmable gain of this channel is relatively large, which is 128 or 64. These gains correspond to a full-scale differential input voltage of ±20mV or ±40mV, respectively. Channel B is a fixed gain of 32, corresponding to a full-scale differential input voltage of ±80mV. Channel B is used to detect system parameters including battery.

Power supply

The digital power supply (DVDD) should use the same digital power supply as the MCU chip. The regulator circuit in the HX711 chip can provide analog power to the A/D converter and external sensors at the same time. The supply voltage (VSUP) of the regulated power supply can be the same as that of the digital power supply (DVDD). The output voltage value (VAVDD) of the regulated power supply is determined by the external voltage divider resistors R1, R2 and the output reference voltage VBG of the chip (Figure 1), VAVDD=VBG(R1+R2)/R2. This output voltage should be chosen to be at least 100mV lower than the input voltage (VSUP) of the regulated power supply. If you do not use the voltage regulator circuit in the chip, the pin VSUP and the pin AVDD should be connected, and connected to a low-noise analog power supply with a voltage of 2.6-5.5V. There is no need to connect an external capacitor to the pin VBG, the pin VFB should be grounded, and the pin BASE is not connected.

clock selection

If the pin XI is grounded, HX711 will automatically choose to use the internal clock oscillator, and automatically close the external clock input and the related circuits of the crystal oscillator. In this case, typical output data rates are 10Hz or 80Hz. If an accurate output data rate is required, an external input clock can be connected to the XI pin through a 20pF DC blocking capacitor, or a crystal oscillator can be connected to the XI and XO pins. In this case, the on-chip clock oscillator circuit is automatically turned off, and a crystal oscillator clock or an external input clock circuit is used. At this point, if the crystal oscillator frequency is 11.0592MHz, the output data rate is exactly 10Hz or 80Hz. The output data rate scales up or down with the crystal frequency in the above relationship. When using an external input clock, the external clock signal does not necessarily need to be a square wave. The clock signal on the crystal oscillator output pin of the MCU chip can be connected to the XI pin through a 20pF DC blocking capacitor as an external clock input. The amplitude of the external clock input signal can be as low as 150mV.

Serial communication

The serial port communication line is composed of pins PD_SCK and DOUT, which are used to output data, select input channel and gain. When the data output pin DOUT is at a high level, it indicates that the A/D converter is not ready to output data, and the serial port clock input signal PD_SCK should be at a low level. When DOUT changes from high level to low level, PD_SCK should input 25 to 27 different clock pulses. The rising edge of the first clock pulse will read the highest bit (MSB) of the output 24-bit data until the 24th clock pulse is completed, and the 24-bit output data will be output bit by bit from the highest bit to the lowest bit. The 25th to 27th clock pulses are used to select the input channel and gain of the next A/D conversion.

Reset and power down

When the chip is powered on, the power-on automatic reset circuit in the chip will automatically reset the chip. The pin PD_SCK input is used to control the power off of HX711. When PD_SCK is low level, the chip is in normal working state.

If PD_SCK changes from low level to high level and remains at high level for more than 60μs, HX711 will enter the power-off state

If the on-chip regulated power supply circuit is used, when the power is turned off, the external sensor and the on-chip A/D converter will be powered off at the same time. When PD_SCK returns to low level again, the chip will automatically reset and enter normal working state. After the chip enters normal working state from reset or power-off state, channel A and gain 128 will be automatically selected as the input channel and gain of the first A/D conversion. The subsequent input channel and gain selection are determined by the number of pulses of PD_SCK, see the section on serial communication. After the chip enters the normal working state from the reset or power-off state, the A/D converter needs 4 data output cycles to be stable. DOUT will change from high level to low level after 4 data output cycles, and output valid data.

PCB design of relevant parts of HX711

PCB board reference design circuit diagram of relevant parts of HX711
insert image description here

Guess you like

Origin blog.csdn.net/qq_32761549/article/details/130981715