The Moisture Bricklet is intended to measure moisture in soil. It can extend Bricks by this feature.
Current is passed through two probes. With a increasing moisture level the resistance between the probes will decrease (since water is a better conductor than soil). The change in resistance is measured and returned as the moisture value.
You can either stick the Bricklet directly into soil or you can solder two probes to the Bricklet and put the probes in soil.
It is also possible to use the Moisture Bricklet as a detector for water filling level.
Property | Value |
---|---|
Current Consumption | 1mA (dry) - 20mA (wet) |
Resolution | 12bit |
Dimensions (W x D x H) | 20 x 45 x 5mm (0.79 x 1.77 x 0.2") |
Weight | 3g |
To test a Moisture 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.
Connect the Moisture Bricklet to a Brick with a Bricklet Cable.
If you connect the Brick to the PC over USB, you should see a new tab named "Moisture Bricklet" in the Brick Viewer after a moment. Select this tab. If everything went as expected you can now see changes of the moisture value.
After this test you can go on with writing your own application. See the Programming Interface section for the API of the Moisture Bricklet and examples in different programming languages.
A laser-cut case for the Moisture Bricklet is available.
The assembly is easiest if you follow the following steps:
Below you can see an exploded assembly drawing of the Moisture 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 |
---|---|---|---|
Modbus | API | ||
TCP/IP | API | ||
C/C++ | API | Examples | Installation |
C# | API | Examples | Installation |
Delphi/Lazarus | API | Examples | Installation |
Java | API | Examples | Installation |
JavaScript | API | Examples | Installation |
LabVIEW | API | Examples | Installation |
Mathematica | API | Examples | Installation |
MATLAB/Octave | API | Examples | Installation |
Perl | API | Examples | Installation |
PHP | API | Examples | Installation |
Python | API | Examples | Installation |
Ruby | API | Examples | Installation |
Shell | API | Examples | Installation |
Visual Basic .NET | API | Examples | Installation |