How to connect PICKit3 to PIC16F877A

Microcontroller Topics
Post Reply
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

How to connect PICKit3 to PIC16F877A

Post by Neo » Fri Jun 17, 2011 1:02 am

I have seen lots of users are struggling to program the most common PIC16F877A microcontroller with PICKit3. Here is a little guide to make things correctly.
pickit3con.PNG
pickit3con.PNG (55.84 KiB) Viewed 6752 times
pickit3pinout.png
pickit3pinout.png (41.32 KiB) Viewed 6757 times
pickit3.png
pickit3.png (32.56 KiB) Viewed 6757 times
This is how you need to wire the PICKit3 to PIC16F877A
PICKit3_16f877a.png
PICKit3_16f877a.png (12.79 KiB) Viewed 6757 times
Note 1: It is good to add a 10K resistor between pin 1 (MLCR') and VDD as in the first image.
Note 2: It is good to put two 0.1uf ceramic-caps between pin 11 - pin 12 and pin 31 - pin 32
Note 3: It is also good to put a 10K resistor between pin 36 (PGM) and ground (this could avoid programming-troubles)
Note 4: If you need to debug the code, you will need the oscillator connected to the microcontroller.
Post Reply

Return to “Microcontrollers”