Introducció
This manual provides detailed instructions for the installation, setup, and operation of the ShangHJ Digital Load Cell Weight Sensor and HX711 ADC Module kit. This kit is designed for high-precision electronic weighing applications, compatible with microcontrollers like Arduino and Raspberry Pi, making it ideal for DIY portable electronic kitchen scales and similar projects.
Contingut del paquet
Verifiqueu que tots els components que s'enumeren a continuació s'inclouen al paquet:
- 2 x 1kg Load Cell Weight Sensors
- 2 x HX711 AD Weight Modules
Característiques del producte
1kg Load Cell Weight Sensor
- Capacitat màxima: 1kg (2.2 lliures)
- Sortida: Vol directetage signal proportional to applied force.
- Drive Voltage: Requires 5-10V.
- Compatibilitat: Designed for use with Arduino and Raspberry Pi.
- Cablejat: 4-lead configuration for easy integration.
- Material: Aluminium construction.
HX711 ADC Module
- Xip: Utilizes the 24-bit high-precision A/D converter chip HX711.
- Canals d'entrada: Two selectable differential input channels.
- PGA: On-chip active low noise Programmable Gain Amplifier (PGA) with selectable gains of 32, 64, and 128.
- Power Supply Regulator: Integrated for load-cell and ADC analog power supply.
- Oscil·lador: On-chip oscillator, no external component required (optional external crystal).
- Power-on-Reset: On-chip power-on-reset function.
- Vol. Operatiutage: 2.6V - 5.5V.
- Temperatura de funcionament: -20 °C a +85 °C.
- Velocitat de dades: Selectable 10SPS or 80SPS output data rate.
- Rebuig d'interferències: Simultaneous 50Hz and 60Hz supply rejection.
- Control: Simple digital control and serial interface (pin-driven, no programming needed for basic control).
- Consum actual: Normal operation <1.5mA, power down <1uA.
Instruccions de configuració
Load Cell Dimensions
Refer to the diagram below for the physical dimensions of the 1kg load cell.
Figura 1: 1kg Load Cell Dimensions. The diagram illustrates the load cell's length as 7.5cm and its width and height as 1.27cm, along with mounting hole details.
HX711 Module Dimensions and Load Cell Wiring Diagram
The HX711 module dimensions are provided below, along with a schematic for connecting the load cell to the HX711 module.
Figura 2: HX711 Module Dimensions and Load Cell Wiring. The image shows the HX711 module measuring 33mm by 20mm, and a standard Wheatstone bridge configuration for load cell wiring, indicating Excitation+ (E+), Excitation- (E-), Output+ (A+), and Output- (A-).
Load Cell Wiring to HX711 Module
Connect the load cell to the HX711 module as follows:
- Fil vermell a E+ (Excitation +)
- Fil negre a E- (Excitation -)
- Fil verd a A+ (Analog Input +)
- Fil blanc a A- (Analog Input -)
Ensure these connections are secure to prevent signal interference or damage.
Connecting HX711 to Microcontroller (e.g., Arduino)
The HX711 module connects to your microcontroller using a simple serial interface. Refer to the diagram for a typical connection to an Arduino board.
Figura 3: Load Cell and HX711 Module Connected to Arduino. This diagram illustrates the wiring from the load cell to the HX711 module, and then the HX711 module's Gnd, DT (Data), SCK (Clock), and Vcc pins connected to corresponding pins on an Arduino board.
Load Cell Installation
Proper installation of the load cell is crucial for accurate measurements. Follow these guidelines:
- One end of the sensor should be fixed securely using the screw holes.
- The other end must remain in a floating state, allowing it to deflect under load.
- Apply gravity or force in the direction indicated by any labels on the load cell.
- Precaució: Do not directly press on the white rubber part of the load cell, as this can cause damage to the sensor.
Figura 4: Load Cell Installation Diagram. This image shows the load cell mounted with one end fixed by screws and the other end hanging freely, indicating the correct direction for applying force. It also warns not to touch the bottom of the free end.
Figura 5: Example Installation Diagram. A photograph demonstrating a load cell mounted on a platform and connected to an HX711 module, illustrating a practical setup.
Instruccions de funcionament
Once the load cell and HX711 module are correctly wired and installed, you can begin reading weight data. The HX711 module converts the analog signal from the load cell into a digital format that your microcontroller can interpret.
- Font d'alimentació: Ensure the HX711 module receives a stable power supply within its operating range of 2.6V to 5.5V.
- Microcontroller Programming: Use a suitable library for your chosen microcontroller (e.g., Arduino HX711 library) to interface with the module. This library will handle the communication protocol for reading data from the DT (Data) and SCK (Clock) pins.
- Calibració: Accurate weight measurement requires calibration. This typically involves:
- Reading the sensor output with no load (tare).
- Placing a known weight on the load cell and reading the output.
- Calculating a calibration factor to convert raw sensor readings into actual weight units (grams, kilograms, pounds).
- Data Rate Selection: The HX711 supports 10SPS (samples per second) or 80SPS. The 10SPS rate offers better noise rejection for 50Hz/60Hz power line interference, while 80SPS provides faster readings. Select the appropriate rate based on your application's requirements.
Manteniment
To ensure the longevity and accuracy of your load cell and HX711 module, observe the following maintenance guidelines:
- Mantenir sec: Protect the components from moisture and humidity, which can damage electronic circuits.
- Netegeu suaument: If cleaning is necessary, use a soft, dry cloth. Avoid using liquids or abrasive cleaners.
- Evita la sobrecàrrega: Do not exceed the 1kg maximum capacity of the load cell, as this can permanently damage the sensor.
- Manejar amb cura: Avoid dropping or subjecting the components to strong impacts.
- Interval de temperatura: Operate and store the modules within the specified temperature range of -20°C to +85°C.
Resolució de problemes
Si teniu problemes, tingueu en compte els passos següents per resoldre'ls:
- No Readings or Erratic Data:
- Check all wiring connections carefully, ensuring they match the specified color codes (Red to E+, Black to E-, Green to A+, White to A-).
- Verify the power supply to the HX711 module is stable and within the 2.6V-5.5V range.
- Ensure the load cell is correctly installed and not touching any surfaces that would impede its movement or apply unintended force.
- Confirm that the microcontroller code and HX711 library are correctly implemented and initialized.
- Lectures inexactes:
- Perform a full calibration procedure with known weights.
- Check for any physical obstructions or external forces affecting the load cell.
- Ensure the load is applied centrally and consistently on the load cell.
- Consider environmental factors like temperature fluctuations, although the HX711 has some temperature compensation.
- El mòdul no respon:
- Check the power connection to the HX711 module.
- Verify the DT and SCK pins are correctly connected to the microcontroller.
- Ensure the microcontroller's GPIO pins are configured correctly for input/output.
Especificacions
Detailed specifications for the 1kg Load Cell and HX711 ADC Module are provided below.
1kg Load Cell Specifications
Figura 6: 1kg Load Cell Detailed Specifications. This image presents a table outlining the technical specifications of the 1kg load cell, such as its 1kg capacity, 1.0±0.1mV/V rated output, 0.03% F.S nonlinearity, and recommended 5V excitation voltage.
| Paràmetre | Valor |
|---|---|
| Aplicació | Bàscula de cuina |
| Capacitat | 1 kg |
| Sortida nominal | 1.0±0.1mV/V |
| No linealitat | 0.03% FS |
| Histèresi | 0.03% FS |
| Repetibilitat | 0.03% FS |
| Crep | 0.05% F.S/3min |
| Balanç zero | -0.15±0.05mV/V |
| Resistència de sortida | 1000±10Ω |
| Corner load error | 0.05% FS |
| Temperature effect on sensitivity | 0.03% F.S/10°C |
| Efecte de la temperatura a zero | 0.3% F.S/10°C |
| Excitació recomanada voltage | 5V |
| Interval de temperatura de funcionament | -20 ~ + 65 ° C |
| Mida del producte | 75x12.7x12.7 mm |
| Load cell material | Alumini |
| Method of connecting wire | red Input(+), black Input(-), green output(+), white output(-). |
HX711 ADC Module Pinout
The HX711 chip pinout and function table are provided for advanced users and detailed integration.
Figura 7: HX711 Chip Pinout and Function Table. This image displays the 16-pin configuration of the HX711 chip, along with a table that lists each pin number, its name (e.g., VSUP, DVDD, DOUT, PD_SCK), its function, and a brief description of its purpose.
| PIN # | Nom | Funció | Descripció |
|---|---|---|---|
| 1 | VSUP | Regulator Power | Regulator supply: 2.7 ~ 5.5V |
| 2 | BASE | Sortida analògica | Regulator control output (NC when not used) |
| 3 | AVDD | Potència analògica | Analog supply: 2.6 ~ 5.5V |
| 4 | VFB | Entrada Analògica | Regulator control input (connect to AGND when not used) |
| 5 | AGND | Terra analògica | Terra analògica |
| 6 | VBG | Sortida analògica | Reference bypass output |
| 7 | INA- | Entrada Analògica | Channel A negative input |
| 8 | INA+ | Entrada Analògica | Channel A positive input |
| 9 | INPB+ | Entrada Analògica | Channel B positive input |
| 10 | INPB- | Entrada Analògica | Channel B negative input |
| 11 | PD_SCK | Entrada digital | Power down control (high active) and serial clock input |
| 12 | Extensió DOUT | Sortida digital | Sortida de dades en sèrie |
| 13 | XO | E/S digital | Crystal I/O (NC when not used) |
| 14 | XI | Entrada digital | Crystal I/O or external clock input, 0: use on-chip oscillator |
| 15 | TARIFA | Entrada digital | Output data rate control, 0: 10Hz; 1: 80Hz |
| 16 | DVDD | Potència digital | Digital supply: 2.6 ~ 5.5V |
Garantia i Suport
This product is intended for DIY and educational purposes. Specific warranty information is not provided with this kit. For technical support, please refer to online communities and resources related to Arduino, Raspberry Pi, load cells, and the HX711 module. Many open-source libraries and tutorials are available to assist with integration and programming.