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 :)


43 comments:

  1. Machan meka hadanna keyak wethara giyada

    ReplyDelete
  2. machn oya kiyala tiyenne blog post ekema,Rs800k wage giye :)

    ReplyDelete
  3. machan mama chaminda oka wada karanawada?
    oke cad file eka mata send karanawada?oke inductor eka kohenda gaththe?mage mail eka chamindait@aol.com
    mage site eka www.ccsolution.x10.mx

    ReplyDelete
  4. ow machn wada,mama daily use karanwa,
    cad file ekak nam na mama haduwe veroboard ekene
    inductor eka gatte Laser Electronics,Wikram Plaza,1St cross street,Pettah, Rs10 :D

    ReplyDelete
  5. meke circut eka hoyala denna puluwanda ?meeken onama pic ekak programm karanna puluwanda?

    ReplyDelete
  6. meken okkoma wage 5V PIC program karanna puluwn,microchip lage official eke modified version ekak,circuit eka gana post eke kiyala tiyenwa machn,menna nathnm link 1 :D

    The Schematic can be found at;
    http://dlmkerode.tripod.com/PICKIT2_1.htm
    MicroKid's Web site
    Use PICkIT2_SCH.pdf on the RAR file

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. buddika tha deyak mata oke cad file eka wada neda zip eke thibuna...

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. buddika ikmanata answer ekak one mage prashna tikata/ara rar file eke thiyanawa cad file eka wadada????

    ReplyDelete
  11. buddika oyage schematic eka dennako oya godak ewa adu karalane hadala thiyenne ferric bear eka na switch eka na poddak help karannako

    ReplyDelete
  12. @Chaminda

    I didn't test the cad file on that,just used the PDF(Schematic).
    You can program almost all PIC uC with this expect 3.3V ones.
    Ferrite bead is to smooth usb signals,if your usb cable is short,you can omit that,You can also remove the switch ..etc coz it's used by old firmware for firmware upgrade,now you don't need it

    ReplyDelete
  13. PLZ give me tested pic list buddika

    ReplyDelete
  14. buddika i wanna help u..now i maked this project cad file using schematic...i can share with u,,,my projects...

    ReplyDelete
  15. This comment has been removed by the author.

    ReplyDelete
  16. This comment has been removed by the author.

    ReplyDelete
  17. 16 pin ekai 15 pin ekai maru wenna one

    ReplyDelete
  18. buddika meke 0.47 walata damme 474pf ekakda

    ReplyDelete
  19. buddika oya 14 weni pin ekat cap 2k use kare ay?

    ReplyDelete
  20. ow D+ D-,usb eke D+ D- walatama enna oni,maru karala newe,
    0.47uF ceremic ewa na,so 0.22uF 2k parellel damme,0.22uF ekak dammath athi,datasheet eke hatiyata,man ehema use karalath tiyenwa :) all the best :)

    ReplyDelete
  21. 0.47uf thiyanawa prince ekata eha paththe eke
    pettah market eke...man okkoma badu gaththa

    ReplyDelete
  22. oya use karala thiyana inductor eka 330mh neda 1mh gathta

    ReplyDelete
  23. buddika elatama wada....mata icsp zif socket ekata yanaline 5 poddak hariyatama kiyanawada

    ReplyDelete
  24. mata pgc ekai pgd ekai witharai therenne anith thuna hoyanna ba

    ReplyDelete
  25. buddika mata icsp ekaka diagram ekak denawada

    ReplyDelete
  26. I made pickit2 lite.your information was really helpfull for me.I used 330uh inductor which removed from old phone charger.

    ReplyDelete
  27. thank you for tth very useful post , allah bless you

    ReplyDelete
  28. really nice work. thank you very much. and your whole blog is very useful.

    ReplyDelete
  29. do i have to use a ferrite bead because its not available in my country

    ReplyDelete
    Replies
    1. Use a shot cable for USB.then you don't need ferrite bead,I'm also not using it :)

      Delete
  30. i just finished and tested this PICkit and its working perfectly. thank you so much for sharing your knowledge :) i didn't use a ferrite bed. i have a short USB cable. and for transistors i used BC547 and BC557. Im a noob for electronics and this is very first time i did something with microcontrollers. thank you again.

    ReplyDelete
  31. මේක වින්ඩෝස් 8 වල වැඩ කරනවද

    ReplyDelete
  32. hello machan mage pickit2 veroboard gahuwe .namut pc akata ganne nane .help me

    ReplyDelete
  33. mm diode 2 ta in4148 damme,aka nisada danne ne.

    ReplyDelete
  34. maath haduwa 2012 di thaama wada niyameta diode ekata man IN4007 damme ru 950 k da koheda giye pic eka 650/= unaa e kaale

    ReplyDelete
  35. thnak you me link eka man thawath boho denekta dunna

    ReplyDelete