Implementasi Sistem Operasi Real-Time pada Arduino Nano dengan media Komunikasi NRF24L01 Untuk Pengukuran Suhu, Kelembaban, dan Intensitas Cahaya

Sugianto, Eka Nanda (2018) Implementasi Sistem Operasi Real-Time pada Arduino Nano dengan media Komunikasi NRF24L01 Untuk Pengukuran Suhu, Kelembaban, dan Intensitas Cahaya. Sarjana thesis, Universitas Brawijaya.

Abstract

Dalam membangun sistem sensor node pada monitoring rumah cerdas diperlukan adanya sebuah sistem operasi supaya task-task yang ada dapat dieksekusi secara simultan. Dengan berjalannya task-task secara simultan maka kinerja dari sistem monitoring rumah cerdas diharapkan dapat berjalan dengan semestinya. Jika tidak, maka sistem monitoring rumah cerdas akan bekerja tidak semestinya seperti mengalami penurunan atau kenaikan suhu yang secara signifikan dikarenakan kurang tepat waktu dalam memproses data serta terlambatnya pengambilan sebuah keputusan yang seharusnya tidak terjadi pada sistem monitoring rumah cerdas. Selain itu, sistem operasi yang digunakan haruslah bersifat real-time karena sebuah sistem monitoring rumah cerdas diharapkan dapat membuat keputusan dan memberikan informasi yang tepat dalam waktu yang aktual. Untuk mengatasi permasalahan di atas, RTOS (Real Time Operating System) adalah salah satu sistem operasi yang tepat dalam mengeksekusi task-task yang ada secara simultan dan bersifat real-time. Untuk menerapkan RTOS pada mikrokontroler Arduino Nano dibutuhkan library FreeRTOS. Sistem sensor node ini dibagi menjadi 2 yaitu node client dan node base. Media komunikasi wireless yang digunakan yaitu nRF24L01. Node client terdiri atas mikrokontroler Arduino Nano, sensor LDR, sensor DHT11, dan nRF24L01. Sedangkan pada node base terdiri atas mikrokontroler Arduino Nano dan nRF24L01. Jumlah task pada node client adalah 3 sedangkan pada node base adalah 2. Metode yang digunakan adalah Preemptive Priority Based-Scheduling. Dari hasil pengujian, task-task yang ada dapat berjalan sesuai dengan prioritas yang diberikan. Fungsi vTaskDelay untuk mengatur waktu eksekusi setiap task telah berjalan sebagaimana mestinya.

English Abstract

In building system node sensor for smart home monitoring needed an operating system so that tasks can be executed simultaneously. By running tasks simultaneously, performance of the system monitoring smart home expected to running properly. If not, then the smart home monitoring system will work improperly such as experiencing a decrease or increase in temperature significantly due to lack of timely processing of data and the delay in making a decision that should not occur in a smart home monitoring system. In addition, the operating system must be in real-time because a smart home monitoring system is expected to be able to make decisions and provide the right information in the actual time. To resolve the above problems, RTOS (Real Time Operating System) is one of the appropriate operating systems in executing tasks simultaneously and it’s also real-time. To apply RTOS to the Arduino Nano microcontroller, FreeRTOS library is needed. This sensor node system is divided into 2 node, namely client node and base node. The wireless communication media is using nRF24L01. The client node consists of the Arduino Nano microcontroller, LDR sensor, DHT11 sensor, and nRF24L01. While the base node consists of an Arduino Nano microcontroller and nRF24L01. The number of tasks on the client node is 3 tasks while at the node base is 2 tasks. Implementation for method is using Preemptive Priority Based-Scheduling. From the test results, tasks can run according to the priority given. The vTaskDelay function to set the execution time of each task is running as it should.

Item Type: Thesis (Sarjana)
Identification Number: SKR/FTIK/2018/1058/051901259
Uncontrolled Keywords: RTOS, FreeRTOS, Sensor Node, Monitoring Rumah Cerdas, Simultan, Prioritas.-RTOS, FreeRTOS, Node Sensor, Smart Home Monitoring,simultaneously, priority.
Subjects: 600 Technology (Applied sciences) > 621 Applied physics > 621.3 Electrical, magnetic, optical, communications, computer engineering; electronics, lighting > 621.38 Electronics, communications engineering > 621.382 Communications engineering > 621.382 028 5 Wireless communication systems --Data processing
Divisions: Fakultas Ilmu Komputer > Teknik Informatika
Depositing User: Sugeng Moelyono
Date Deposited: 05 May 2020 16:25
Last Modified: 19 Oct 2021 08:06
URI: http://repository.ub.ac.id/id/eprint/167170
[thumbnail of Eka Nanda Sugianto.pdf]
Preview
Text
Eka Nanda Sugianto.pdf

Download (7MB) | Preview

Actions (login required)

View Item View Item