.. note:: Hello, welcome to the SunFounder Raspberry Pi & Arduino & ESP32 Enthusiasts Community on Facebook! Dive deeper into Raspberry Pi, Arduino, and ESP32 with fellow enthusiasts. **Why Join?** - **Expert Support**: Solve post-sale issues and technical challenges with help from our community and team. - **Learn & Share**: Exchange tips and tutorials to enhance your skills. - **Exclusive Previews**: Get early access to new product announcements and sneak peeks. - **Special Discounts**: Enjoy exclusive discounts on our newest products. - **Festive Promotions and Giveaways**: Take part in giveaways and holiday promotions. 👉 Ready to explore and create with us? Click [|link_sf_facebook|] and join today! Video 15: Automating Plant Watering ====================================== This tutorial covers the use of a soil moisture sensor with Arduino to monitor soil wetness and automate watering through code and hardware demonstrations. * **Soil Moisture Sensor Basics**: Introduction to the soil moisture sensor, its pins, and how it measures soil moisture. * **Sensor-Arduino Wiring**: Step-by-step instructions on connecting the moisture sensor to the Arduino. * **Arduino Code for Moisture Reading**: Explanation of Arduino code to read and interpret moisture levels from the sensor. * **Understanding Sensor Output**: Analysis of the sensor's output values to determine soil moisture conditions. * **Automated Watering Logic**: Development of an advanced Arduino code to automate watering based on soil moisture levels. * **Practical Implementation and Testing**: Demonstrations of the sensor in action within soil, showing how the system can trigger a buzzer or control a water pump for automated watering. **Video** .. raw:: html

**Related On-line Tutorials** * :ref:`ar_moisture`