Scales Kit is a high precision low-cost weighing kit. This digital Scales kit is consist of four pieces of half-bridge resistive strain gauges, with a total weighing range of 200kgs
. It is equipped with a 24-bit A/D converter chip HX711
, specially designed for the high precision electronic scale. The built-in low-noise programmable amplifier supports 32
/64
/128
times gain adjustment. With the help of M5Stack core for programming, you can create IoT based Weighing Scale in just a few minutes!
Specifications | Parameters |
---|---|
HX711 | Output Sensitivity: High Precision 24bit ADC Programmable Gain Amplification 32, 64, 128 10SPS Output Data Rate |
Half-Bridge Resistance Strain Gauge | Output Sensitivity: 1.0±0.1mV/V Nonlinearity: 0.3%FS Comprehensive Accuracy: 0.3%FS Zero Output: ±0.3mv/V Each The difference between the upper and lower impedance of the gauge strain gauge: 0.8Ω Output (input) impedance: 1000±5Ω |
Gross Weight | 92.5g |
Net Weight | 126.3g |
Packing Size | 105mm x 65mm x 40mm |
M5CORE - PORT B | G36 | G26 | 5V | GND |
---|---|---|---|---|
WEIGHT UNIT | DATA Pin (DAT) | CLOCK Pin (CLK) | VCC | GND |
#include "HX711.h"
HX711 scale;
void setup() {
// 1. Set the ADC value in the case of 0g and set it to offset
scale.tare();
}
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);
// 3. Read the offset in the current 0g case
kg_adc = kg_adc - scale.get_offset();
// 4. Calculate and configure the scale parameter
scale.set_scale( kg_adc / (5 * 1000.0));
}