Pickit 2 requires the following pic microcontroller pins to program it.
- PGC (Clock input to microcontroller)
- PGD (Data Input to microcontroller)
- Vpp (Programming Mode voltage)
- Vdd (Power Pin Apply 5v to it)
- Gnd (Ground this Pin)
To program a pic microcontroller one have to Identify the upper 5 pins on his pic microcontroller and then make connections with the pickit 2 icsp header. See the datasheet of your pic microcontroller to Identify these pins and then connect the signals from PicKit2 to these pins. Normally all the pic microcontrollers have icsp pins located on the pin numbers given below.
The circuit which I followed to build the Kit is obtained from
I made some changes in the Circuit.
- Inductor which i used in my Pickit2 is 680uH.
- Push Button with Pin#26 is included to reload the boot loader if in case boot loader is corrupted.
If you use the circuit given at tiktakx.wordpress.com you will be unable to load the boot loader, if in case it is corrupted. You than have to manually remove the Pic18F2550-ICSP controller from Kit and reprogram it from another Pickit2. Circuit diagram of the clone is given below.
Note: My PicKit2 is picked by my PC on first time, when I first attached it to PC. It means there is no problem in Circuit and components. I didn’t receive any error in PicKit2 hardware or Software part. Means I am Lucky:D
- Program Executer
- PicKit2 circuit
I made the PCB for both circuit’s program executer and PicKit2. Then I printed them on PCB Sheet one by one manually. First printed the Circuit on Sticker sheet using a laser printer, then stickered the circuit on PCB Sheet with the help on an iron.
I designed the PCB of both the Program executer and PicKit2 circuit using online PCB editor software EasyEda. Easyeda is online PCB editor software and it’s easy to use and design PCB using easy eda. Numerous Per-Defined components footprints are available in Easyeda, you can also import and use footprints of many other PCB editor software’s in easy eda.
Download the pickit 2 programmer Pcb files from the links below
PicKit2 pic18f2550 programming file – Boot loader
Just connect your PicKit2 to your PC. Open MPLAB-IDE Go to Programmer>Select Programmer>PicKit2. As soon as you select PicKit2 a status will appear on MPLAB window which says Pickit2 Found and you will see MPLAB loading boot Loader in PicKit2.
Filed Under: Microcontroller Projects, PIC Microcontroller