Perbandingan Kecepatan Pencacahan Antara Timer 0 (8 Bit) Dengan Timer 1 (16 Bit) Pada Sistem Mikrokontroler

Main Article Content

Arief Hendra Saptadi

Abstract

The application of timer/counter in microcontroller system had provided advantages in a way that it didn’t put the burden on CPU resources and enabled CPU to perform other tasks. With the availability of 8-bit and 16-bit timer/counter, the problem laid on the selection of the type of timer/counter being used. From the experiments performed, the minimum system of AVR ATmega8535 microcontroller had precisely counted a number using two different timers/counters, namely, Timer/Counter 0 (8 bit) and Timer/Counter 1 (16 bit). The overflow condition achieved on 8-bit and 16-bit counting cycle activated OCR0 and OCR1AL registers, respectively. Output signals from port B.3 (OC0) and port D.5 (OC1A)  are then fed to oscilloscope and put into comparison. From the observation of output signals, it could be proven that the two different timers/counters had equal counting speed. Hence, it can be concluded that the selection of timers/counters is more likely based on the flexibility of count range, program size and execution time

Downloads

Download data is not yet available.

Article Details

How to Cite
SAPTADI, Arief Hendra. Perbandingan Kecepatan Pencacahan Antara Timer 0 (8 Bit) Dengan Timer 1 (16 Bit) Pada Sistem Mikrokontroler. JURNAL INFOTEL, [S.l.], v. 3, n. 2, p. 16-23, nov. 2011. ISSN 2460-0997. Available at: <http://ejournal.st3telkom.ac.id/index.php/infotel/article/view/90>. Date accessed: 25 aug. 2019. doi: https://doi.org/10.20895/infotel.v3i2.90.
Section
Articles

References

[1] ATMEL. 2006. 8-bit AVR Microcontroller with 8K Bytes InSystem Programmable Flash (ATmega8535 & ATmega8535L), ATMEL.
[2] ATMEL. 2002. AVR130: Setup and Use the AVR Timers. ATMEL.
[3] HP Infotech. 2011. CodeVisionAVR Version 2.05.4 User Manual, Revision 30/09. HP Infotech.
[4] J. Pardue, C. 2005. Programming for Microcontrollers, Featuring ATMEL’s AVR Butterfly and the Free WinAVR Compiler. Knoxville, TN, USA: Smiley Micros.