Rancang Bangun Counter Up-Down Berbasis Bahasa Assembly Menggunakan Aplikasi MC-51 pada Mikrokontroler AT89C2051

Authors

  • Rayhan Al Hayubi Universitas Sultan Ageng Tirtayasa
  • Desmira Desmira Universitas Sultan Ageng Tirtayasa

DOI:

https://doi.org/10.55606/jurritek.v5i2.9309

Keywords:

Assembly, AT89C2051, Counter Up-Down, MC-51, Seven-Segment Display

Abstract

This study designs and implements an up-down counter system based on an AT89C2051 microcontroller programmed in assembly using the MC-51 application. The system modifies an existing digital clock board by mapping the display selector pins, seven-segment segment pins, pushbuttons, and buzzer to the microcontroller ports. The research method consists of literature review, hardware identification, algorithm design, assembly programming, program downloading, and functional testing using a 5 V DC supply. The implementation uses a four-digit common-cathode seven-segment display and a multiplexing routine to show the counter value in real time. The functional test shows that the system can display the initial value, increase the value through the up button, and decrease the value through the down button. The display is readable during operation, and the program can run on the target circuit after being downloaded to the AT89C2051. This study confirms that assembly programming on MC-51 can be applied to implement a simple counter system on a reused digital clock circuit. The main limitations are the absence of explicit button debouncing, overflow and underflow protection, quantitative response-time measurement, and non-volatile data retention.

Downloads

Download data is not yet available.

References

Afandi, I., & Amdani, K. (2018). Rancang Bangun Alat Pendeteksi Kelayakan Air Minum yang Diproduksi Depot Air Minum Isi Ulang (AMIU) Berbasis Mikrokontroler AT89S51 dan LCD Menggunakan Inframerah dan Photodioda sebagai Indikator. EINSTEIN (e-Journal), 6(2). https://doi.org/10.24114/einstein.v6i2.12080

Aji, G. M., & Purwiyanto. (2017). Penghitung Setpoint Down Counter Otomatis pada Lampu Lalu Lintas dengan Menggunakan Panel LED Dot Matrix. Jurnal Ecotipe, 4(2), 30–35. https://doi.org/10.33019/ecotipe.v4i2.9

Benny, & Soelaiman, N. F. (2010). Rancang Bangun Pengukur dan Pengendali Suhu Berbasis Mikrokontroler AT89S51 dan Sensor Suhu LM35. Politeknologi, 9(2), 148–153.

Budijanto, A. (2017). Pembelajaran Microcontroller MCS-51 dengan Metodologi Berbasis Proyek. JEETECH: Journal of Electrical Engineering and Technology, 1(1).

Budiyanto, S. (2012). Sistem Logger Suhu dengan Menggunakan Komunikasi Gelombang Radio. Jurnal Teknologi Elektro, 3(1), 23–28. https://doi.org/10.22441/jte.v3i1.735

Hendrizon, Y., & Wildian. (2012). Rancang Bangun Alat Ukur Tingkat Kekeruhan Zat Cair Berbasis Mikrokontroller AT89S51 Menggunakan Sensor Fototransistor dan Penampil LCD. Jurnal Fisika Unand, 1(1), 6–11.

Imran, A., Kartika, M., Daud, M., & Asran. (2022). Jam Digital Berbasis RTC DS12C887. Jurnal Energi Elektrik, 11(2), 48–52. https://doi.org/10.29103/jee.v11i1.7514

Jeffri, Susila, T., & Haryadi, H. (2015). Model Pemantauan dan Pengaturan Lampu Lalu Lintas Secara Wireless Berdasarkan Panjang Antrian Kendaraan. TESLA, 17(2), 178–195.

Khoswanto, H., Pasila, F., & Cahyadi, W. E. (2003). Sistem Pengaturan AC Otomatis. Jurnal Teknik Elektro, 3(2), 73–78.

Kumar, K. G. V., Shruthi, G., Sundari, N. U., Vivek, G., & Kumar, P. M. (2016). Digital Clock Using AT89C51. International Journal of Research Science & Management, 3(2), 51–55.

Maarif, V., & Fadlilah, N. I. (2015). Pembuatan Alat Pengukur Tingkat Polusi Udara Berbasis Mikrokontroller AT89S51 Menggunakan Sensor TGS 2600. ReTII: Prosiding Seminar Nasional ReTII ke-9.

Maria, P. S., & Susianti, E. (2022). Analisis Kemampuan Kerja Mikrokontroler MCS-51 sebagai Frequency Counter. Media Informatika, 21(2), 94–103. https://doi.org/10.37595/mediainfo.v21i2.99

Mujoko, S., & Hendajani, F. (2009). Digital Queue System Design Based Mikrokontroler AT89S51. Jurnal Sistem Komputer STMIK Jakarta STI&K.

Nisa, A. K. (2024). Rancang Bangun Rangkaian Digital Programmable Counter. JUPITER: Publikasi Ilmu Keteknikan Industri, Teknik Elektro dan Informatika, 2(4), 68–75. https://doi.org/10.61132/jupiter.v2i4.370

Panjaitan, B., Harahap, S., Lumbantobing, K. N., & Romadhon, S. (2021). Rancang Bangun Pewaktu Centrifuge dengan Tampilan Seven Segment Berbasis Mikrokontroler AT89S51. Jurnal Darma Agung, 29(2), 298–307. https://doi.org/10.46930/ojsuda.v29i2.1585

Paring, Supradono, B., & Kiswanto, A. (2011). Rancang Bangun Alat Penghitung Pengunjung Perpustakaan dengan Microcontroler AT89S51 dengan Penampil LCD. Media Elektrika, 4(1), 40–49.

Quarcoo, C. A. (2021). Design and Construction of AT89C2051 Microcontroller Based Water Level Indicator. Merit Research Journal of Engineering, Pure and Applied Sciences, 6(2), 15–20.

Rasidin, E. H., Ch, S., & Wiryajati, I. K. (2025). Rancang Bangun Modul Percobaan Counter dan Binary Adder Circuit di Laboratorium Elektronika Digital. JEITECH: Journal of Electrical Engineering, Information Technology, Control Engineering, and Robotic, 3(1), 10–16.

Rathod, R., Nayak, D., Vishwakarma, D., & Luste, K. (2020). Interfacing Multi-Digit 7-Segment with 8051 Microcontroller. International Research Journal of Engineering and Technology, 7(3), 4975–4978.

Roseno, D., Muchlas, & Sutikno, T. (2007). Aplikasi Mikrokontroler AT89S51 pada Sistem Antrian dengan Penampil dan Suara. TELKOMNIKA (Telecommunication, Computing, Electronics and Control), 5(3), 153–158. https://doi.org/10.12928/telkomnika.v5i3.1359

Saefullah, A., Syahrial, H., & Santoso, A. (2012). Pendeteksi Kebocoran Tabung Gas LPG Menggunakan Mikrokontroller AT89S2051 Melalui Handphone sebagai Media Informasi. Prosiding Semantik, 2(1), 18–25.

Sahu, Y., Sharma, S., Kumar, V., & Kumar, T. (2017). Wireless PC Control Robot Using 8051 Micro Controller & RF Module. International Journal of Engineering and Technical Research, 7(3), 36–39.

Santoso, W. T., Utami, Y. R. W., & Widada, B. (2016). Perancangan Sistem Antrian Digital Berbasis Mikrokontroler dengan AT89S51. Jurnal TIKomSiN, 4(1).

Son, P., & Susianti, E. (2022). Programming Algorithm on MCS-51 for Alphanumeric Liquid Crystal Display (LCD) Simplified Driver Circuit: Algoritma Pemrograman Berbasis MCS-51 untuk Simplifikasi Rangkaian Driver Alphanumeric-Liquid Crystal Display (LCD). Indonesian Journal of Electrical Engineering and Renewable Energy, 2(1), 39–46. https://doi.org/10.57152/ijeere.v2i1.205

Sulistyanto, M. P. (2020). Design of 4-Digit Count-Up with 7-Segment 5-Inch SM415001L. Journal of Robotics and Control (JRC), 1(3), 115–120. https://doi.org/10.18196/jrc.1424

Sutikno, T., Yudhana, A., & Siprian, D. (2006). Pengaturan Sakelar pada Acara Cepat Tepat Berbasis Mikrokontroler AT89C2051. TELKOMNIKA: Telecommunication Computing Electronics and Control, 4(3). https://doi.org/10.12928/telkomnika.v4i3.1314

Downloads

Published

2026-06-15

How to Cite

Rayhan Al Hayubi, & Desmira Desmira. (2026). Rancang Bangun Counter Up-Down Berbasis Bahasa Assembly Menggunakan Aplikasi MC-51 pada Mikrokontroler AT89C2051. JURAL RISET RUMPUN ILMU TEKNIK, 5(2), 557–571. https://doi.org/10.55606/jurritek.v5i2.9309