Areas of application Education and teaching: Use in schools, universities and training institutions to teach the basics of electronics, programming and embedded systems. Research and development: Use in research and development projects to create prototypes and experiments in the fields of electronics and computer science. Prototype development: Use in the development and testing of new electronic circuits and devices.
Page 3
consult a doctor. Caution: Keep the product out of the reach of children and pets to avoid accidental contact and swallowing of small parts. Note: Store the product in a safe, closed container when not in use. Attention: Avoid contact of the product with food and drinks.
Features Applications Examples Hardware Overview Board Schematic How Soil Moisture Sensor Works? How to Use a Soil Moisture Sensor ? Test with Microcontroller : Connection Diagram using analog port Test the Arduino Code Setting up the Raspberry Pi and Python...
Soil Moisture Sensor Introduction Thank you for purchasing our AZ-Delivery Soil Moisture Sensor.The Sensor uses analog resistance to detect the moisture content of the soil. It is a good plant helper to let you know if your plants are thirsty and it can also be used in the automatic watering system, garden, greenhouse, etc.
Soil Moisture Sensor Features Size of the board 36×15×6mm/1.42×0.59×0.23 inches (L × W × H) Length of the sensor chairman 8.8 cm/3.46 inches WEIGHT 20 g Operating voltage DC 3.3-5V Working current <20mA (starting current: <30ma) Sensor connection XH2.54 2P...
Soil Moisture Sensor Hardware Overview Digital Value Output This soil moisture detector outputs a low level from the DO port when the detecting humidity reaches the threshold value. Good to work with Arduino. Analog Value Output The AO port on the soil humidity sensor outputs an analog value(voltage), and you can acquire the real-time data via the AD port of your single-chip microcomputer(MCU).
Soil Moisture Sensor Board Schematic How Soil Moisture Sensor Works? ● "+" is the positive power connection, "-" is the negative connection. Do not connect upside down, otherwise the chip burns through. ● There is an LED stream display on the “P” mark on the circuit board. It shines when the module works normally.
Soil Moisture Sensor How to Use a Soil Moisture Sensor The uses of this product are very simple. In this section of this article, we will discuss how we can hook up a sensor and work with it, so first of all we need...
Soil Moisture Sensor Connection Diagram using analog port Please check the pinout printed on the Module as it can be mirrored Module Microcontroller Led anode←→pin13...
Soil Moisture Sensor Software installation Download the latest version of Arduino IDE here: https://www.arduino.cc/en/software After starting the Arduino IDE installation file the license conditions of the “arduino-ide_2.0.0_Windows_64bit.exe” software must be read and accepted.
Page 15
Soil Moisture Sensor In the next step, different options can be selected for installation. Finally, the destination folder must be specified. The installation requires approx. 500MB of free disk space. Click on "Install" to start the installation.
Page 16
Soil Moisture Sensor After successful installation, the installation programme can be terminated via the "Finish" button.
Page 17
Soil Moisture Sensor The starting window:...
Page 18
Soil Moisture Sensor Select the UNO Board...
Soil Moisture Sensor Setting up the Raspberry Pi and Python For the Raspberry Pi, the operating system must first be installed, then everything must be set up so that it can be used in headless mode. Headless mode allows remote connection to the Raspberry Pi without the need for a PC screen monitor, mouse or keyboard.
Soil Moisture Sensor Connection Diagram Please check the pinout printed on the Module as it can be mirrored Soil Module Raspberry GND pin 9 3.3V GPIO21...
Soil Moisture Sensor Python Code #!/usr/bin/python import RPi.GPIO as GPIO import time #GPIO SETUP sensorpin = GPIO.setmode(GPIO.BCM) GPIO.setup(sensorpin, GPIO.IN) Checkmoinsture_cb(sensorpin): GPIO.input(sensorpin): print "no water detected" else: print "water detected" # detect pin goes HIGH or LOW GPIO.add_event_detect(sensorpin, GPIO.BOTH, bouncetime=300) # Lunch callback GPIO.add_event_callback(sensorpin, Checkmoinsture_cb)
Page 25
If you are looking for the high quality microelectronics and accessories, AZ-Delivery Vertriebs GmbH is the right company to get them from. You will be provided with numerous application examples, full installation guides, eBooks, libraries and assistance from our technical experts.
Need help?
Do you have a question about the Soil Moisture Sensor and is the answer not in the manual?
Questions and answers