pic problem

noob qusetion. ive programmed a 16f84 and 16f628a to flash an led. they both flash in the programmer/experimentor.when i actually build the circuits on a bread board they dont work. any ideas whythis could be so.

Reply to
xxx
Loading thread data ...

I'm assuming you've checked the power connections, and the LED isn't wired backwards; did you connect to the wrong port pin? Are any pins shorting?

Does the pic work when you put it back in the programmer? That will tell you if you blew the pic.

Reply to
Randy Day

Assuming that all of the connections are proper you problem may be that the MCLR pin does not stay low before the power gets to full voltage. Be sure to have at least 10K on this lead to Vcc. An added cap, .1uf to gnd may also be helpful. Be sure that the power comes up fast. Slowly rising power may cause confusion with the MCLR voltage. There is a spec. on this.

Reply to
Bob Eld

do you have a power-on reset circuit for your pic? They can be funny about that - had the same thing with 84s myself which was poor POR

Reply to
feebo

How long are your power leads? Long wires make inductance which results in slow power rise times. PICs are kinda funny about the rise time of the power, they want to see the voltage climb fairly quickly.

Reply to
Anthony Fremont

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.