How to Make a Universal Usb Pic Programmer PICkit 2

Subscribe us on YouTube for updates http://www.youtube.com/channel/UCsSdGsFs8Cby3oxiMHTCNEg?sub_confirmation=1

PICKit2 is a USB powered device, that is it gets power from PC USB +5V power supply. USB microcontroller PIC18F2550 is the soul of the PICKit2. The USB Data+ and Data- from PC are connected to the D+ and D- pins of the PIC182550. The built-in-clock generator of pic uses external crystal oscillator X1, C2 and C3 to ensure the correct system clock rate. The inductor L1, MOSFET Q1, diode D1, capacitors C1 and C4 forms a DC-DC converter (Buck Converter) which converts 5V from PC to 12V, which to be applied to MCLR/VPP pin of a microcontroller at the time of programming. This is controlled by the PIC firmware. The resistors R2 and R3 forms a voltage sensing feedback network, which is given to the analog pin AN0 of the PIC. MOSFET’s Q4, Q5 and resistor R5 are used for switching Vpp to MCLR/Vpp output. The MOSFET Q6 and resistor R4 ground the MCLR output whenever required. The MOSFET Q3 and resistor R16 are for switching Vdd to output whenever required. The Vdd sensing feedback is given to the analog pin AN1 of the PIC via resistor R6. The MOSFET Q2 with resistors R1, R17 provides active pull down to Vdd output whenever required. The diode D2 protects the circuit from external Vdd.

The LED1 with current limiting resistor R12 indicates that the circuit is powered form USB. The LED2 along with current limiting resistor R11 indicates that Vdd is switched to output. The LED3 with current limiting resistor R10 is controlled by the PIC firmware, normally glows during read and write operations indicating busy states.
The resistors R7, R8 and R9 are current limiting resistors in series with output lines PGD, PGC and AUX. The resistors R14 and R15 ensures active low at PGD and PGC outputs in certain cases.

Step 1: Substitutes for Unavailable Components

Subscribe our Youtube channel – http://www.youtube.com/channel/UCsSdGsFs8Cby3oxiMHTCNEg?sub_confirmation=1

Components that I used in my clone are shown as bold.
The protection diode D2, BAT85 will drop much more voltage on Vdd. So if you wish to avoid the voltage drop you can short it. If you don’t want to completely eliminate the protection you can replace BAT85 with lower drop Schottky diode. Thus you can replace it with 1N5819 or 1N5818.You can replace the MOSFET Q3 (IRF9Z34) with cheaper BC640, in this case the output current will be limited to few hundred milliamperes with an acceptable voltage drop. You can also replace IRF9Z34 with IRF9540N if it is not available in your city.Inductor L1 can vary between 470uH – 1mH and should atleast 150mA rated. BS170 can be substituted by VN2010L or BS107BS250 can be substituted by VP2020L or BSS92 (be careful, BSS92 has different pinout!) or BC 557 with base resistor 1KYou can omit the 330nF capacitor. I used .1mF capacitor.Components that I used in my clone is shown as bold.

Step 2: Download

You can download the Softwares and Latest version of hex file from Microchip’s Website. You can download the Hex file, Schematics, PCB Design, Component Layout etc from here…

PICKit2

Subscribe our Youtube channel – http://www.youtube.com/channel/UCsSdGsFs8Cby3oxiMHTCNEg?sub_confirmation=1

Follow us – https://www.facebook.com/ddelectrotech/

Source: How to Make a Universal Usb Pic Programmer PICkit 2

About The Author

Muhammad Bilal

I am a highly skilled and motivated individual with a Master's degree in Computer Science. I have extensive experience in technical writing and a deep understanding of SEO practices.