2020-03-19 21:06:45 +08:00
# WEIGHT
2019-01-27 11:49:10 +08:00
2020-07-09 17:48:46 +08:00
<el-tag effect="plain">SKU:U030</el-tag>
2020-03-19 14:40:22 +08:00
2020-04-08 14:09:44 +08:00
<div class="product_pic"><img src="assets/img/product_pics/unit/unit_weight_01.webp"></div>
2019-01-27 11:49:10 +08:00
## Description
2020-12-14 11:44:36 +08:00
**WEIGHT** integrates a **HX711** 24 bits A/D chip that is specifically designed for electronic weighing device.
2019-01-27 11:49:10 +08:00
2020-12-10 10:47:37 +08:00
The input multiplexer selects either Channel A or B differential input to the low-noise programmable gain amplifier (PGA). Channel "A" can be programmed with a gain of 128 or 64, corresponding to a full-scale differential input voltage of ±20mV or ±40mV respectively.
2019-01-27 11:49:10 +08:00
2020-12-10 10:47:37 +08:00
when a 5V supply is connected to AVDD analog power supply pin.
Channel B has a fixed gain of 32. There is no programming needed for the internal registers. All controls to the HX711 are through the pins.
In the test, we have this Unit channel A to connect a pressure sensor. Then, use M5Core screen to display the weight data.
2019-01-27 11:49:10 +08:00
2020-04-08 14:09:44 +08:00
<img src="assets/img/product_pics/unit/unit_weight_04.webp">
2019-01-27 11:49:10 +08:00
2020-04-08 14:09:44 +08:00
<img src="assets/img/product_pics/unit/unit_weight_03.webp">
2019-01-27 11:49:10 +08:00
2019-05-05 11:28:54 +08:00
## Product Features
2019-01-27 11:49:10 +08:00
2019-05-05 11:28:54 +08:00
- Two selectable differential input channels
- On-chip active low noise PGA with selectable gain
of 32, 64 and 128
- On-chip power supply regulator for load-cell and
ADC analog power supply
- On-chip oscillator requiring no external
component with optional external crystal
- On-chip power-on-reset
- Simple digital control and serial interface:
pin-driven controls, no programming needed
- Selectable 10SPS or 80SPS output data rate
- Simultaneous 50 and 60Hz supply rejection
- Current consumption including on-chip analog
power supply regulator:
normal operation < 1.5mA, power down < 1uA
- Operation supply voltage range: 2.6 ~ 5.5V
- Operation temperature range: -40 ~ +85℃
- 16 pin SOP-16 package
- Program Platform: Arduino, UIFlow(Blockly, Python)
- Two Lego-compatible holes
2020-05-29 16:36:24 +08:00
2019-04-17 20:04:52 +08:00
## Include
- 1x WEIGHT Unit
- 1x Grove Cable
2020-02-12 16:55:19 +08:00
## Applications
2019-01-27 11:49:10 +08:00
2019-01-27 17:10:17 +08:00
- Micro weight meter
- Kitchen Scale
2019-01-27 11:49:10 +08:00
2020-05-29 16:36:24 +08:00
## Specification
<table>
<tr style="font-weight:bold">
<td>Resources</td>
<td>Parameter</td>
</tr>
<tr>
<td>Operating Voltage</td>
<td>g</td>
</tr>
<tr>
<td>Operating Current</td>
<td>g</td>
</tr>
<tr>
2020-11-18 19:00:45 +08:00
<td>Net weight</td>
2020-05-29 16:36:24 +08:00
<td>8g</td>
</tr>
<tr>
<td>Gross weight</td>
<td>20g</td>
</tr>
<tr>
<td>Product Size</td>
<td>40*24*12mm</td>
</tr>
<tr>
<td>Package Size</td>
<td>67*53*12mm</td>
</tr>
</table>
2019-01-27 17:10:17 +08:00
## Related Link
2019-01-27 11:49:10 +08:00
2019-10-23 10:28:13 +08:00
- **Datasheet** - [HX711 ](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/HX711_en.pdf )
2019-01-27 11:49:10 +08:00
2019-06-11 19:20:48 +08:00
## EasyLoader
2019-06-06 20:01:45 +08:00
2020-04-08 14:09:44 +08:00
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo.webp" width="100px" style="margin-top:20px">
2019-06-13 18:06:23 +08:00
2020-08-25 11:49:40 +08:00
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Unit/EasyLoader_WEIGHT.exe"><el-button type="primary">download EasyLoader</el-button></a>
2019-06-13 18:06:23 +08:00
2019-07-30 11:52:28 +08:00
>1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed. .
2019-06-06 20:01:45 +08:00
2019-07-30 11:52:28 +08:00
>2. After downloading the software, double-click to run the application, connect the M5 device to the computer through the data cable, select the port parameters, click ** "Burn"** to start burning. (**For M5StickC burning, please Set the baud rate to 750000 or 115200**)
2019-06-06 20:01:45 +08:00
2020-12-14 11:44:36 +08:00
>3. Currently EasyLoader is only suitable for Windows operating system, compatible with M5 system adopts ESP32 as the control core host. Before installing for M5Core, you need to install CP210X driver (you do not need to install with M5StickC as controller)[Click here to view the driver installation tutorial ](en/related_documents/M5Burner#install-usb-driver )
2019-06-11 19:20:48 +08:00
2019-01-27 17:10:17 +08:00
## Schematic
2019-01-27 11:49:10 +08:00
2020-04-08 14:09:44 +08:00
<img src="assets/img/product_pics/unit/weight_sch.webp">
2019-01-27 11:49:10 +08:00
2019-01-27 17:10:17 +08:00
### Pinmap
2019-01-27 11:49:10 +08:00
2019-01-27 17:10:17 +08:00
**If WEIGHT was connected to GROVE A**
2019-01-27 11:49:10 +08:00
<table>
2019-01-27 17:10:17 +08:00
<tr><td>M5Core(GROVE A)</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
<tr><td>WEIGHT Unit</td><td>DATA Pin (DAT)</td><td>CLOCK Pin (CLK)</td><td>5V</td><td>GND</td></tr>
2019-01-27 11:49:10 +08:00
</table>
2019-01-27 17:10:17 +08:00
**If WEIGHT was connected to GROVE B**
2019-01-27 11:49:10 +08:00
<table>
2019-01-27 17:10:17 +08:00
<tr><td>M5Core(GROVE B)</td><td>GPIO36</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
<tr><td>WEIGHT Unit</td><td>DATA Pin (DAT)</td><td>CLOCK Pin (CLK)</td><td>5V</td><td>GND</td></tr>
2019-01-27 11:49:10 +08:00
</table>
2019-01-27 17:10:17 +08:00
**If WEIGHT was connected to GROVE C**
2019-01-27 11:49:10 +08:00
<table>
2019-01-27 17:10:17 +08:00
<tr><td>M5Core(GROVE C)</td><td>GPIO16</td><td>GPIO17</td><td>5V</td><td>GND</td></tr>
<tr><td>WEIGHT Unit</td><td>DATA Pin (DAT)</td><td>CLOCK Pin (CLK)</td><td>5V</td><td>GND</td></tr>
2020-02-11 18:00:45 +08:00
</table>
2020-05-07 10:52:47 +08:00
## Example
2021-02-05 16:54:45 +08:00
### 1. Arduino
2020-05-07 10:52:47 +08:00
We used a pressure sensor(10kg) in this experiment. (Unit: gram)
2021-02-05 16:54:45 +08:00
- [Click here to download the Arduino example ](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/WEIGHT_HX711 )
2020-05-07 10:52:47 +08:00
### 2. UIFlow
2021-02-05 16:54:45 +08:00
- [Click here to download the UIFlow example ](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/WEIGHT/UIFlow )
2020-05-07 10:52:47 +08:00
<img src="assets/img/product_pics/unit/unit_example/WEIGHT/example_unit_weight_01.webp">
2020-12-14 11:44:36 +08:00
<el-divider content-position="right">Last updated: 2020-12-14</el-divider>
2020-02-11 18:00:45 +08:00
<script>
var purchase_link = 'https://m5stack.com/collections/m5-unit/products/weight-sensor-unit';
anchor_search(purchase_link);
scrollFunc();
2020-12-10 10:47:37 +08:00
</script>