The Load Cell Bricklet 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 an LED that can be turned on trough the API, e.g. to show that a weight measurement is in range.
|Current Consumption||150mW (28mA at 5V)|
|Dimensions (W x D x H)||30 x 30 x 14mm (1.18 x 1.18 x 0.55")|
The Load Cell Bricklet 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 -||GND||black, yellow|
|Signal +||IN+||green, blue|
Plugin version 2.0.0 for the Load Cell Bricklet had a bug that resulted in inverted weight measurements. To avoid this you could swap the signal wires connected to the IN+ and IN- terminals. This bug was fixed in version 2.0.1 and the signal wires can be connected according to the table above now.
To test a Load Cell Bricklet 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.
If you connect the Brick to the PC over USB, you should see a new tab named "Load Cell Bricklet" 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 and examples in different programming languages.
The Load Cell Bricklet 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" 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 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 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.
|Visual Basic .NET||API||Examples||Installation|