Sunday, July 24, 2011

Homemade USB PIC Programmer - PICKIT2 Lite

I was using various programmers for PIC programming.JDM was one of that,which I used for a long time but it's a Serial port programmer.I have used ART2003 programmer for programming 18F using Parallel port.Both of this works kinda well but not very much good.So,I decided to build a USB programmer based on Microchip's PICKIT2.It is very reliable and speedy comparing to other Serial or Parallel port programmers and also have good support as it is based on official PICKIT2 programmer.You can you this with any PC as newer PCs don't have Serial or Parallel ports.This even can be used as a UART tool and Logic analyzer too.It just cost me SLRs 800 to build this.


The Schematic can be found at;

MicroKid's Web site
Use PICkIT2_SCH.pdf on the RAR file
Use 1N5817/1N5818/1N5819 for two diodes on the schematic.
The 680uH inductor can be changed with any inductor,I used 330uH for that.
All other parts are readily available on the market.

You an download the HEX and Programming software from
Microchip Site

After installing this,the HEX file will be located at
C:\Program Files\Microchip\PICkit 2 v2\PK2V023200.hex

You can program this HEX to PIC18F2550 using ART2003 programmer in my previous post.
(enable LVP config bit when programming with WinPIC800)

This is my PICKIT2 lite programmer :)


Tuesday, July 19, 2011

Programming Bootloader to PIC 18F4550

Hope you were able to build the simple PIC 18F programmer and 18F4550 development board with help of my previous posts.Now it's time to program the 18F4550 with bootloader in order to use for our future projects.Using bootloader eliminate the need for a dedicated programmer and also it's really easy to edit our programs and reprogram the PIC while developing.

I'm using the boot loader available at OLIMEX.you can find the link at the bottom of the page.

You can use WinPIC 800 as described on simple PIC 18F programmer page.If you use any other programmer,please program appropriately using following configuration bits.



When it's succeeded just plug the PIC to development board.Now you can use it's USB port to program PIC and do wonderful projects using the development board.

You can use this little app to program PIC using bootloader and that article give you great information on using that too.

Evans page on USB bootloader
EDIT:Link seems to be dead now.check this backup:
Backup as PDF


Good luck!!! :D