Penyiram Tanaman Otomatis Soil Moisture Sensor VLOG118
Summary
TLDRThis tutorial shows how to create an automated plant watering system using an Arduino. The system utilizes a soil moisture sensor to detect dryness and activate a water pump when the soil is dry, turning it off once the moisture level reaches an adequate level. The guide covers the necessary components, including the Arduino board, soil moisture sensor, relay, and optional LCD display. It provides step-by-step instructions on wiring, coding, and testing the system. Advanced features, like remote monitoring via Telegram, are also introduced for users seeking more functionality.
Takeaways
- 😀 The project aims to create an automated plant watering system based on Arduino that turns on a pump when soil moisture is low and turns it off when the soil is wet.
- 😀 The main components needed include an Arduino with an ATmega328 microcontroller, a soil moisture sensor from DF Robot, and optionally an LCD for displaying sensor data.
- 😀 The soil moisture sensor works by detecting changes in capacitance, not resistance, and provides an analog output that varies depending on soil moisture levels.
- 😀 The sensor needs to be inserted into the soil and connected to the Arduino via analog pins, ensuring proper connections to VCC, GND, and the sensor’s output pin.
- 😀 A basic Arduino code is provided to read analog values from the sensor, output them through the serial monitor, and test sensor behavior with different soil moisture conditions.
- 😀 The Arduino code uses `analogRead` to capture the sensor data, with values displayed in the serial monitor to determine the moisture levels of the soil.
- 😀 The pump is controlled using a relay, which allows the Arduino to switch higher voltage and current needed for the pump, preventing damage to the board.
- 😀 Conditional programming using `if` and `else if` statements is employed to turn the pump on or off based on the moisture level detected by the sensor.
- 😀 A 100ms delay is added to the loop to prevent excessive switching and ensure smooth operation of the system.
- 😀 An optional feature is the use of an LCD display to show the sensor readings in real time, and users can also connect the system to Telegram for remote monitoring and control of the garden's conditions.
Q & A
What is the purpose of the automatic plant watering system demonstrated in the video?
-The system is designed to automatically water plants when the soil moisture level drops below a certain threshold. It uses a soil moisture sensor to detect dryness and activates a pump to irrigate the plants.
What is the main component used in the project to control the watering system?
-The main component is an Arduino, which is programmed to control the pump based on the input from the soil moisture sensor.
How does the soil moisture sensor work?
-The soil moisture sensor is capacitive, meaning it detects moisture based on changes in the electrical properties of the soil. The sensor provides an analog output that varies from 0 to a maximum value depending on the moisture level.
Why is a capacitive soil moisture sensor preferred over a resistive one?
-Capacitive sensors are preferred because they are more durable and resistant to corrosion. Unlike resistive sensors, they do not have exposed conductive parts that can corrode when in contact with soil.
What is the function of the LCD in the project?
-The LCD is optional and is used to display the current moisture level from the soil sensor. This allows the user to visually monitor the soil's condition.
What role does the relay module play in this system?
-The relay module acts as a switch that allows the low-power Arduino to control the high-power pump. It ensures that the pump, which requires more current and voltage, is properly activated and deactivated.
How does the Arduino control the pump based on the moisture level?
-The Arduino reads the analog value from the soil moisture sensor. If the value is above a certain threshold, the Arduino activates the pump; if the value is below the threshold, the pump is turned off.
What is the purpose of the 'delay' function in the Arduino code?
-The 'delay' function pauses the program for a specified amount of time, in this case, 100 milliseconds. This prevents the system from making decisions too quickly and ensures stable sensor readings and reliable operation.
Can the system be integrated with Telegram for remote monitoring?
-Yes, the system can be integrated with Telegram using a bot to send real-time updates about the soil moisture level and the status of the relay/pump. This allows remote monitoring and control of the watering system.
What coding example is provided to test the sensor readings before implementing the full watering system?
-The provided example is the 'analog read serial' code, which reads the sensor's analog value and outputs it to the serial monitor. This helps test the sensor's functionality and calibrate the moisture threshold for activating the pump.
Outlines
This section is available to paid users only. Please upgrade to access this part.
Upgrade NowMindmap
This section is available to paid users only. Please upgrade to access this part.
Upgrade NowKeywords
This section is available to paid users only. Please upgrade to access this part.
Upgrade NowHighlights
This section is available to paid users only. Please upgrade to access this part.
Upgrade NowTranscripts
This section is available to paid users only. Please upgrade to access this part.
Upgrade NowBrowse More Related Video
Automatic Plant Watering System using Arduino & Soil Moisture Sensor | LCD display [with CODE]
How to make Automatic Plant Watering System using Arduino UNO and Soil Sensor || Techie Lagan
New Blynk IOT Smart Plant Monitoring System
Membuat Kipas Angin Otomatis Arduino
WaterMark Soil Moisture Sensor - How to Install
cara membuat pompa galon otomatis tanpa arduino / pompa galon elektrik
5.0 / 5 (0 votes)