29
Monitoring & Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor Group 1 : Aji Muhariansyah (151611003) Ayudya Maulidiani R (151611006) Mufthi Khaidir (151611017) Supervisor : Muhammad Arman, ST., S.Psi., M.Eng REFRIGERATION AND AIR CONDITIONING ENGINEERING BANDUNG STATE POLYTECHNIC

Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

Embed Size (px)

Citation preview

Page 1: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

Monitor ing & Automatic Water ing Based On

Microcontrol ler Arduino Uno Using Soi l Moisture

SensorGroup 1 :Aji Muhariansyah (151611003)Ayudya Maulidiani R (151611006)Mufthi Khaidir (151611017)

Supervisor : Muhammad Arman, ST., S.Psi., M.Eng

REFRIGERATION AND AIR CONDITIONING ENGINEERINGBANDUNG STATE POLYTECHNIC

Page 2: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

BACKGROUNDPlant is one of the living beings that need water for the development of life. Fertile soil is one of the conditions for plants to grow well. The fertility rate can be influenced by the intensity of the water it contains. Soil moisture is one of the important factors of plant growth. Excessive moisture can lead to plant roots absorb water and quickly decay, while the lack of moisture in the soil causes the roots of the plants so that the water shortage is not optimal plant growth. For that we need to keep the soil moist in certain circumstances. In this great task we design a system that is capable of performing automatic watering with that moisture on soil conditions.

Page 3: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

PURPOSE• Monitoring and control soil moisture• Make a miniature tool for land-based automatic watering system

microcontroller Arduino uno• Apply the Arduino Uno with soil moisture sensor, pump, LED, buzzer and

LCD• Simplify the process of watering the soil

Page 4: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

DESCRIPTION TOOL

Watering System is a miniature tool for a system of irrigation or watering plants automatically using Arduino microcontroller that is integrated with soil

moisture sensor (Soil Moisture Sensor), LED, LCD, buzzer and a pump.

Page 5: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

WIRING DIAGRAM

Page 6: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

SOURCE OF IDEA• http://www.youtube.com/watch?v=Q4CNH2T2siU • https://www.youtube.com/watch?v=eEpI_9o6DAk

Modifications that we do is change the sensor since the sensor DHT11 because sensor DHT11 can only read humidity and air temperature, where as we wanted to create a project for monitoring and control of soil moisture then we use the moisture sensor YL-69, buzzer and LCD.

Page 7: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

WORK PRINCIPLE• In this project show Moisture sensor

applications to set the flame or outages the pump. This project we divided into three conditions, namely dry conditions, humid and wet. Moisture sensor measurement results displayed on the LCD screen. If the soil moisture to dry the red LED light turns on and the pump will work to drain the water from the water reservoir into the pot until the soil moisture in the pot does not dry up again and the pump will stop. if the soil moisture in humid conditions, the yellow LED light turns on and pumps will not work, and if the soil moisture in wet conditions, then the green LED lights turn on, the buzzer will turn on and the pump will not work.

Page 8: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

ARDUINO UNO• Arduino Uno is a microcontroller board

based ATMEGA 328 (datasheet). Has 14 input pins of digital output, of which 6 input pin can be used as PWM outputs and 6 analog input pin, 16 MHz crystal oscillator, a USB connection, a power jack, ICSP header, and a reset button. To support the microcontroller to be used, quite simply connecting Board Arduino Uno to the computer using a USB cable or power supply with AC-to-DC adapter or battery to run it.

TOOL AND MATERIAL

Page 9: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

SPESIFICATIONS ARDUINO UNO

Page 10: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

SOIL MOISTURE SENSOR Spesifikasi :• Power supply : 3.3v or 5v• Output voltage signal : 0~4.2v• Current : 35mA• Pin definition :-Analog output(Blue wire)

-GND (Black wire) -Power (Red wire)

• Size : 60x20x5cm• Surface finish : Immersion Gold

Page 11: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

RESISTOR

LEDMaterial : AlGaInPForward voltage : 2,1V @ If=20mASudut pancaran : 40 degreeLuminasi : 200mCd @ If=20mA

Page 12: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

LIQUID CRYSTAL DISPLAY (LCD)

• LCD (Liquid Crystal Display) is a media type that uses liquid crystals to appear as the main performers:

a. Consists of 16 characters and 2 lines.b. Have saved 192 characters.c. There is a character generator

programmed.d. Can be addressed with the mode 4-

bit and 8-bit.e. Equipped with back light.

• Pin                   Deskripsi• 1                           Ground

• 2                           Vcc

• 3                           Pengatur kontras

• 4                           “RS”

Register Select

• 5                           “R/W” Read/Write

LCD Registers

• 6                           “EN” Enable

• 7-14                       Data I/O Pins

• 15                          Vcc

• 16                          Ground

Page 13: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

BUZZER

Page 14: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

I2C  (INTER INTEGRATED CIRCUIT)

Page 15: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

RELAY MODULESuch as Arduino microcontroller only

provides logic I / O output is quite small, about 10-30mA. If you will start to control the switches with greater flows, relay module 1 channel this will really help you. By using this relay module you can do the switch up to 250V / 10A on its channel.• Operating Voltage: 5V• Maximum Switch voltage: 250 VAC 30 VDC• Contact action time: <10ms• LED indicators• 30-60 cm control side• Equipped with overcurrent protection kickback

Page 16: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

WATER PUMP 220V/50HZ 12W

Spesification :• Power : 12 watt• Height Max : 0.7 M• Flow Max : 700 L/H

Page 17: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

ELECTRIC SOCKET

Spesification :• Operation with power : 220

Voltage 

Page 18: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

MATRIC PCB

USB CABLE

JUMPER CABLE

Page 19: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

ACRYLIC ACRYLIC GLUE

CUTTER

Page 20: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

SCREWDRIVER

TIN

ELECTRICAL SOLDERING

Page 21: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

DESIGN

Page 22: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

YY

Y

TT

FLOW CHART

Page 23: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

SCRIPT PROGRAM

Page 24: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor
Page 25: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor
Page 26: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

EXPERIMENT PROCEDUR• Prepare for storage of circuit board using acrylic.• Put arduino, and pcb in containers that have been made.• Compose components according to the wiring diagram• Type the program into the arduino software.• Connect the USB cable to the arduino.• Once the program is complete IDE made later Compile.• After there was no error or warning and then upload program• Make observations about the series as a whole that is by

experimenting with ways to condition the soil moisture at the point of the sensor.

• Make conclusions from the observations that have been made.

Page 27: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

CONCLUSION• Based on the results it can be concluded that the design tool based soil

moisture sensor Arduino Uno has been operating quite well for being able to measure soil moisture.

• It can be seen that the greater the amount of additional water content of the soil moisture value is increasing which is characterized by the value and the category of "Dry", “Humid" and "Wet" in accordance with a predetermined range that is visible on the LCD screen.

Page 28: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

REFERENCE Arduino.cc, Arduino unodatasheet.

Gani, Siti Hardianti dkk. 2014. Rancang Bangun Sistem Penyiraman Tanaman

secara Otomatis Menggunakan Soil Moisture Sensor SEN0057 Berbasis

Mikrokontroler Atmega328p. Sumatera Utara: Untad.

Isnainin, Rahmat dkk. 2012. Rancangan dan Uji Coba Otomatisasi Irigasi Curah.

Jawa Barat: Universitas Agrikultur Bogor.

Stevanus, Setiadikurnia D. 2013. Alat Pengukur Kelembaban Tanah Berbasis

Mikrokontroler PIC 16F84. Bandung: Universitas Kristen Maranatha.

• http://www.youtube.com/watch?v=Q4CNH2T2siU • https://www.youtube.com/watch?v=eEpI_9o6DAk

Page 29: Monitoring and Automatic Watering Based On Microcontroller Arduino Uno Using Soil Moisture Sensor

THANK YOU AND

HOPEFULLY USEFUL