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.

[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

micro control side.png
 

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top