PicKit2 is a programmer designed by Microchip to program its pic microcontrollers. PicKit2 supports many 8-bit pic microcontroller series.Β PicKit2 supports almost all Pic-10/12/16/18/24 and dspic-30/33 flash series microcontrollerβs. Pickit 2 is an ICSP (In-circuit serial programmer) programmer. In icsp interface, microcontroller can be programmed while its working in the circuit. An icsp programmer uses 5 pins to programΒ the target microcontroller. Pickit 2 uses an on board pic18f2550 microcontroller that programs the target microcontroller. Pic18f2550 communicates with the computer software using its usb interface and talks with the target microcontroller using its icsp interface. Thanks to microchip that they released the pic18f2550 program software. Now one can reverse the pickit 2 circuit can make pickit 2 programmer at home as a diy project.
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.