By
Valerian Agustinus Sinulingga 11501059
BACHELOR’S DEGREE in
MECHANICAL ENGINEERING – MECHATRONICS CONCENTRATION FACULTY OF ENGINEERING & INFORMATION TECHNOLOGY
SWISS GERMAN UNIVERSITY The Prominence Tower
Jalan Jalur Sutera Barat No. 15, Alam Sutera Tangerang, Banten 15143 - Indonesia
July 2019
Revision after the Thesis Defense on July 15 2019
Valerian Agustinus Sinulingga STATEMENT BY THE AUTHOR
I hereby declare that this submission is my own work and to the best of my knowledge, it contains no material previously published or written by another person, nor material which to a substantial extent has been accepted for the award of any other degree or diploma at any educational institution, except where due acknowledgement is made in the thesis.
Valerian Agustinus Sinulingga
____________________________________________
Student Date
Approved by:
Erikson F.Sinaga, S.T., M.Kom.
____________________________________________
Thesis Advisor Date
Dr. Maulahikmah Glinium, S.Kom, M.Sc
____________________________________________
Dean Date
Valerian Agustinus Sinulingga ABSTRACT
IMPLEMENTATION OF TEMPERATURE CONTROL AND MONITORING SYSTEM THROUGH IOT IN HOME GARDEN SEEDLINGS
By
Valerian Agustinus Sinulingga Erikson F.Sinaga, S.T., M.Kom., Advisor
SWISS GERMAN UNIVERSITY
The development of automation technology has spread widely from the time it is discovered to help mankind progress. In this thesis work one of the automation technology was implemented for urban farming. The home garden can control the temperature, lights, and soil moisture of the plants. This thesis work main focus is to develop a system to cool the high temperature of home garden, keep the plant healthy by giving it water and light and monitoring it via Internet. The development of this thesis project was made possible by Arduino as the controller and with Raspberry Pi for camera monitoring system. The camera it was used is raspberry pi camera module 5MP, the video will be streamed to local IP. With Internet of Things support, the monitoring for data can be streamed by using ThingSpeak, thus the Arduino will send the data to ThingSpeak website. The soil moisture, temperature and intensity of light are read by using YL-69, DHT22, and photoresistor. The garden will be giving a suitable need for the plant to grow.
Keywords: Arduino, Internet of Things, YL-69, DHT22, Photoresistor, Camera Module, ThinkSpeak
Valerian Agustinus Sinulingga
© Copyright 2019
by Valerian Agustinus Sinulingga All rights reserved
Valerian Agustinus Sinulingga DEDICATION
I dedicate this works for my family, friends and for beloved country Indonesia.
Valerian Agustinus Sinulingga ACKNOWLEDGEMENTS
The author can’t achieve anything on this project if not by the patience of people around him. First of all, the author wants to express gratefulness to almighty god and the author family. And thank Mr Erikson F. Sinaga, ST., M.Kom as the thesis advisor.
The author expresses his gratitude to all the supporting friend of his for their mental and physical support in the development of this thesis work such as Leonard Chandra, Richard Chandra, Ignatius Deo, Kelvin Galinye, Daniel Dwicahya, Kevin Boesman, Vincentius Varrel, Geraldus Aldo, and Ricky Leonardian.
To all the staff and lecturer of SGU and SGU Workshop, the author thanks them for their service in facilitating all the things that happens in SGU. Without all their collaboration the author can’t finished this thesis work in the given time.
Valerian Agustinus Sinulingga TABLE OF CONTENTS
Page
STATEMENT BY THE AUTHOR ... 2
ABSTRACT ... 3
DEDICATION... 5
ACKNOWLEDGEMENTS ... 6
TABLE OF CONTENTS ... 7
LIST OF FIGURES ... 10
LIST OF TABLES ... 12
CHAPTER 1 - INTRODUCTION ... 13
1.1 BACKGROUND ... 13
1.2 OBJECTIVES ... 14
1.3 HYPOTHESIS ... 14
1.4 THESIS PROBLEM ... 14
1.5 THESIS LIMITATIONS ... 15
CHAPTER 2 - LITERATURE REVIEW ... 16
2.1 INTRODUCTION ... 16
2.2 THEORETICAL PERSPECTIVE ... 16
2.2.1 Watering Methods and Function ... 16
2.2.2 Seedlings ... 17
2.2.3 Temperature ... 18
2.2.4 Soil Moisture ... 19
2.2.5 Effect of Lights on Plants ... 19
2.2.6 Internet of Things ... 20
2.3 PREVIOUS STUDIES ... 21
CHAPTER 3 – RESEARCH METHODS ... 23
3.1 INTRODUCTION ... 23
Valerian Agustinus Sinulingga
3.3.1 Planting Place... 24
3.3.2 Pan Tilt Servo ... 25
3.3.3 Partition A ... 25
3.3.4 Partition B ... 26
3.3.5 Plantation Place Assemblied ... 26
3.4 ELECTRICAL DESIGN ... 26
3.4.1 Arduino Mega 2560 ... 28
3.4.2 Raspberry Pi Model B ... 29
3.4.3 12V DC Brushless Fan... 30
3.4.4 12V Submerged DC Pump... 31
3.4.5 12V Testing Light Bulb ... 32
3.4.6 Camera Module for Raspberry Pi ... 33
3.4.7 Soil Moisture Sensor (YL-69) ... 33
3.4.8 DHT11 Temperature Sensor ... 34
3.4.9 Photoresistor (Light Dependent Resistor or photo-conductive cell) ... 35
3.4.10 5V 4 Channel Relay Module... 36
3.4.11 DHT22 Temperature Sensor ... 37
3.4.12 Light Strip 3:1 Red and Blue ... 38
3.5 CONTROL SYSTEM ... 40
CHAPTER 4 – RESULTS AND DISCUSSIONS ... 43
4.1 INTRODUCTION ... 43
4.2 MECHANICAL RESULT ... 43
4.3 DATA TAKING AND ANALYSIS ... 44
4.3.1 Temperature Sensors Accuracy Testing ... 44
4.3.2 Soil Moisture Sensor Precision Testing ... 45
4.3.3 Analysis of DHT22 Placement ... 47
4.3.4 Fan Speed Testing ... 49
4.3.5 Fan, Ventilation & Water Spray Testing ... 51
4.3.6 IoT Monitoring Testing... 53
4.3.7 Plant Growth Comparison... 55
Valerian Agustinus Sinulingga
5.2 RECOMMENDATIONS ... 57
GLOSSARY... 58
REFERENCES ... 59
APPENDIX-MECHANICAL ... 60
APPENDIX-CODE ... 61
APPENDIX-BILL OF MATERIAL ... 64
APPENDIX-ARDUINO DATA SHEET ... 64
APPENDIX-W5100 DATASHEET ... 74
APPENDIX-RASPBERRY PI 3 MODEL B ... 80
CURRICULUM VITAE ... 88