Moisture Bricklet

{% from "macros.html" import tfdocstart, tfdocimg, tfdocend %} {{ tfdocstart("Bricklets/bricklet_moisture_tilted_350.jpg", "Bricklets/bricklet_moisture_tilted_600.jpg", "Moisture Bricklet") }} {{ tfdocimg("Bricklets/bricklet_moisture_vertical_100.jpg", "Bricklets/bricklet_moisture_vertical_600.jpg", "Moisture Bricklet") }} {{ tfdocimg("Bricklets/bricklet_moisture_horizontal_100.jpg", "Bricklets/bricklet_moisture_horizontal_600.jpg", "Moisture Bricklet") }} {{ tfdocimg("Bricklets/bricklet_moisture_tilted_back_100.jpg", "Bricklets/bricklet_moisture_tilted_back_600.jpg", "Moisture Bricklet") }} {{ tfdocimg("Cases/bricklet_moisture_case_tilted_front_100.jpg", "Cases/bricklet_moisture_case_tilted_front_600.jpg", "Moisture Bricklet in Case") }} {{ tfdocimg("Bricklets/bricklet_moisture_plant1_100.jpg", "Bricklets/bricklet_moisture_plant1_600.jpg", "Moisture Bricklet in Soil of Plant") }} {{ tfdocimg("Bricklets/bricklet_moisture_plant2_100.jpg", "Bricklets/bricklet_moisture_plant2_600.jpg", "Moisture Bricklet in Soil of Plant") }} {{ tfdocimg("Bricklets/bricklet_moisture_brickv_100.jpg", "Bricklets/bricklet_moisture_brickv.jpg", "Moisture Bricklet in Brick Viewer") }} {{ tfdocimg("Dimensions/moisture_bricklet_dimensions_100.png", "Dimensions/moisture_bricklet_dimensions_600.png", "Outline and drilling plan") }} {{ tfdocend() }}

Features

  • Measures moisture between two probes
  • 12bit resolution

Description

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.

Technical Specifications

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

Resources

Test your Moisture Bricklet

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.

Moisture Bricklet in Brick Viewer

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.

Case

A laser-cut case for the Moisture Bricklet is available.

Case for Moisture Bricklet

The assembly is easiest if you follow the following steps:

  • Screw spacers to the Bricklet,
  • build up side plates and put them around Bricklet,
  • screw bottom plate to bottom spacers,
  • screw top plate to top spacers.

Below you can see an exploded assembly drawing of the Moisture Bricklet case:

Exploded assembly drawing for Moisture Bricklet

Hint: There is a protective film on both sides of the plates, you have to remove it before assembly.

Programming Interface

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
Creative Commons Licence The content of this page is licensed under Creative Commons Attribution 3.0 Unported License.