Published On Mar 28, 2020
The capacitive soil moisture sensor allows you to measure the moistness of soil. The biggest advantage over a traditional moisture sensor is that the capacitive sensor doesn't corrode. In this tutorial I'll explain how you can read the soil moisture sensor and what the advantages are. Further you learn how to work with the map() function and how to calculate the soil moisture in percentage.
Many ask what the difference is between v1.2 and v2.0, this is what I found:
- The spelling of the out pin: AOUT on v1.2 and AUOT on the v2.0
- The top of the PCB shows a tiny circle on v2.0
π€ Fun fact: One pin on my sensor is labeled AUOT which should be AOUT for Analog OUT.
The Arduino for beginners tutorials series guides you through the world of Arduino. A video is around 10 minutes and shows you step-by-step how to build the circuit and write the code. The website contains the course material, circuit diagram, Arduino code and shopping list of all the components used in the tutorial.
β¬οΈ Course material, circuit diagram, code and part list https://arduino-tutorials.net/tutoria...
π More tutorials and projects on https://arduino-tutorials.net
π³π± Deze tutorial is ook in het Nederlands beschikbaar Β Β Β β’Β π³π±Β CAPACITIEVEΒ VOCHTSENSORΒ VOORΒ PLANT...Β Β
CHAPTERS:
00:00 Introduction
00:15 Components
00:30 Capacitive soil moisture sensor
02:57 Building the circuit
03:34 Arduino code - part 1
04:42 Arduino code - part 2
COMPONENTS
π¨π³ Arduino Uno (clone) with cable - AliExpress
https://arduino-tutorials.net/r/Jd28hF
π³π± Arduino Uno (clone) - Opencircuit
https://arduino-tutorials.net/r/8237Hd
π³π± Arduino Uno SMD (original) - Opencircuit
https://arduino-tutorials.net/r/Ud29dh
π³π± Arduino Uno Chip (original) - Opencircuit
https://arduino-tutorials.net/r/Jd82ha
π¨π³ 1x breadboard small - AliExpress
https://arduino-tutorials.net/r/7364GD
π³π± 1x breadboard small - Opencircuit
https://arduino-tutorials.net/r/238Jds
π¨π³ 1x breadboard large - AliExpress
https://arduino-tutorials.net/r/FDH28dh
π³π± 1x breadboard large - Opencircuit
https://arduino-tutorials.net/r/8237Dh
π¨π³ Jumper wire assortment (MM/MF/FF) - AliExpress
https://arduino-tutorials.net/r/Fh378fg
π¨π³ Jumper wire male-male - AliExpress
https://arduino-tutorials.net/r/7346GD
π³π± Jumper wire male-male - Opencircuit
https://arduino-tutorials.net/r/8237Jd
π¨π³ 128x64 I2C OLED (blue) - AliExpress
https://arduino-tutorials.net/r/Fh83gf
π³π± 128x64 I2C OLED (blue) - Opencircuit
https://arduino-tutorials.net/r/923Hfg
π¨π³ 128x64 I2C OLED (white) - AliExpress
https://arduino-tutorials.net/r/34hFGd
π³π± 128x64 I2C OLED (white) - Opencircuit
https://arduino-tutorials.net/r/38HFks
π¨π³ 128x64 I2C OLED (yellow-blue) - AliExpress
https://arduino-tutorials.net/r/dhf83D
π³π± 128x64 I2C OLED (yellow-blue) - Opencircuit
https://arduino-tutorials.net/r/283Jfh
π¨π³ 20x colored tactile switches - AliExpress
https://arduino-tutorials.net/r/73fHd
π³π± 5x colored tactile switches - Opencircuit
https://arduino-tutorials.net/r/834jFH
VIDEO SUMMARY:
In this tutorial, Bas will show you how to use a capacitive soil moisture sensor. You'll need an Arduino board, the sensor, a sensor cable, jumper wires and a glass of water. He explains that the sensor works by measuring the resistance between two pins which changes based on the water level in the soil. However, he warns that fertilizers and corrosion can affect the sensor's accuracy. Instead of measuring resistance, this sensor works like a capacitor, measuring charge and discharge timing. The sensor also has a chip called a 555 timer chip which helps with timing. Bas will guide you on how to connect the sensor to the Arduino board and run the code. Finally, he'll show you how to calculate the percentage of moisture in the soil by adjusting the code and measuring the total range of the sensor.
#arduino #BasOnTech