Friday, December 2, 2011

PICkit 2 Clone

There are many PIC programmer available, commercial and DIY devices. As Microchip introduces the new microprocessors the programming software got to be updated accordingly playing catch-up with the PIC manufacturer. That is the root of the problem with third-party PIC programmers. Microchip's PICkit 2 is the low cost ICSP programmer for Flash PICs with USB interface introduced by Microchip. Only subset of PIC microcontrollers is supported, but the list is including all the recent devices from PIC16, PIC18 and PIC24 families and certainly covers all the PICs you are most likely want to use. It is fully integrated with Microchip’s MPLAB IDE and allow not only program but debug applications as well.

PICkit 2 was originally built by Microchip as open design programmer with the schematic, source code and firmware available to boost the popularity of the PIC devices. Because of that it is easy to build a clone version of the original device. Most of the clones will produce unregulated 5 volt VPP where the original Microchip PICkit 2 provides adjustable VPP output to allow 3.3 and 2.5 volt parts programming. 

The schematic I have used is based on the original PICkit 2 having compatibility to programe the low voltage devices, means can also provide 3.3v VPP as well as 5v VPP, and without programmer-to-go functionality. That functionality allowing a hex file to be downloaded to the PICkit 2 to later program PIC microcontrollers without a PC with a simple pressing programmer's push button. I do not think that functionality is required for a hobbyist but allows simplify the schematic by omitting two 24C512 EEPROM chips. Recently i tested PIC16F877a and PIC18F452 successfully.
Here is mine


The pin-out for Microchip standard 6-pin connector for In-Circuit Serial Programming (ICSP) is listed in table below:
Pin Function
1 _MCLR/Vpp (programming voltage)
2 Vcc(+5V)
4 Data
5 Clock
6 LVP (low-voltage programming mode control)

PICkit 2 clone

Pin Out:
USB b type connector

Components Required:
R1,R6,R11,R12,R14-------------------------10k ohm
R2,R3,R5------------------------------------330 ohm
R4,R8,R22,R23----------------------------4.7k ohm
R7--------------------------------------------1k ohm
R9--------------------------------------------100k ohm
R10------------------------------------------2.7k ohm
R13-------------------------------------------100 ohm
R15,R17,R19---------------------------------10 ohm
R16,R18,R20--------------------------------33 ohm
R21-------------------------------------------820 ohm
C1,C2-----------------------------------------22pF ceramic capacitor
C3,C5-----------------------------------------100nF ceramic capacitor
C4---------------------------------------------1uF/16v electrolyte cap
C6---------------------------------------------47uF/16v electrolyte cap
X1---------------------------------------------20MHz crystal
D1---------------------------------------------red LED
D2---------------------------------------------green LED
D4---------------------------------------------4.3v zener diode
J1----------------------------------------------USB connector B type
J2----------------------------------------------3 pin jumper
J3----------------------------------------------6 pin connector
Misc-------------------------------------------Push Button


  1. salam zohaib,

    I just saw your pic kit clone article. Its very nice and looks great in pdf file. Can you kindly send me your schematic files( ISIS proteus wali) on my email (

    1. Wish i could, sorry bro; i don't have isis file any longer. you can make it easily by yourself.

  2. 1N5817 alternative

    1. 1N5818, 1N5819 or other 15v 1 amp Schottky diode.

  3. what is icsp where to connect it. is it through derial port or else other port please clear my doubt

  4. this circuit is work ? , plz reply ,, becz i want to try this. if any one hav e this circuit schematic files plz send me.

  5. sir,

    i want to ask that what to do with J2. what we do with 5v and 3.3v devices

  6. This comment has been removed by the author.