1. परिचय
The M5Stack Official Scale Kit is a high-precision, low-cost weighing solution designed for various applications. This digital scale kit comprises four half-bridge resistive strain gauges, enabling a total weighing range of up to 200 kilograms. It integrates a 24-bit A/D converter chip, the HX711, specifically engineered for high-precision electronic scales. The built-in low-noise programmable amplifier offers gain adjustments of 32, 64, and 128 times, ensuring accurate measurements. Compatible with M5Stack Core for programming, this kit allows users to quickly develop IoT-based weighing scales.
महत्त्वपूर्ण नोट: The Scale Kit requires a rigid cover plate for proper operation. The dimensions of this cover plate should not exceed 50cm on any side to ensure stability and accuracy.
2. उत्पादन समाप्तview
2.1 प्याकेज सामग्रीहरू
The M5Stack Official Scale Kit includes the following components:
- 4x Half-bridge resistive strain gauges
- 1x WEIGHT UNIT (HX711 A/D converter module)
- 1x HY2.0-4P Cable (20cm)
- 4x Double-sided adhesive paper (39 x 20 x 0.8mm)
- 4x Double-sided adhesive paper (39 x 12 x 0.8mm)

१.१ मुख्य विशेषताहरू
- Total Weighing Range: १००० किलोग्राम सम्म
- HX711 A/D Converter:
- High precision 24-bit ADC
- प्रोग्रामयोग्य लाभ amplification: 32, 64, and 128
- 10SPS (Samples Per Second) output data rate
- Half-Bridge Resistive Strain Gauge:
- Output sensitivity: 1.0 ± 0.1 mV/V
- Non-linearity: 0.3% F.S (Full Scale)
- Integrated Accuracy: 0.3% F.S
- Zero output: ±0.3 mV/V
- Difference between upper and lower impedance of each strain gauge: 0.8Ω
- Output (input) impedance: 1000 ± 5Ω
- Development Platforms:
- UIFlow (support to be added)
- Arduino
3. निर्दिष्टीकरणहरू
| निर्दिष्टीकरण | प्यारामिटर |
|---|---|
| HX711 Output Sensitivity | High Precision 24bit ADC |
| HX711 Programmable Gain Ampliification | ७६००८१४०६, ७६०१२२६४८, ७६००८१३२३ |
| HX711 Output Data Rate | १० एसपीएस |
| Strain Gauge Output Sensitivity | 1.0 ± 0.1 mV/V |
| Strain Gauge Non-linearity | १% एफएस |
| Strain Gauge Comprehensive Accuracy | १% एफएस |
| Strain Gauge Zero Output | ± ००२२ mV / V |
| Strain Gauge Impedance Difference (Upper/Lower) | 0.8Ω |
| Strain Gauge Output (Input) Impedance | ९.९ ± ०.५Ω |
| सकल वजन | १८.६ ग्राम |
| शुद्ध वजन | १८.६ ग्राम |
| प्याकिङ साइज | 105mm x 65mm x 40mm |

4. सेटअप निर्देशनहरू
4.1 Assembly of Strain Gauges
- Prepare a rigid cover plate (not included) with dimensions not exceeding 50cm on any side.
- Attach the four half-bridge resistive strain gauges to the underside of the cover plate using the provided double-sided adhesive paper. Ensure they are evenly distributed and positioned to support the load.
- Connect the wires from the strain gauges to the green terminal blocks. The diagram below illustrates the typical wiring configuration for a full-bridge setup using four half-bridge sensors.


4.2 Wiring the Weight Unit (HX711)
- Connect the wires from the strain gauge assembly to the green terminal block on the HX711 Weight Unit. Refer to the PinMap and Schematic in Figure 2 for detailed connections. The common wiring for four half-bridge sensors to form a full bridge is typically:
- Two strain gauges (e.g., R1, R2) connected in series to form one side of the bridge.
- The other two (e.g., R3, R4) connected in series to form the other side.
- The output of these series pairs connects to the A+ and A- inputs of the HX711.
- उत्तेजना भोल्युमtage (E+ and E-) for the bridge is supplied by the HX711.
- Connect the HY2.0-4P cable from the HX711 Weight Unit to your M5Stack Core or other microcontroller. The PinMap for the WEIGHT UNIT is as follows:
- G36: Data Pin (DAT)
- G26: Clock Pin (CLK)
- २5०V: विद्युत आपूर्ति (VCC)
- Gnd: जमिन


5. सञ्चालन निर्देशनहरू
5.1 Initializing and Calibration
Before accurate weighing can begin, the HX711 module needs to be initialized and calibrated. The ADC chip GAIN should be set to 128, and the output data rate is 10SPS. Under a 5kg weight measurement, the error is approximately ±1%. Calibration is crucial for precise readings.
The following code snippet demonstrates a basic calibration procedure using the HX711 library (e.g., for Arduino):
#include "HX711.h"
HX711 scale;
void setup() {
// Initialize the scale object with DAT and CLK pins (e.g., G36 and G26 for M5Stack)
// scale.begin(DAT_PIN, CLK_PIN); // Replace DAT_PIN and CLK_PIN with actual GPIOs
// 1. Set the ADC value in the case of 0g and set it to offset
scale.tare(); // Zeros the scale, setting the current reading as the offset
}
void loop() {
// 2. Read the average value of ADC in the case of standard weight (such as 5kg)
long kg_adc = scale.read_average(20); // Read average of 20 samples
// 3. Read the offset in the current 0g case (after tare)
// This step is typically done once during calibration to find the raw offset.
// For continuous operation, you would use scale.get_value() or scale.get_units().
long current_offset = scale.get_offset(); // Get the raw offset value
// 4. Calculate and configure the scale parameter
// Assuming 'kg_adc' is the raw reading for a known 5kg weight.
// The scale factor is (raw_reading_for_known_weight - offset) / known_weight_in_units.
// Here, 5 * 1000.0 assumes 5kg and converts to grams if the output is desired in grams.
// If kg_adc is already offset-adjusted, then it's just kg_adc / (5 * 1000.0)
// A more robust calibration involves placing a known weight (e.g., 5kg) and then setting the scale factor.
// Example: scale.set_scale( (float)kg_adc / 5000.0 ); // If kg_adc is raw reading for 5000g
// The provided snippet seems to imply kg_adc is already offset-adjusted or the offset is implicitly handled.
scale.set_scale( kg_adc / (5 * 1000.0) ); // This line needs careful interpretation based on the HX711 library used.
// Typically, you'd get a raw reading for a known weight, then calculate the scale factor.
// For example: scale.set_scale(scale.get_value(20) / KNOWN_WEIGHT_IN_UNITS);
}

Calibration Steps (General):
- Upload the calibration sketch to your M5Stack Core.
- Ensure no weight is on the scale and perform a
tare()operation to zero the scale. - Place a known weight (e.g., 5kg) on the scale.
- Read the raw ADC value for this known weight.
- Calculate the scale factor:
(raw_reading_with_weight - raw_reading_without_weight) / known_weight_in_units. - Set this scale factor using
set_scale(). - Verify accuracy by placing different known weights.
5.2 Reading Weight
Once calibrated, you can read the weight using functions provided by the HX711 library. The get_units() function typically returns the weight in the units defined during calibration (e.g., grams or kilograms).
void loop() {
Serial.print("Weight: ");
Serial.print(scale.get_units(), 1); // Get weight in units, 1 decimal place
Serial.println(" kg"); // Or " g" depending on your calibration
delay(100);
}

१.६। प्रयोगकर्ता सुझावहरू
- स्थिर सतह: Always place the scale on a flat, stable surface to ensure accurate readings. Vibrations or uneven surfaces can significantly affect precision.
- Consistent Cover Plate: Use a cover plate that is rigid and does not flex under load. The material and thickness of the plate can influence the overall accuracy and maximum load.
- वातावरणीय कारकहरू: Temperature fluctuations can affect strain gauge readings. For best accuracy, operate the scale in a stable temperature environment.
- तार अखण्डता: Ensure all wiring connections are secure and properly insulated to prevent interference and ensure reliable data transmission.
- नियमित क्यालिब्रेसन: For applications requiring high accuracy, recalibrate the scale periodically or if it has been moved or subjected to significant temperature changes.
T. समस्या निवारण
- गलत पठनहरू:
- Ensure the scale is properly calibrated. Recalibrate if necessary.
- Check for any physical obstructions or uneven loading on the cover plate.
- Verify that the strain gauges are securely attached and not damaged.
- Confirm that the cover plate is rigid and not flexing excessively.
- No Readings / Erratic Readings:
- Check all wiring connections between the strain gauges, the HX711 Weight Unit, and the M5Stack Core. Ensure they are firm and correct according to the PinMap.
- Verify power supply to the HX711 module and M5Stack Core.
- Ensure the correct GPIO pins are defined in your code for DAT and CLK.
- Test individual components if possible (e.g., check if the HX711 module is communicating).
- Scale Not Zeroing (Tare Issue):
- Ensure no weight is on the scale when calling the
tare()प्रकार्य। - Check for any residual stress on the strain gauges or the cover plate.
- Ensure no weight is on the scale when calling the
8. मर्मतसम्भार
- सरसफाई: Keep the strain gauges and the HX711 module clean and free from dust, dirt, or moisture. Use a soft, dry cloth for cleaning. Avoid using harsh chemicals or abrasive materials.
- पर्यावरण संरक्षण: Protect the components from extreme temperatures, humidity, and direct sunlight.
- शारीरिक निरीक्षण: Periodically inspect the wiring and connections for any signs of wear, corrosion, or damage. Ensure the strain gauges remain firmly attached to the cover plate.
- सफ्टवेयर अपडेटहरू: Keep your M5Stack Core firmware and HX711 library up to date to benefit from performance improvements and bug fixes.
9. वारेन्टी र समर्थन
For warranty information, technical support, and further resources, please refer to the official M5Stack documentation and support channels. You can typically find detailed information on the M5Stack Official Store website or their community forums.





