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.

Led blink - problem with PIC microcontroller

Status
Not open for further replies.

luxornet

Newbie level 3
Joined
Nov 3, 2009
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,310
Led blink

Hi!
I just started to explore Microchip PIC and I have a huge problem.
I am very satisfactory with writing code in PicBasic, to simulate different schematics in Proteus, to program different microchip pic (12F629, 16F628) with a JDM programmer and verify, but my problem is that when I make the schematic on a breadboard (solderless board) nothing works!
I used a 9V battery, ULN7805+10uF+0.1uF, a 12F629 (and later 16F628) and tried to flash a led on one microcontroller pin + 330 ohmi resistor.
Do you know what can be wrong?

The microcontroller seems to be well programed (and verified), the power supply is stable, same schematic works well in proteus (and I tried many more other schematics with microcontrollers) ...
The JDM programmer was bought from a local store...
Thank you very much!
 

Re: Led blink

First, without microcontroller, take a voltmeter and verify whether the 7805 voltage regulator generates +5Vdc ..
Second, still without microcontroller, using a piece of wire try to turn on the LED by connecting the Cathode (assuming the Anode is connected via 330Ω resistor to +5V) to 0V ..
Third, if the microcontroller is programmed and the program itself is correct, once you place microcontroller to its dedicated spot and turn on the power – it should work ..

If it still doesn’t flash the LED then there two possible reasons: the microcontroller is not programmed (or faulty) or your program is not correct ..

Rgds,
IanP
 

Re: Led blink

... and if you are using an internal clock source, make sure you have a decoupling capacitor across the PIC supply pins, as close to the IC as possible.

Brian.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top