Main Article Content
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.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work
 ATMEL. 2002. AVR130: Setup and Use the AVR Timers. ATMEL.
 HP Infotech. 2011. CodeVisionAVR Version 2.05.4 User Manual, Revision 30/09. HP Infotech.
 J. Pardue, C. 2005. Programming for Microcontrollers, Featuring ATMEL's AVR Butterfly and the Free WinAVR Compiler. Knoxville, TN, USA: Smiley Micros.