Sugar Loadcell Module
The weighing module is a module with an I2C bus interface. When weight or force is applied to the weighing module, it generates an electrical signal that is proportional to the weight or force. The amplifier amplifies the analog electrical signal coming from the weighing sensor, and the analog-to-digital converter converts the analog signal into a digital signal. The microcontroller processes the digital signal and calculates the weight or force. Through the I2C interface, the weighing module communicates with the main control board.
Parameter
Size | 88×56×33mm |
---|---|
Weight | 2.89g |
Signal | I2C |
Range | 0~5kg |
Accuracy | ±0.1g |
Voltage | 3.3V/5V |
Using on the micro:bit
Programming platform
Microsoft MakeCode for micro:bit
Using the MakeCode programming platform.
Add Extensions
Search for 'sugar' in the extensions and click to add.
Hardware Wiring
Serial Number | Module Name | Interface Connection | Wire Used | Wire Sample |
---|---|---|---|---|
1 | Sugar - Weighing Module | I2C-I2C | Black PH2.0-4Pin Cable |
编程积木
Serial Number | Brick Image | Brick Function |
---|---|---|
1 | Read the weight(g) value from the sensor |
Software Programming
The functionality implementation includes the following parts:
- Display a heart pattern upon power-up
- Display weight (g) when Button A is pressed