Monday 15 July 2013

DIY PIC USB Programmer - Cloned PICKit-2

Microchip's PIC controller is one of the most reliable and easy solution for embedded designers especially for hobbyist. But the problem is programmer. Most of the hobbyist don't try to purchase  a programmer like PICKit , So I would like to share my experience when i made a clone PICKit-2 USB Programmer.


I made this programmer on the basis of the post seen in the site www.circuitvalley.com . There are two PICKit2 programmers in the site, i choose the small one. Because it is more portable and less components. The connection to the target controller is ICSP connection. The controller in the circuit is PIC 18F2550, instead of this you can also use PIC 18F4550. This will be very useful programmer, this is completely compatible with the Microchip's PICKit2 software. 
The programming voltage of 12V from 5V of the USB is generated by using a buck converter circuit with a 680uH inductor. The availability of getting this inductor in our market was less so I found this from an old Nokia charger. Original old Nokia charger contains this inductor and can be used for our circuit.
Making the programmer:
1. Download the circuit from here .
2. Download the exact size PCB bottom layer here and top layer here .
3. Make the PCB and complete the circuit
4. Get the Firmware here and burn it to the IC with any PIC programmer
5. Install the PICKIT2 software provided by Microchip, get it here
6. Connect the programmer to PC and windows will install the driver.
7. Now open the PICKit2 software and check if the hardware is detected or not, if not detected check the hardware, and verify if the soldering has any bug. 
8. When the hardware is detected your hardware is ready to use. But before that you need to  check something.
9. Take the Troubleshoot option in Tools menu, and verify the voltage conditions, Vcc>4.75V  and Vpp>12V, If this is OK your hardware is working good.
10. Check the Logic Tool in Tool menu and verify if the programmer is working good as a  logical analyzer.
11. Now you done it!!! Great!!!..... 
Now you check if it programs the target. Make a simple ZIF ICSP adapter or by placing the target IC on a breadboard. Good Luck.... :)




1 comment:

  1. Your download link doesn't work. Could u give a workable link?

    ReplyDelete