Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to do PWM using microcontroller?

Status
Not open for further replies.

zia.roghani

Member level 1
Joined
Sep 13, 2006
Messages
37
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,517
CAN ANY BODY TELL ME HOW ONE CAN DO PWM USING MICROCONTROLLER
 

Re: PWM

which microcontroller u r using??in 8051 u can use any timer with auto reload mode and enable the interrupt for this timer.then simply write the interrupt routine as u want.
 

Re: PWM

if u are using PIC controller and PIC BASIC Compiler it is very easy to generate PWM on any pin using pulsout command
 

Re: PWM

which micro u are using? if u are using AVR it is very ieasy to make pwm u should study its timers.see it in its datasheet.
 

PWM

if i using PIC12c508 & 12f508a? is it very easy too?
but i can't understand ,how to adjust cycle.because,
it had one timer and no interrupt . is it right?
 

PWM

u have to set variable on time and off time. initially increase on time and decrese off time and vice versa. plz try.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top