Rancang Bangun Sistem Monitoring Level Tangki BBM dengan Sensor Ultrasonik Via Smartphone Android Berbasis Mikrokontroler ATmega8

RANCANG BANGUN SISTEM MONITORING LEVEL TANGKI BBM
DENGAN SENSOR ULTRASONIK VIA SMARTPHONE ANDROID
BERBASIS MIKROKONTROLER ATmega8

ABSTRAK

Telah dirancang suatu alat sebagai monitoring volume pada tangki BBM dengan
menggunakan mikrokontroler ATMega8. Alat ini terdiri dari sensor ultrasonik HC
SR-04 yang berfungsi untuk mengukur jarak ataupun ketinggian, LCD M1632,
dan dilengkapi dengan bluetooth sebagai jaringan penyambung antara tangki bbm
dan smartphone android. Software pada alat ini menggunakan bahasa
pemrograman CodeVision AVR. Alat ini digunakan untuk mengukur ketinggian
zat cair pada tangki bbm sehingga diperoleh volume pada tangki bbm tersebut.
Prinsip kerja sistem ini secara umum adalah dengan dimulai saat catudaya sistem
diaktifkan. Kontroler akan melakukan tugasnya setelah reset awal dan inisialisasi.
Kontroler akan membaca data sensor, pembacaan dimulai dengan mentrigger
sensor untuk mulai membaca jarak. Setelah itu sensor akan memberikan data hasil
deteksi. Data tersebut kemudian dikonversikan menjadi tinggi dan volume.
Setelah memperoleh hasil olahan, data hasil tersebut kemudian ditampilkan pada
LCD dan dikirim ke smartphone android melalui media bluetooth. Aplikasi
monitoring akan mengambil data tersebut kemudian menampilkannya pada layar

smartphone.

Kata Kunci: Mikrokontroler ATMega8, Sensor Ultrasonik HC SR-04, Bluetooth

Universitas Sumatera Utara

DESIGN LEVEL MONITORING SYSTEM WITH SENSOR
ULTRASONIC FUEL TANK VIA SMARTPHONE ANDROID BY
USING MICROCONTROLLER ATmega8

ABSTRACT
It has been designed as a means of monitoring the volume of the fuel tank by using
a microcontroller ATMega8. This device consists of an ultrasonic sensor HC SR04, which serves to measure distances or heights, LCD M1632, and is equipped
with Bluetooth as the connective tissue between the fuel tank and android
smartphones. Software on the device using the programming language
CodeVision AVR. This tool is used to measure the height of liquid in the fuel tank
in order to obtain volume in the fuel tank. The working principle of this system in
general is to begin when the power supply system is activated. The controller will
perform his duties after the initial reset and initialization. The controller will read
the sensor data, the reading begins with triggering the sensor to start reading

distance. Once the sensors will provide data on the detection result. The data is
then converted into high and volume. After obtaining the results processed, the
data is then displayed on the LCD and sent to the android smartphone via
bluetooth media. Application monitoring will take the data and then display it on
the screen smartphone.

Keywords: ATMega8 Microcontroller, Sensor Ultrasonic HC SR-04, Bluetooth

Universitas Sumatera Utara