The 2$ USB Pic Programmer & Serial Cable




This programmer is intended for people who need a microchip pic programmer to flash at hex file onto a micro controller, but seldom do so and find investing in a pic kit of some sort too expensive. The programming process will take a long time, 5-30 min depending on hex file size, so its NOT recommended for microchip software developers.

What you need:

USB virtual com port module or cable with DTR, CTS and RTS.

1 x NPN Transistor etc. BC547B or BC338

2 x 10 Kohm Resistor

1 x 4.7 Kohm Resistor

A STABLE 12 volt power supply

Some wires a soldering iron

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: The Circuit

This simple circuit will work with the free programmer software PICPgm

selecting it to operate as an JDM programmer.

Check out the the amazing numbers of supported devices and the software is available for Windows, Mac OS and Linux.

The second circuit makes the USB com both an programmer and a standard serial cable.


As pointed out by dev26th in comment section:

Connect MCLR with a 10k. resistor to Ground.

This prevents MCLR from floating.

Step 2: The USB Virtual Com Port

My solution is based on the 2 $ USB virtual com port chip PL2303HX CABLE from ebay see it here
As seen on ebay there is a housing and you cant see the available pin outs. The housing opens easely. My cable came with the following pins TX,RX, +5V, +3.3V, Ground, RTS, DTR, DSR, CTS, DCD, but you need to ask seller which pins are available to be sure.

All other USB com modules with the RTS, DTR, CTS pins available will work.

20.5.2015 Note: Some time after publishing this instructable I became aware that some of PL2303HX chips on the marked are counterfeit. I tested this instructable on XP machine and had no problems and therefore not aware of this. I installed a custom hardware solution on another computer running windows 8.1 with another cable and realized that cable was counterfeit.

If you bought a counterfeit model and you are having driver issues, the driver error code will most likely be 10. If you google the chip number and the error code you will find a solution to make it work. I'm sorry for this issue, I don't support counterfeit.

Step 3: The SMD Hack

This even cheaper module as the picture shows, can be used if you can solder on smd chips. Remove the plastic and look for the dot which is pin 1. Solder wires on pin 2, 3 and 11.

Step 4: PICPgm Software

As the picture show I have successfully recognized a PIC18F448

Step 5: PICPgm Settings

In Hardware Settings choose JDM programmer, the correct com port. Invert all pins except MCLR.

You now have a functional ICSP programmer. Good Luck

Be the First to Share


    • Instrument Contest

      Instrument Contest
    • Make it Glow Contest

      Make it Glow Contest
    • STEM Contest

      STEM Contest

    8 Discussions


    2 years ago

    this supports HVP mode as well right?

    if so why do i get no PIC found.

    thank you.


    3 years ago

    I made this circuit as you describe, but the massage "PIC not detected" canot be solved. Please tell what is the problem.

    1 reply

    4 years ago

    Which chips can I program with this method?

    3 replies

    Reply 4 years ago on Introduction

    Ok, thanks. And one more question: can I also use this transistor: 2N5551, I don't have a BC547B or BC338?


    Reply 4 years ago

    All npn transistors should work, so yes.


    4 years ago on Introduction

    Great job on your first Instructable. I hope we see more from you in the future!