Perancangan Alat Pengisi Cairan Dalam Gelas Secara Otomatis Menggunakan Sensor Ultrasonik & Sensor Hambatan Geser Berbasis Atmega8535

PERANCANGAN ALAT PENGISI CAIRAN DALAM GELAS SECARA
OTOMATIS MENGGUNAKAN SENSOR ULTRASONIK & SENSOR
HAMBATAN GESER BERBASIS ATMEGA8535

ABSTRAK

Telah dirancang sebuah alat untuk mengaplikasikan Codevision AVR pada
ATMega 8535 dalam mengolah data pengisian cairan pada gelas secara otomatis
berdasarkan ketinggian gelas dan secara manual berdasarkan input volume cairan. Pada
mode otomatis, gelas akan dideteksi keberadaannya oleh limit switch, kemudian gelas
diukur tingginya oleh potensiometer. Selanjutnya, limit switch dan potensiometer
mengirimkan data ke mikrokontroler untuk diolah. Kemudian mikrokontroler
mengaktifkan waterpump untuk menyalurkan cairan ke dalam gelas. Pengisian cairan di
dalam gelas di kontrol oleh sensor ultrasonik HC-SR04 yang disesuaikan dengan hasil
pengukuran tinggi gelas oleh potensiometer.
Pada mode volume, setelah menentukan volume cairan yang diinginkan, limit
switch akan mendeteksi keberadaan gelas dan mengirimkan data ke mikrokontroler
untuk diolah. Selanjutnya, mikrokontroler mengaktifkan waterpump untuk menyalurkan
cairan ke dalam gelas. Pengisian cairan di dalam gelas dikontrol oleh flow meter EGO
A-7 sesuai dengan jumlah volume yang ditentukan.
Hasil pengujian pada mode otomatis menunjukkan bahwa sistem mampu

mengisi cairan ke dalam gelas secara otomatis dengan error 1 cm. Hasil pengujian
menunjukkan pada mode volume bahwa sistem mampu mengisi cairan ke dalam gelas
dengan error 30 mL.

Kata kunci : Mikrokontroler ATMega8535, HC-SR04, EGO A-7

Universitas Sumatera Utara

PERANCANGAN ALAT PENGISI CAIRAN DALAM GELAS SECARA
OTOMATIS MENGGUNAKAN SENSOR ULTRASONIK & SENSOR
HAMBATAN GESER BERBASIS ATMEGA8535

ABSTRACT

The purpose of making this essay is to apply CodeVision AVR in ATMega8535
for data processing liquid loading on the glasses automatically based on the height of
the glass and manually based on the input volume of fluid. In automatic mode, the glass
will be detected by a limit switch, then glass height measured by a potentiometer.
Furthermore, limit switches and potentiometers transmit the data to the microcontroller
to be processed. Then the microcontroller activate the water pump to dispense the liquid

into a glass. Filling the liquid inside the glass in the control by ultrasonic sensor HCSR04 that is adapted to the measurement results of high glass by a potentiometer.
In volume mode, after determining the volume of fluid, limit switches will detect
the presence of glasses and transmits the data to the microcontroller to be processed.
Furthermore, the microcontroller activates waterpump to dispense the liquid into a
glass. Filling the liquid inside the glass is controlled by a flow meter AGO A-7 in
accordance with the amount specified volume.
The test results in automatic mode indicates that the system is capable of filling
the liquid into the glasses automatically with an error of 1 cm. The test results show that
the volume mode system capable of filling the liquid into a glass with 30 mL error.

Keywords:

Mikrokontroler ATMega8535, HC-SR04, EGO A-7

Universitas Sumatera Utara