Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

about PWM in PIC16F877A - ripples occur

Status
Not open for further replies.

vinothtnt

Junior Member level 1
Joined
Feb 29, 2008
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,399
about PWM inPIC16F877A

i am using the PIC 16F877A controller for making the 2MHz pwm pulse.with 50%duty cycle for tat i Wrote the following coding.Iam using the Hitech c compiler

PR2=0x00;
T2CON=0x04;
CCPR1L=0x00;
CCP1CON=0x1c;

for this program the output comes with the ripples.

i put 1uF capacitor across the PIC power supply pin to the ground .


i need the desired pulse without ripples.
 

siongboon

Advanced Member level 1
Joined
Jan 24, 2006
Messages
425
Helped
45
Reputation
88
Reaction score
10
Trophy points
1,298
Location
Singapore
Activity points
4,069
Re: about PWM inPIC16F877A

Shouldn't expect any ripples.
I guess your hardware must have some problem.
You might like to upload your schematic
so that people here can help you resolved the problem.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top