Friza M. 2014. Pengembangan dan karakterisasi sifat listrik film kitosan sebagai sensor aseton Dengan penambahan carboxymethyl cellulose (CMC). Medan:
Universitas Sumatera Utara.
F. Pan, Estimatingdaily surface soil moisture using a daily diagnostic soil moisture equation, J. Irrigation Drain. Eng., ASCE 138 (1) (2011) 625–631.
Guslim, 2007. Agroklimatologi. Medan: USU Press.
Hartawan, R. 2008. Variabilitas Pertumbuhan Bibit Jambu Air. Asal Benih Unggul dan Liar. Jurnal Media Akademik Vol. 2 No. 1 hlm 34-43.
Haryanti S. 2009. Optimalisasi Pembukaan Porus Stomata Daun Kedelai (Glycine max (L) merril) Pada Pagi Hari dan Sore. Jurnal Bioma, 11(1): 11-16.
Hebbar S and Prasad G V. 2017. Automatic Water Suply System for Plants by Using Wireless Sensor Network. International.
Kadir,A. 2015.Buku Pintar Pemrograman Arduino. MediaKom.Yogyakarta.
Khandaker M. M, Boyce A. N, Osman N. 2012. The Influence of hydrogen peroxide on the growth, development and quality of wax (Syzgium samarangense), [Blume] Merrill & L.M. Perry var. Jambu madu) fruits. Plant Physiology and Biochemistry. 53: 101-110.
Kramer, P. J. 1977. Plant and Soil Water Relationship. Mc.Graw Hill Pub. Co.
London
Musatafa, Muslimin. 2012. Dasar-Dasar Ilmu Tanah. Makassar: Erlangga.
Montero J I, Baeza E, Heuvelink E, Rieradevall J, Munoz P. 2017. Productivity of a building-integrated roof top greenhouse in a Mediterranean climate.
Agricultural System. 158: 14-22.
Nasrullah,E,Trisanto,A.& Utami,L. 2011. Rancang Bangun Sistem Penyiraman Tanaman Secara Otomatis Menggunakan Sensor Suhu Lm35 Berbasis
Mikrokontroler Atmega8535. Jurnal Rekayasa dan Teknologi Elektro 5(3):
182-192.
Nasution T I, Nainggolan I, Hutagalung S D, Ahmad K R, Ahmad Z A. 2013. The Sensing Mechanism and Detection of Low Concentration Acetone Using Chitosan Based Sensors. Sensor & Actuators B 177: 522-528.
Salisbury, F.B & C.W Ross. 1995. Plant Physiology. 3 ed. Wadsworth Publishing Co.Belmont California
Schaffrt, Bruce. 2006. Characterization Of Soil-Water. USA: Lippicontt Williams &
Wilkins,Inc.
Shü, Z. H., Chu, C. C., Hwang, L. C., & Shieh, C. S. (2001). Light, temperature, and sucrose affect color, diameter, and soluble solids of disks of wax apple fruit skin. HortScience, 36, 279–281
Sudjadi.2005. Teori dan Aplikasi Mikrokontroler.Graha Ilmu
Potts, D., Huxman, T.E., Cable, J.M., English, N.B., Ignace, D.D., Eilts, J.A., Mason, M.J., Weltzin, J.F., Williams, D.G., 2006. Antecedent moisture and seasonal
precipitation influence the response of canopy-scale carbon and water exchange to rainfall pulses in a semi-arid grassland. New Phytol. 170, 849–
860.
Y. Ma, L. Qu, W. Wang, X. Yang, T. Lei, Measuring soil water content through volume/mass replaconcrete using a constant volume container, Geoderma 271 (2016) 42–49.
Datasheet ATMega328/P 8-bit AVR Microcontrollers.
Datasheet DS1307 64x8, Serial, I2CReal-Time-Clock.
L. Hakim dan B. Manurung, Design and Analytical Simulation of Heart Rate Measurement and Human Body Temperature with Linear Regression
Approach.(2020).
LAMPIRAN Lampiran 1
Gambar Seluruh Rangkaian
C5
1000u/50V Out 12VDC
ANALOGIN ATMEGA328P-PU1121
Reset BTN ON www.TheEngineeringProjects.com PD0/RXD Untuk Memprogram Pada Arduino
// Date and time functions using a DS1307 RTC connected via I2C
pinMode (relay, OUTPUT);
digitalWrite(relay, LOW);
#ifdef AVR Wire.begin();
#else
Wire.begin(); // Shield I2C pins connect to alt I2C bus on Arduino Due
#endif
if (! rtc.begin()) {
Serial.println("Couldn't find RTC");
Serial.flush();
abort();
}
if (! rtc.isrunning()) {
Serial.println("RTC is NOT running!");
// following line sets the RTC to the date & time this sketch was compiled
}
// rtc.adjust(DateTime(2020,10,2,17,21,30));
}
void loop () {
DateTime now = rtc.now();
char buf[100];
strncpy(buf, "DD.MM.YYYY hh:mm:ss\0", 100);
//Serial.println(now.format(buf));
HYGRO = 208-analogRead(A0)/5;if (HYGRO > 91){HYGRO = 91;}
if
((now.hour()==7)&&(now.minute()==0)&&(now.second()<=10)&&(HYGRO <
60)){ digitalWrite(relay, LOW);}
if
((now.hour()==19)&&(now.minute()==00)&&(now.second()<=10)&&(HYGRO
< 60)){ digitalWrite(relay, LOW);}
if (now.second()>= 30){digitalWrite(relay, HIGH);}
// Serial.print(now.hour());Serial.print("
");Serial.print(now.minute());Serial.print("
");Serial.println(now.second());
if (HYGRO > 70){digitalWrite(relay, HIGH);}
delay(500);
n++;
if (n == 30){Serial.print(HYGRO);Serial.print("!");n=0;}
}
Untuk Program Pada Mikrokontroler ESP8266 NodeMCU
#include <ESP8266WiFi.h>
Serials.begin(115200);
pinMode(2, OUTPUT);
digitalWrite(2, HIGH);
WiFi.disconnect();
WiFi.begin("AndroidAP06EF","binje123");
while ((!(WiFi.status() == WL_CONNECTED))){
Serial.print(".");
Serial.println(HYGRO);delay(100);
}
if (client.connect("api.thingspeak.com",80)) { request_string = thingSpeakAddress;
request_string += "api_key=";
request_string += "XCBKXPHY9EME26NO";
request_string += "&field1=";
request_string += HYGRO;
http.begin(request_string);
http.GET();
http.end();
}
n++;delay(500);
}
Lampiran 3
Gambar Pengujian Rangkaian Keseluruhan
Lampiran 4
DataSheet Mikrokontroler Arduino
Pin Description
Pin Category Pin Name Details
Power Vin, 3.3V, 5V, GND Vin: Input voltage to
Arduino when using an external power source.
5V: Regulated power supply
used to power
microcontroller and other components on the board.
3.3V: 3.3V supply generated by on-board voltage regulator. Maximum current draw is 50mA.
GND: ground pins.
Reset Reset Resets the microcontroller.
Analog Pins A0 – A5 Used to provide analog input
in the range of 0-5V Input/Output Pins
Digital Pins 0 - 13
Can be used as input or output pins
Serial 0(Rx), 1(Tx) Used to receive and transmit
TTL serial data.
External Interrupts 2, 3 To trigger an interrupt.
PWM 3, 5, 6, 9, 11 Provides 8-bit PWM output.
SPI 10 (SS), 11 (MOSI), 12
(MISO) and 13 (SCK)
Used for SPI communication.
Inbuilt LED 13 To turn on the inbuilt LED.
TWI A4 (SDA), A5 (SCA) Used for TWI
Arduino Technical Specification
Microcontroller ATmega328P – 8 bit AVR family
microcontroller
Operating Voltage 5V
Recommended Input Voltage 7-12V
Input Voltage Limits 6-20V
Analog Input Pins 6 (A0 – A5)
Digital I/O Pins 14 (Out of which 6 provide PWM output)
DC Current on I/O Pins 40 mA
DC Current on 3.3V Pin 50 mA
Flash Memory 32 KB (0.5 KB is used for Bootloader)
SRAM 2 KB
EEPROM 1 KB
Frequency (Clock Speed) 16 MHz
Lampiran 5
DataSheet NodeMCU
AREF AREF To provide reference voltage
for input voltage.
NodeMCU Development Board Pinout Configuration
Pin Category Name Description
Power Micro-USB, 3.3V, GND, Vin Micro-USB: NodeMCU can be
powered through the USB
Control Pins EN, RST The pin and the button resets
the microcontroller
Analog Pin A0 Used to measure analog
voltage in the range of 0-3.3V
GPIO Pins GPIO1 to GPIO16 NodeMCU has 16 general
purpose input-output pins on its board
SPI Pins SD1, CMD, SD0, CLK NodeMCU has four pins
available for SPI communication.
UART Pins TXD0, RXD0, TXD2, RXD2 NodeMCU has two UART
interfaces, UART0 (RXD0 &
TXD0) and UART1 (RXD1 &
TXD1). UART1 is used to upload the
firmware/program.
I2C Pins NodeMCU has I2C
functionality support but due to the internal functionality of these pins, you have to find which pin is I2C
NodeMCU ESP8266 Specifications & Features
Microcontroller: Tensilica 32-bit RISC CPU Xtensa LX106
Operating Voltage: 3.3V
Input Voltage: 7-12V
Digital I/O Pins (DIO): 16
Analog Input Pins (ADC): 1
UARTs: 1
SPIs: 1
I2Cs: 1
Flash Memory: 4 MB
SRAM: 64 KB
Clock Speed: 80 MHz
USB-TTL based on CP2102 is included onboard, Enabling Plug n Play
PCB Antenna
Small Sized module to fit smartly inside your IoT projects
Brief About NodeMCU ESP8266
The NodeMCU ESP8266 development board comes with the ESP-12E module containing ESP8266 chip having Tensilica Xtensa 32-bit LX106 RISC microprocessor. This microprocessor supports RTOS and operates at 80MHz to 160 MHz adjustable clock frequency. NodeMCU has 128 KB RAM and 4MB of Flash memory to store data and programs. Its high processing power with in-built Wi-Fi / Bluetooth and Deep Sleep Operating features make it ideal for IoT projects.
NodeMCU can be powered using Micro USB jack and VIN pin (External Supply Pin). It supports UART, SPI, and I2C interface.
Lampiran 6
DataSheet RTC DS1307
Pin Configuration
Pin Number Pin Name Description
1,2 X1 , X2 Crystal Oscillator should be
connected to these pins
3 V-Bat Connected to Positive
terminal of the battery
4 Ground Ground pin of the IC
5,6 SCL and SDA Pins for I2C communication
with CPU
7 SQW / Out Square wave output driver pin
to obtain square wave frequencies.
8 Vcc Powers the IC typically 5V
DS1307 Specifications
I2C Interface RTC IC
Operating Voltage: 5V
Less than 500nA current when operating with battery
56bytes SVRAM
Operates in power or battery mode
Programmable square wave output pin
Available in PDIP and SO package
Lampiran 7
DataSheet Soil Moisture YL069
Pin Konfigurasi
Pin Keterangan
Pin VCC Power supply 3,3 vdc - 5vdc
Pin GND Power supply ground
Pin A0 Masuk pin A0 arduino
Pin D0 Masuk pin D12 arduino