Contents
Documents and other supporting files of PICKit2 are available at Microchip’s Website.
We have simplified the hardware schematics of PICKit2 by removing all unnecessary devices from it and ICSP to ZIF converter is also added for easier programming. The main differences between the modified PICKit2 and Original PICKit2 are:
1. ICSP to ZIF converter is added for easier programming, thus we can use ICSP or ZIF socket according to our needs.
2. It supports only 5V PIC’s, thus 3.3V devices a small additional circuit to convert 5V to 3.3V.
3. Two 24C512 EEPROM’s used only for programmer-to-go function in the Original PICKit2 were omitted. The Programmer-to-go function is not an important feature for a electronics hobbyist.
4. Bipolar transistors used in Original PICKit2 are replaced by MOSFETs, thus minimal additional components are required.
5. The mini USB connector is replaced by commonly available USB-B connector.
USB PIC Programmer PICKit2 Modified Circuit Diagram
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.
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 BS107
- BS250 can be substituted by VP2020L or BSS92 (be careful, BSS92 has different pinout!) or BC 557 with base resistor 1K
- You can omit the 330nF capacitor. I used .1mF capacitor.
Components that I used in my clone is shown as bold.
ICSP to ZIF Converter
A switch is provided with ICSP to ZIF converter. 1 and 2 should be connected for programming of 28 and 40 pin ICs. 2 and 3 should be connected for the programming of 18,14 and 8 pin ICs. AUX connection is not shown in this circuit diagram but it is included in the PCB design. In the standard ICSP, you don’t require AUX.
You can download the PCB design and Component layout from the bottom of this article. Both PCBs are single sided, some straight wires can be found on component side. There is a text on both PCB’s, thus you can easily find out the right side. Before etching please double check that you can read the text in it.
It is better to check the PCB for continuity and shorts after etching. Unfortunately to start the PICKit2 you need to program the firmware to PIC18F2550, you need an another programmer for this. If you haven’t one, we well provide programmed 18F2550 or Kits or even Programmer at cheap rates, just contact us. Once you made this programmer you can upgrade the firmware without the help of other programmers, since the firmware also includes the bootloader. The latest version of firmware is available at Microchip’s Website.
Before connecting to the computer, please double check the board against unwanted shorts and open circuits. In Windows 7 , the PICKit2 will be detected as USB Input Device. Then install and open the handling software ‘PICKit2’ and check the status reported by it. It should show ‘PICKit2 is connected’ and shouldn’t be in red background. It all right, go through troubleshooting wizard by clicking Tools>> Troubleshoot. You need a voltmeter for this.
If you have any errors or doubts please comment, we will solve it…..
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…