Apply Weight Load to Strain Gauge Beam
Drag slider to test force correlation against bridge mV and 24-bit ADC output.
Internal Wheatstone Bridge Schematic
4 Strain GaugesMechanical bending creates micro-strain: Tension arms ($R_1, R_3$) increase in resistance while compression arms ($R_2, R_4$) decrease.
HX711 Module Pipeline
24-Bit ADCTransforming millivolt strain signals into high-precision 24-bit digital counts.
Standard Arduino 10-bit ADC provides 4.88 mV steps ($5\text{V}/1024$). Since full 3 kg load outputs only $10\text{ mV}$, direct `analogRead()` yields only ~2 total steps over the entire range! The HX711 provides 24-bit resolution for precise gram-level measurements.
Hardware Wiring Guide: Load Cell $\rightarrow$ HX711 $\rightarrow$ Arduino
Connection reference for mapping physical load cell wires to HX711 and Arduino pins.
1. Load Cell $\rightarrow$ HX711 (Input)
| Wire Color | Function | HX711 Pin |
|---|---|---|
| Red | Excitation + | E+ / VCC |
| Black | Excitation - | E- / GND |
| Green | Signal + | A+ |
| White | Signal - | A- |
2. HX711 $\rightarrow$ Arduino Uno (Output)
| HX711 Pin | Arduino Pin | Notes |
|---|---|---|
| VCC | 5V (or 3.3V) | Power Pin |
| GND | GND | Ground |
| DT (DOUT) | Digital Pin 2 | Serial Data Line |
| SCK (CLK) | Digital Pin 3 | Serial Clock Line |
3. Arduino C++ Starter Code
#include "HX711.h"
#define DOUT_PIN 2
#define CLK_PIN 3
HX711 scale;
void setup() {
Serial.begin(9600);
scale.begin(DOUT_PIN, CLK_PIN);
scale.set_scale(420.0); // Calibration factor
scale.tare(); // Zero scale
}
void loop() {
Serial.print("Weight: ");
Serial.print(scale.get_units(5), 3);
Serial.println(" kg");
}
Live Signal Correlation Chart
Real-time trace of bridge mV output vs raw 24-bit ADC counts
Digital Scale Readout
Calibrated weight output
Laboratory Correlation Data Logger
Record trial data points to verify gauge factor linearity and calibration stability.
| # Trial | Applied Weight (kg) | Bridge Voltage VOUT (mV) | Amplified V (128x) | Raw 24-Bit ADC Count | Calculated Weight (kg) | Error (%) |
|---|---|---|---|---|---|---|
| No data points logged yet. Set a weight on the slider above and click "Log Trial Point". | ||||||