The Load Cell Bricklet 2.0 can be used to extend the features of Bricks by the capability to measure load cells. Only a single known weight is required to calibrate the load cell. It is possible to measure weight differences of few grams in objects that weigh many kilograms.
Load cells with different maximum weights are available in the shop:
The Bricklet has the standard status LED and an additional info LED that can be turned on trough the API, e.g. to show that a weight measurement is in range.
This Bricklet ist not galvanically isolated to the Tinkerforge system. This means that there is a direct electrical connection between the terminals of the Bricklet and the rest of the system. Dependent of the application this can lead to undesired connections, ground loops or short circuits. These problems can be prevented by using the Bricklet together with a Isolator Bricklet.
Property | Value |
---|---|
Sensor | HX711 |
Current Consumption | 54mW (10.8mA at 5V) |
Resolution | 24bit |
Dimensions (W x D x H) | 30 x 30 x 14mm (1.18 x 1.18 x 0.55") |
Weight | 7.3g |
The Load Cell Bricklet 2.0 has four terminals. The PWR and GND terminals are for the excitation voltage and the IN+ and IN- terminals are for the signal measurement.
A typical load cell will have four or five wires. Check the specification of your load cell for its pinout and connect it according to the table below.
Connection | Terminal | Possible Wire Colors |
---|---|---|
Excitation + | PWR | red |
Excitation - | GND | black, yellow |
Signal + | IN+ | green, blue |
Signal - | IN- | white |
To test a Load Cell Bricklet 2.0 you need to have Brick Daemon and Brick Viewer installed. Brick Daemon acts as a proxy between the USB interface of the Bricks and the API bindings. Brick Viewer connects to Brick Daemon. It helps to figure out basic information about the connected Bricks and Bricklets and allows to test them.
Connect the Load Cell Bricklet 2.0 to a Brick with a Bricklet Cable. Additionally connect and calibrate a load cell.
If you connect the Brick to the PC over USB, you should see a new tab named "Load Cell Bricklet 2.0" in the Brick Viewer after a moment. Select this tab. If everything went as expected you can now see the weight in gram and a graph that shows the weight over time.
After this test you can go on with writing your own application. See the Programming Interface section for the API of the Load Cell Bricklet 2.0 and examples in different programming languages.
The Load Cell Bricklet 2.0 has to be calibrated for the connected load cell and the specific setup.
Connect a load cell to the Bricklet as described above. Then start Brick Viewer and click the "Calibration" button on the "Load Cell Bricklet 2.0" tab. With no weight on the load cell, click the "Calibrate Zero" button. Now put a known weight on the load cell, enter the known weight in gram as the "Current Weight", then click the "Calibrate Weight" button.
Now the Load Cell Bricklet 2.0 is calibrated for the connected load cell and the specific setup.
The Scale Kit is build from MakerBeam, a 1kg Load Cell and laser cut plastic parts. It is available in the Tinkerforge shop, but you can also just use the description to get an idea on how to mount a load cell in general.
A laser-cut case for the Load Cell Bricklet 2.0 is available.
The assembly is easiest if you follow the following steps:
Below you can see an exploded assembly drawing of the Load Cell Bricklet case:
Hint: There is a protective film on both sides of the plates, you have to remove it before assembly.
See Programming Interface for a detailed description.
Language | API | Examples | Installation |
---|---|---|---|
C/C++ | API | Examples | Installation |
C/C++ for Microcontrollers | API | Examples | Installation |
C# | API | Examples | Installation |
Delphi/Lazarus | API | Examples | Installation |
Go | API | Examples | Installation |
Java | API | Examples | Installation |
JavaScript | API | Examples | Installation |
LabVIEW | API | Examples | Installation |
Mathematica | API | Examples | Installation |
MATLAB/Octave | API | Examples | Installation |
MQTT | API | Examples | Installation |
openHAB | API | Examples | Installation |
Perl | API | Examples | Installation |
PHP | API | Examples | Installation |
Python | API | Examples | Installation |
Ruby | API | Examples | Installation |
Rust | API | Examples | Installation |
Shell | API | Examples | Installation |
Visual Basic .NET | API | Examples | Installation |
TCP/IP | API | ||
Modbus | API |