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.

Problems with PIC16F877A and two PWM outputs

Status
Not open for further replies.

batdin

Full Member level 3
Joined
Jun 3, 2004
Messages
182
Helped
5
Reputation
10
Reaction score
2
Trophy points
1,298
Location
Bulgaria
Activity points
1,928
Hi,
I am working on a project using PIC 16F877A.Part of the duties of the chip is controlling the speed of several fans using the two PWM outputs.
At first everything worked fine.Then (after two months) the outputs failed, producing some funny signals.At first I was puzzled,but then I programmed the device again and everything was fine.
Until recently.Now even the programming doesn't help and I have no idea what the problem might be.I am sure the program itself is OK.
The programmer is JDM,the software is IC-prog.
Do you have any idea as to what might have happened?
Thank you.
 

16f877a + pwm

What did the circuit look like?

PWM switching motors can cause some nasty voltage spikes...
 

Re: 16F877A PWM problem

If possible disconnect the motors and measure the pic's output. If it's ok then check the driver and power switches. If they are ok then check the motors.
 

Re: 16F877A PWM problem

Use another PIC to veify if the problem is PIC-dependent. Like what cyr has mentioned, voltage spikes may have damaged the PIC.
 

Re: 16F877A PWM problem

opto - Isolate the motors.
 
  • Like
Reactions: yiutin

    yiutin

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top