Simple JDM PIC Programmer by hosam_eldin
Featured
IMG_4035.JPG
I have built this project to burn my small PIC's
This is a serial programmer works on the RS232 ( PC serial port ), known as JDM Programmer, thanks to the site http://pic16f84.hit.bg/ which contains the schematic and the programmer software.

The programmer is powered from the Serial port itself, so there's no need to any external power supply.
But be careful this circuit will not work with the Laptop Serial port due to the weak voltages it has.

- I have used a very nice programmer software called "Win PIC Programmer" you can download it from
http://freenet-homepage.de/dl4yhf/winpicpr.html, it's very stable and powerful.

The project has been tested with the following IC's :

PIC16f84A
PIC16f628A

 
Remove these adsRemove these ads by Signing Up

Step 1: The schematic

Schematic.gif
The Schematic for this project is shown below, no critical components .
1-40 of 179Next »
hamid manzoor says: Apr 18, 2013. 4:37 AM
For how many PIC's Simple JDM PIC Programmer ( This Simple JDM PIC Programmer ) can work?????
And..
Which are those PIC's Numbers for this Simple JDM PIC Programmer.


Thank You.
Larry99W says: Feb 8, 2013. 10:15 AM
Very Good Article. I need to program a 28 pin dip (PIC18F2220). Will this do the job? What mods are needed other than the bigger socket? What software do you recommend? Many Thanks. This is for a GPS Disciplined Oscillator. 73, Larry
chetancc says: Dec 28, 2012. 9:33 PM
Hi,
I want to program PIC12F629 with readymade .hex code. Which programmer should I use? I would like to know the best and cheapest programmer available. I bought PICKIT2 clone from India but I had very bad experience with it. I couldn't program with it.
Can you please suggest me good programmer?
Regards,
Chetan
faneendra27 says: Aug 30, 2012. 5:54 PM
i don''t have serial port on my pc,so can i use serial to usb adapter,will it works?
reply me plzzz i need to program pic16f628A.thanx in advance
roosterdr says: Oct 8, 2012. 1:10 PM
Hi, did anyone ever your question about converting to USB? I have the same issue.

Ciao!
Sjoerd X says: Sep 5, 2012. 11:41 AM
I have the same question :)
xenonic says: Aug 19, 2012. 8:07 AM
I made it and it just works... AWESOME! really fast programming with PICPGM. Thanks a lot! Now i only need a software to write the code in basic and compile it to hex. Does anybody knows that kind of software? THANKS!
Sjoerd X says: Sep 30, 2012. 5:11 PM
I've asked that question in the Q&A and here's the answer:

http://www.instructables.com/answers/PIC-programming-How-can-I-learn-to-write-my-own-/
Richie_asg1 says: Jul 29, 2012. 7:43 AM
I made up the circuit - but used a female db-9 connector. All the pin numbers are reversed, so make sure the connector used is a male with shroud(so you see the pins) type !
Many thanks for this project A+
waddaphak says: Jul 20, 2012. 3:50 AM
hello there.. will it work if i use a serial to usb interface cable?
Pranjal Joshi says: Apr 9, 2012. 7:09 AM
wil this surely works with PIC16F684 and PIC16F676???

give also terminal pin numbers of DB9 port..

is the 3 on TxD is 3rd pin of DB9 programmer connector and all other inputs like that one?

Reply, thanx.
pvujošević says: Apr 16, 2012. 12:23 PM
is the 3 on TxD is 3rd pin of DB9 programmer connector and all other inputs like that one?


Yes
qwerty0987 says: Mar 22, 2012. 11:45 PM
can i use ZIF socket INSTEAD of IC socket
xenonic says: Mar 31, 2012. 9:56 AM
Of course you can! Only if you're gonna make a pcb by your own, think about the size of the socket. Cheers from Holland :D
xenonic says: Feb 28, 2012. 2:45 AM
can I use a 5.1 volt zener diode instead of a 5.6 volt?
AndreasR says: Jan 25, 2012. 5:30 PM
I build a pcb, and want to complite the device, but its total diverence then that you build, in the pcb com pin 5 and 4 are not conectet to anything?! can someone help me please?! thanks andreas
Kante Tech says: Dec 28, 2011. 11:05 PM
Okay but what if i really wanted to use it with a laptop is possible for me to add a outside powers source and if so can you show me how.
bowlofpudding says: Jan 23, 2012. 12:58 PM
a simple way to add external power for VPP is to hook up the 10k resistor going to pin 4 into the base of an NPN transistor instead of pin4. hook the collector to 12-13volt positive, and the emitter to pin 4.(i know this arrangement is backwards so make sure to use a bipolar transistor, most small ones would work) and lastly hook 12-13volt GND to pin5. i use a similar mod for programming with my laptop serial port. if i'm wrong please correct me, use at your own risk.
BjornR says: Jan 23, 2012. 8:00 AM
Tested & working with a PIC16F819.
I'm using Picprog 1.9.1 on Fedora 16 Verne (GNU/Linux).

Sometimes it fails to program the chip,
"Burning program memory,/dev/ttyS0:0000: programmed=2cc4, read=2c40:unable to verify pic while programming."

I'm not sure why but i think there's not enough energy to power the chip.
That's why i've replaced the 10µF capacitor by a 22µF one and i send some dummy data to the serial port before actually programming it. This way the capacitor has charged enough to power the chip.
yooooo1089 says: Dec 14, 2011. 9:04 AM
Gr8 work thanks for sharing this info:)
redmatrice says: Nov 26, 2011. 6:45 PM
thank you from morocco i had some trouble making it, cause this is the first time for me :), but know it works great thank you again
john66 says: Nov 20, 2011. 10:59 AM
I tried it to write eeprom 24C04, using the pins Vdd, Vss, clock, and data. But it didn't work. Why?
I used the ponyprog and ic-prog.
BjornR says: Nov 7, 2011. 1:25 PM
It's so simple i was able to build it on a break-out board in minutes and it works!
Using IC-Prog 1.06C and a PIC16F819 i do often get validation errors though but i expect it to be solved by using a larger capacitor.
echamba says: Nov 4, 2011. 3:50 PM
would i be able to swap out the serial connector for usb?
edy91 says: Sep 16, 2011. 12:36 PM
hello... can any one give me te references of the computer compatible with thes circuit... i am trying using a intel core 2 due but it is not detecting the circuit im the paralel port...
please help me... i am trying for a long time now...
ttrg says: Oct 23, 2011. 7:10 AM
it work with any PC. You need to do one thing, DISABLE your anti virus and anti spam etc.(if any). And use PICprg programmer you can download here :http://www.onlinetps.com/resources/PIC_Programmer.zip........
ttrg says: Oct 23, 2011. 7:07 AM
use serial port DB 9 connector.
omnibot says: Sep 23, 2011. 11:04 PM
Hi.
It is compatible with any computer that has a serial-port (rs232). Do not use the paralell port (centronics).
Hope this helps :)
edy91 says: Sep 26, 2011. 8:39 AM
I tried in many computers. The programmer is initialized but when I try to program the pic (pic16f84a) it gives an error. The error says that “verification failed. Attempt to reed 3ff in stead 000”
RESHMA BANSODE says: Sep 30, 2011. 10:24 AM
THANK YOU.IT WORKS.
hosam_eldin (author) says: Oct 1, 2011. 1:37 PM
Great !! have fun :)
KarateLover21 says: Sep 25, 2011. 6:18 AM
Is there a way to do this with the USB-Serial thing the Arduino has instead of the regular serial port? I don't have any computers with a serial port.
TacoTormentor says: Apr 12, 2011. 6:46 PM
Unfortunately, this doesn't work with my PIC12F675s. It programs nicely the first time, then the calibration bits get lost somehow, then it just stops accepting programs all together! I'm using a desktop PC with WIN PIC, and I have not modified the schematic (except for the pinout, obviously!). Am I doing anything wrong, or does this programmer just not work with my PIC?
tcop says: Apr 14, 2011. 1:38 AM
i built and checked the programmer and caused me many problems too. First time workerd (almost) properly and then no matter how many tries i gave , i could not write succesfully. Well, it seemed that some of the bytes where written wrong while other where writen ok so it had to do with the frequency of the signal. After 3 days on the row of researching i managed to make the programmer work perfectly without any alterations on the circuit, just added a led after the 10 resistor. I programmed and reprogrammed more thatn 10 tiimes ,both 16f84A and 16f628A and had NO PROBLEMS at all.
so, what work for me is the DL4YHF's WinPic software programmer.
Download mplab and copy the 16fXXX dev files to the winpic fodler or set from the options tab the mplab folder that contains all the dev files.
Set interface as com84 (i think it will work for JDM too) and increase the period of the clock up to 100 times. The preset was 3 but it was toooo small for the above programmer. The programmer will need more time to be written and read but we are talking about few seconds nothing more.
The result will be 100% error free writting and verifying.
pongpak says: Sep 24, 2011. 12:44 PM
where did you put the led, between the com port and the resistor or between the ic socket and the resistor?
tcop says: Sep 25, 2011. 4:37 AM
the led is not crucial. I placed it just to have a lighting signal so as to check that the programmer is receiving voltage.Place the anode of the led either on vdd or vpp and use a proper resistor. Avoid the other pins because you will add a delay on the signal which is bad.
I have altered the programmer now and i have discarded the zener diode and used an 7805 ic + some capacitors to stabilise the voltage on 5V.
Also added a 12 v zener to stabilise the programming high voltage.
Still getting the same results but have managed to make it work avoiding the high period clocks i've mentioned before when using DL4YHF software.

The programmer is a good start but after exploring the "in circuit programming" that most PICs support, you will dimistify everything and even be able to make a more sofisticated programmer of your own by using a 16f628a pic as a controller, which you will have initial program using the design that is described here.

It easier than it sounds and I 've got there from flashing some leds just after 2 months and having no prior experience.

Try to use Asm and not C or Basic so as to realy understand what's happemimg inside the pic. Find also a simulator program which i found extremely helpful.



TacoTormentor says: Apr 14, 2011. 4:36 PM
Thank you very much!
tzq33tdq says: Mar 17, 2011. 1:53 AM
are there any other programs to use with this??? this is awesome!!!
jcorrêa2 says: Sep 3, 2011. 9:13 AM
do you mean software to program? can be ICprog, Winpic, PICPgm (i 'm using this)..
minchansike says: Nov 3, 2010. 8:38 AM
When we building is end .. How to join whit compute ...
What we need ....
What Software must use to connect PC .
1-40 of 179Next »
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!