background image

 

VMA303 

V. 01 

 02/02/2017 

©Velleman nv 

4.

 

What is Arduino

®

 

Arduino

®

 is an open-source prototyping platform based in easy-to-use hardware and software. Arduino

®

 boards 

are able to read inputs 

 light-on sensor, a finger on a button or a Twitter message 

 and turn it into an 

output 

 activating of a motor, turning on an LED, publishing something online. You can tell your board what to 

do by sending a set of instructions to the microcontroller on the board. To do so, you use the Arduino 
programming language (based on Wiring) and the Arduino

®

 software IDE (based on Processing). 

 

Surf to 

www.arduino.cc

 and 

www.arduino.org

 for more information. 

 

5.

 

Overview 

 

This package includes a water level sensor and a soil moisture sensor. 

If the boards have water covering the sensor parts, an analogue value will be available at the "SIG" 
connection. 

 

 

voltage ...................................................................................................................5 VDC 

 

dimensions .................................................................................................... 65 x 20 mm 

 

weight ........................................................................................................................ 5 g 

 

 

6.

 

Making a Soil Moisture Sensor 

 

The hardware consists of an Arduino

®

 microcontroller (here a Velleman VMA100 Arduino

®

 Uno) and the soil 

moisture sensor module.  

The soil moisture sensor module, built around the LM393 comparator (not included), gives an active-low (L) 
level output when the soil is dry (determined by a pre-set threshold value). This digital output (wet soil 

 L / 

dry soil 

 H) is routed to one I/O terminal (D2) of the Arduino

®

 microcontroller. Based on this input (at D2) 

Arduino

®

 gives an active-high (H) output through D13 when the soil is dry, and an active-low (L) output 

when the soil is wet. 

 

 

 

The +5 V supply line (VCC) of the module is linked to the 5 V line of the Arduino

®

. GND of the module is the 

common (0 V) connection. The digital signal output to be detected (usually marked as DO in the module) is 
applied to input D2 of the Arduino

®

. The analogue output (marked as AO) from the module is not used here. 

The sensor head of the module contains two probes in a small metal PCB. When the sensor head is inserted 
in wet soil, the moisture bridges the probes through a low-resistance path (when the soil is dry, resistance 
between the probes is also high). A potentiometer in the module will adjust the soil wet/dry detection 
sensitivity according to actual requirements. 

 

 

Содержание VMA303

Страница 1: ...VMA303 ARDUINO COMPATIBLE SOIL MOISTURE SENSOR WATER LEVEL SENSOR MODULE USER MANUAL ...

Страница 2: ...aning and user maintenance shall not be made by children without supervision Indoor use only Keep away from rain moisture splashing and dripping liquids 3 General Guidelines Refer to the Velleman Service and Quality Warranty on the last pages of this manual Familiarise yourself with the functions of the device before actually using it All modifications of the device are forbidden for safety reason...

Страница 3: ...elleman VMA100 Arduino Uno and the soil moisture sensor module The soil moisture sensor module built around the LM393 comparator not included gives an active low L level output when the soil is dry determined by a pre set threshold value This digital output wet soil L dry soil H is routed to one I O terminal D2 of the Arduino microcontroller Based on this input at D2 Arduino gives an active high H...

Страница 4: ...oil Sensor input at Analog PIN A0 int value 0 void setup Serial begin 9600 pinMode GLED OUTPUT pinMode RLED OUTPUT Serial println SOIL MOISTURE SENSOR Serial println void loop value analogRead SENSE value value 10 Serial println value if value 50 digitalWrite GLED HIGH else digitalWrite RLED HIGH delay 1000 digitalWrite GLED LOW digitalWrite RLED LOW ...

Страница 5: ...is product and the latest version of this manual please visit our website www velleman eu The information in this manual is subject to change without prior notice COPYRIGHT NOTICE The copyright to this manual is owned by Velleman nv All worldwide rights reserved No part of this manual may be copied reproduced translated or reduced to any electronic medium or otherwise without the prior written con...

Страница 6: ...n shocks falls dust dirt humidity and by the article as well as its contents e g data loss compensation for loss of profits consumable goods parts or accessories that are subject to an aging process during normal use such as batteries rechargeable non rechargeable built in or replaceable lamps rubber parts drive belts unlimited list flaws resulting from fire water damage lightning accident natural...

Отзывы: