GENERATING A PULSE-WIDTH MODULATED SIGNAL BY MEANS OF TIMER MODULE INTERRUPT OF PIC18F2550 MCU

Journal Title: Aerospace Research in Bulgaria - Year 2017, Vol 29, Issue

Abstract

The article hereby examines an approach towards pulse-width modulated (PWM) signal generation by means of PIC18F2550 microcontroller unit (MCU). The proposed technique employs the so-called internal interrupt by timer module. This solution may come into use in process automation as a terminal device, for instance putting in motion a servo motor. Although the MCU provides a hardware PWM module, it is dependant of the crystal oscillator frequency. Most of the time, it is difficult to generate a PWM signal at low frequencies. The proposed solution is shown to be versatile enough and suitable to actuate servomotors widely used in RC hobby activities. Special attention is given to the MCU software peculiarities. Additional computer simulation has also been made. The used software was MikroC Pro for PIC and Proteus VMS. The proposed solution has been shown to operate with sufficient precision. The source code is also included in the present article.

Authors and Affiliations

Konstantin Metodiev

Keywords

Related Articles

INNOVATIONS IN THE AREA OF UNMANNED AERIAL VEHICLES

The current paper discloses some innovations in the field of unmanned aerial vehicles. The latter were developed recently at Space Research and Technology Institute at the Bulgarian Academy of Sciences. This article show...

COSMOLOGICAL MODEL OF BUBBLE MULTIVERSE

The conventional singular hot Big Bang scenario is questioned. A new model which does not include an initial singularity ( 푔 00 =∞ at 푡 = 0 ) , neither a brief period of exponential expansion 푎 ( 푡 ) ~ 푒 퐻푡 is con...

ELECTRIC MOTOR-GENERATORS FOR UNMANNED AERIAL VEHICLES

Permanent magnets (PM) are used in the new multi-pole electric generators. Direct connection without a reducer greatly simplifies the design and provides a long life and low weight. To improve the technical parameters of...

CONNECTION BETWEEN PERIOD OF LOW-FREQUENCY COMPONENT WOLF'S NUMBERS (WNS) AND LENGTH OF WOLF'S NUMBERS SERIES

The long-period component of Sun's activity and Gleissberg cycle are in focus of this work. The main reason is they affect daily life on Earth, for instance minimum and maximum ages change each other. For the las...

GENERATING A PULSE-WIDTH MODULATED SIGNAL BY MEANS OF TIMER MODULE INTERRUPT OF PIC18F2550 MCU

The article hereby examines an approach towards pulse-width modulated (PWM) signal generation by means of PIC18F2550 microcontroller unit (MCU). The proposed technique employs the so-called internal interrupt by timer mo...

Download PDF file
  • EP ID EP363253
  • DOI 10.7546/AeReBu.29.18.01.12
  • Views 35
  • Downloads 0

How To Cite

Konstantin Metodiev (2017). GENERATING A PULSE-WIDTH MODULATED SIGNAL BY MEANS OF TIMER MODULE INTERRUPT OF PIC18F2550 MCU. Aerospace Research in Bulgaria, 29(), 141-146. https://europub.co.uk/articles/-A-363253