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.

Problem while using the Pic 16F877A

Status
Not open for further replies.

abdoalghareeb

Member level 5
Member level 5
Joined
Feb 5, 2010
Messages
84
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,981
HI................................................................
I am new user of PIC micro-controller
I use PIC 16F877A , mikroC compiler , WinPic800 and jmd programmer witch I attached it's circuit
and I wrote this simple code for led blinking on PORTC.4

Every things works perfectly and the LED blinking
But my problem is when I touch the micro-controller with my finger , the LED stop blinking and on sometimes the program of micro-controller erase especially if I touch PGD or PGC pin.
What I have to do.
mikrec.JPG
MultiChipPgmr-Cct.gif
 

Re: Pic 16F877A problem

You need to disable low voltage programming.

Alternatively connect a 1K resistor from PGM pin to ground
 
Re: Pic 16F877A problem

Thanksssssss
It is working

But do you have the reference document about this event ?
And if I connect a 1K resistor from PGM pin to ground , is it possible to use this pin as digital input or output ?
 

Re: Pic 16F877A problem

Thanksssssss
It is working

But do you have the reference document about this event ?
And if I connect a 1K resistor from PGM pin to ground , is it possible to use this pin as digital input or output ?

You just need to disable low voltage programming and it will work...
Even no need to ground it....

and the pin can be used as input output pin,,
i am using this configuration last many years
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top