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 stepbystep 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://arduinotutorials.net/tutoria...
More tutorials and projects on https://arduinotutorials.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://arduinotutorials.net/r/Jd28hF
Arduino Uno (clone) Opencircuit
https://arduinotutorials.net/r/8237Hd
Arduino Uno SMD (original) Opencircuit
https://arduinotutorials.net/r/Ud29dh
Arduino Uno Chip (original) Opencircuit
https://arduinotutorials.net/r/Jd82ha
1x breadboard small AliExpress
https://arduinotutorials.net/r/7364GD
1x breadboard small Opencircuit
https://arduinotutorials.net/r/238Jds
1x breadboard large AliExpress
https://arduinotutorials.net/r/FDH28dh
1x breadboard large Opencircuit
https://arduinotutorials.net/r/8237Dh
Jumper wire assortment (MM/MF/FF) AliExpress
https://arduinotutorials.net/r/Fh378fg
Jumper wire malemale AliExpress
https://arduinotutorials.net/r/7346GD
Jumper wire malemale Opencircuit
https://arduinotutorials.net/r/8237Jd
128x64 I2C OLED (blue) AliExpress
https://arduinotutorials.net/r/Fh83gf
128x64 I2C OLED (blue) Opencircuit
https://arduinotutorials.net/r/923Hfg
128x64 I2C OLED (white) AliExpress
https://arduinotutorials.net/r/34hFGd
128x64 I2C OLED (white) Opencircuit
https://arduinotutorials.net/r/38HFks
128x64 I2C OLED (yellowblue) AliExpress
https://arduinotutorials.net/r/dhf83D
128x64 I2C OLED (yellowblue) Opencircuit
https://arduinotutorials.net/r/283Jfh
20x colored tactile switches AliExpress
https://arduinotutorials.net/r/73fHd
5x colored tactile switches Opencircuit
https://arduinotutorials.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