filmov
tv
SOIL MOISTURE SENSOR FOR PLANTS (V1.2 / V2.0) - Arduino tutorial #31
Показать описание
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.
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
🇳🇱 Arduino Uno (clone) - Opencircuit
🇳🇱 Arduino Uno SMD (original) - Opencircuit
🇳🇱 Arduino Uno Chip (original) - Opencircuit
🇨🇳 1x breadboard small - AliExpress
🇳🇱 1x breadboard small - Opencircuit
🇨🇳 1x breadboard large - AliExpress
🇳🇱 1x breadboard large - Opencircuit
🇨🇳 Jumper wire assortment (MM/MF/FF) - AliExpress
🇨🇳 Jumper wire male-male - AliExpress
🇳🇱 Jumper wire male-male - Opencircuit
🇨🇳 128x64 I2C OLED (blue) - AliExpress
🇳🇱 128x64 I2C OLED (blue) - Opencircuit
🇨🇳 128x64 I2C OLED (white) - AliExpress
🇳🇱 128x64 I2C OLED (white) - Opencircuit
🇨🇳 128x64 I2C OLED (yellow-blue) - AliExpress
🇳🇱 128x64 I2C OLED (yellow-blue) - Opencircuit
🇨🇳 20x colored tactile switches - AliExpress
🇳🇱 5x colored tactile switches - Opencircuit
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
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.
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
🇳🇱 Arduino Uno (clone) - Opencircuit
🇳🇱 Arduino Uno SMD (original) - Opencircuit
🇳🇱 Arduino Uno Chip (original) - Opencircuit
🇨🇳 1x breadboard small - AliExpress
🇳🇱 1x breadboard small - Opencircuit
🇨🇳 1x breadboard large - AliExpress
🇳🇱 1x breadboard large - Opencircuit
🇨🇳 Jumper wire assortment (MM/MF/FF) - AliExpress
🇨🇳 Jumper wire male-male - AliExpress
🇳🇱 Jumper wire male-male - Opencircuit
🇨🇳 128x64 I2C OLED (blue) - AliExpress
🇳🇱 128x64 I2C OLED (blue) - Opencircuit
🇨🇳 128x64 I2C OLED (white) - AliExpress
🇳🇱 128x64 I2C OLED (white) - Opencircuit
🇨🇳 128x64 I2C OLED (yellow-blue) - AliExpress
🇳🇱 128x64 I2C OLED (yellow-blue) - Opencircuit
🇨🇳 20x colored tactile switches - AliExpress
🇳🇱 5x colored tactile switches - Opencircuit
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
Комментарии