Журнал «Современная Наука»

Russian (CIS)English (United Kingdom)
MOSCOW +7(495)-142-86-81

DEVELOPMENT OF A PROGRAM TO STUDY THE OPERATION OF MICROCONTROLLER TIMERS

Shchegolev Sergey Sergeevich  (Docent of the Department «Nuclear Power Engineering», candidate of technical sciences Balakovo Institute of Engineering and Technologyof the National Research Nuclear University MEPhI (Moscow Engineering Physics Institute), Balakovo, Russia )

Efremova Tatiana Aleksandrovna  (Docent of the Department «Nuclear Power Engineering», candidate of technical sciences Balakovo Institute of Engineering and Technology of the National Research Nuclear University MEPhI (Moscow Engineering Physics Institute), Balakovo, Russia )

Motkov Alexander Gennadievich  (Senior Lecturer of the Department «Information Systems and Technologies» Balakovo Institute of Engineering and Technology of the National Research Nuclear University MEPhI (Moscow Engineering Physics Institute), Balakovo, Russia )

The article discusses the structure and modes of operation of device timers using the example of the ADuC842 microcontroller. The timers have two 8-bit registers, which can be used as independent or combined into 16-bit registers. The timers can operate in various modes, including zero mode, first mode, and reset mode. Block diagrams of timers are presented for each mode. The description of the mode and control registers serving the timers is given. The built-in microcontroller generator is designed to work with a 32.768 kHz quartz resonator. Various timer operation modes are used to generate time intervals. To form a sequence of identical time intervals, the timer operation mode is used with a reboot. A block diagram of the laboratory stand operation and the program code for controlling the on and off of LEDs with a specified frequency are shown.

Keywords:timer, program, operating mode, register, time interval, frequency generator, pulse, block diagram

 

Read the full article …



Citation link:
Shchegolev S. S., Efremova T. A., Motkov A. G. DEVELOPMENT OF A PROGRAM TO STUDY THE OPERATION OF MICROCONTROLLER TIMERS // Современная наука: актуальные проблемы теории и практики. Серия: Естественные и Технические Науки. -2024. -№04. -С. 140-146 DOI 10.37882/2223-2966.2024.04.39
LEGAL INFORMATION:
Reproduction of materials is permitted only for non-commercial purposes with reference to the original publication. Protected by the laws of the Russian Federation. Any violations of the law are prosecuted.
© ООО "Научные технологии"