[SOLVED] works on bread board but not pcb

Status
Not open for further replies.

Eng.Wad

Member level 2
Joined
Mar 3, 2012
Messages
43
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
1,551
Hi everyone,

I designed the attached circuit for push ON/OFF led control. I did the PCB but didn't work. I tried a simple led flashing on the same pcb, but didn't work, except if it happens to ON without blinking. I did anther try using the bread board, the led will blink when I keep my finger attached to the wire going to OSC2.

I'm using PIC18F2520, I configured the bits as follows:
Code:
#pragma config OSC = HS
#pragma config PWRT = OFF
#pragma config MCLRE = ON
#pragma config PBADEN = OFF
#pragma config LVP = OFF
#pragma config WDT = OFF,DEBUG=OFF

The code is working on proteus just fine.

There might be something wrong with my configuration or cct or both :-(

Please see the attached image

 

I then needed to replace the OSC capacitors with smaller ones, instead of 1nF I used 15pF.

Regards
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…