Implementasi Paradigma Publish-Subscribe Untuk Menjalankan Event-Based Monitoring Pada Sistem Pengamatankandang Ternak

Alim, Adytya Tri Syahrul and Dany Primanita Kartikasari, S. T., M.Kom and Fariz Andri Bakhtiar, S. T., M.Kom (2020) Implementasi Paradigma Publish-Subscribe Untuk Menjalankan Event-Based Monitoring Pada Sistem Pengamatankandang Ternak. Sarjana thesis, Universitas Brawijaya.

Abstract

Suhu dan kelembapan udara merupakan aspek yang cukup penting dalam bidang peternakan, terutama pada peternakan ayam broiler/ ayam potong. Kondisi cuaca yang sering kali tidak diharapkan oleh para peternak ayam broiler terkadang menjadi sebuah permasalahan dalam pemeliharaan ayam. Permasalahan tersebut berdampak pada hasil panen ayam, karena suhu dan kelembapan sangat berpengaruh dalam kelangsungan hidup ayam tersebut. Sehingga dibutuhkan peranan teknologi yang dapat membantu mengatasi masalah tersebut, untuk menyampaikan nilai suhu dan kelembapan kepada pengelola secara daring. IoT atau Internet of Things merupakan sebuah konsep teknologi yang penerapannya bisa digunakan untuk membantu dalam masalah tersebut. Sistem kerja IoT adalah menghubungkan benda-benda fisik dengan komunikasi internet. Agar dapat saling terhubung, perangkat-perangkat yang digunakan memerlukan bantuan sebuah protokol. Protokol yang digunakan dalam penelitian ini adalah MQTT (Message Queuing Telemetry Transport) yang dapat bekerja dalam kondisi low bandwith serta unrealiable network. Protokol MQTT mengadopsi mekanisme publish-subscribe. Dengan begitu, sistem yang dibuat terdiri dari tiga komponen yaitu publisher, broker, susbcriber. Komponen pertama adalah sensor suhu dan kelembapan DHT11 pada ESP8266 sebagai mikrokontroler dan juga sebagai modul WiFi, ditambah dengan kamera Webcam USB untuk memantau kondisi di dalam kandang sebagai publisher. Kemudian yang kedua adalah mikrokomputer Raspberry Pi sebagai server sekaligus berfungsi sebagai broker. Di dalam broker juga terdapat penyimpanan data. Komponen ketiga adalah halaman web yang menjadi interface bagi pengguna juga bertindak sebagai subscriber. Dari penelitian yang dibuat didapatkan hasil pengujian yang baik dengan memperoleh kinerja sistem yang merujuk pada nilai average latency di bawah 1ms yaitu 0,31ms.

English Abstract

Temperature and humidity are important aspects in the animal husbandry field, especially for chicken broiler husbandry. Temperature and humidity observation problems have been talked about, one of them is weather changes. Weather conditions that are often not expected by broiler breeders become a complex problem. These problems have an impact on chicken yields, because the temperature and humidity are very influential in the survival of the chicken. As a result, the role of technology is needed to help resolving the problem, to convey the value of temperature and humidity to owner from a long distance. IoT or Internet of Things is a technological concept which can be applied to assist this problem. The IoT work system connects physical objects with internet communication. To be interconnected, the devices used require the help of a protocol. The protocol will run data transmission which serves as the transportation of data from sensors to users in a network. The protocol used in this study is MQTT (Message Queuing Telemetry Transport) which is expected to work in low bandwidth and unreliable network conditions. The MQTT protocol adopts publish-subscribe mechanism. In addition, the system which is made consists of 3 components, namely publisher, broker, subscriber. The first component is a series of DHT11 temperature and humidity sensors on ESP8266 as a microcontroller and also as a WiFi module, plus a USB Webcam camera to monitor conditions inside the enclosure as a publisher. Then the Raspberry Pi microcomputer as a server which also functions as a broker. Moreover, there is also data storage inside the broker. The third component is a web page which becomes an interface for users and also acts as a subscriber. From this research, the results of the tests were as expected, and it obtained system performance which referred to the average latency value below 1ms that was 0.31ms.

Other obstract

-

Item Type: Thesis (Sarjana)
Identification Number: 0520150034
Uncontrolled Keywords: IoT, MQTT, Publish-subscribe, Raspberry pi, suhu, kelembapan,IoT or Internet of Things, Raspberry Pi, temperature, humidity, MQTT, Publish-subscribe
Subjects: 000 Computer science, information and general works > 005 Computer programming, programs, data > 005.4 Systems programming and programs > 005.43 Systems programs
Divisions: Fakultas Ilmu Komputer > Teknik Informatika
Depositing User: Budi Wahyono Wahyono
Date Deposited: 24 Feb 2021 01:11
Last Modified: 25 Sep 2024 01:53
URI: http://repository.ub.ac.id/id/eprint/183493
[thumbnail of Adytya Tri Syahrul Alim.pdf] Text
Adytya Tri Syahrul Alim.pdf

Download (2MB)

Actions (login required)

View Item View Item