The attached archive is the contest entry as it was on my server, minus the images. The text is taken from the included document.
This PIC/EEPROM programmer is so simple and small it fits on a business card with enough room left for assembly instructions...
Project:
Simple JDM2 style PIC ICSP programmer (on a business card).
- all through hole
- less than 2USD worth of parts (in 1s and 2s!)
- easy single sided construction at home (with 3 jumpers)
- enough room left for assembly instructions
- extra space on the back for even more business-cardy goodness
- also programs/reads serial EEPROMS
Easy/beginner.
Assembly time:
About an hour.
hackaday.zip64 KB
Remove these ads by
Signing UpStep 1: Description
The PCB can be made single sided (with three jumper wires), but a two layer design makes assembly even easier. All the traces are nice and fat for easy toner-transfer or photo-process at home.
The JDM2 design is quite old, the original JDM2 circuit can be found here:
http://www.jdm.homepage.dk/newpic.htm
This design stays true to the old schematic, but the diode numbering now starts at 1, rather than 2.











































Visit Our Store »
Go Pro Today »




I have a question however how exactly do grounds work on circuit boards? Ground is just a piece of metal that all componets requiring ground need to touch to? Does this ground require anything outside of that, for example the DB9 is that grounded to the PCB ground as well, and in turn does the DB9 somehow ground the PCB to the computer?
In otherwords is there anything special i need to do because im using cardboard instead of clad?
Lastly i noticed an explosion warning in the document and placing a diode between the programmer (this pic programmer i assume) and the system (the computers DB9 i assume), just for clarification where exactly do i put this diode and why wasn't it simply put into the PCB design? I assume this is in regards to just programming a pic. I also see mention of master clear and a resistor, i assume the resistor isn't needed unless i need to clear the pic due to some error programming it.
Anyways im obviously a noob just getting my feet wet so could use a bit of help
The circuit seems to be constructed properly, I am using a desktop tower with COM1 port and under Linux, running the command line version of picpgm. Picpgm autodetects it as a JDM programmer and I tell it to read the PIC to verify if it is blank or not. I get an error
"picpgm: /home/christian/picpgm_1751/picpgm/src/common/pic10fxxx.cpp:640: virtual UINT32 CPic10Fxxx::GetOSCCAL(): Assertion `(m_nOSCCAL & 0x0F00) == 0x0C00' failed."
I then went back and measured the voltage across the VSS pin and VPP pin whilst it is trying to program/read the PIC, It was 15.2V, quite high considering most people seem to report problems where they have too low a voltage here.
BUT; then something very odd happened, whilst I had the multimeter pressed against the VSS and VPP pins, measuring the DC voltage, the programmer worked!! I was able to read the chip, what's more, I was actually able to program the chip (as long as I had my multimeter leads testing DC voltage between VSS and VPP throughout?!).
Does anyone have any idea why that might be? I thought it might be impedence, so tried a variety of 10M, 1M, 100K 22K resistors across VPP and VSS but that did not recreate the same effect as using the multimerer. Can anyone hazard a guess as to why my VPP voltage is also so high?
The only difference to Ian's schematic is that for some reason I ended up with a 5.6V zener diode in mine as opposed to a 5.1V zener. I didnt think it would make that much difference to the voltage though. I also have an LED between D1 and Q1 to show when it is programming. Many other JDM circuits also have this LED in them so i didn't think it was a big deviation from the design.
Any help appreciated. Thanks in advance, sorry for the length.
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
Do you have the datasheet for your diode?
You could use 1n4007 or similar diodes though.. what else have you got?
Im not an expert in electronics, but i just want to Program PIC10F200 and PIC12F629, for an InfraRed Controlled Airplane.
Could you please tell me How to Connect the DB9 Cable to Laptop? My laptop doesnt seem to have a DB9 connection, not even my desktop computer.
I have a 15 pin connection. How to connect it?? Thank you.
i'm starting muc world. and will start with this project. Did anyone test this project?
Thanx in advance,
Shane
(and you havent read it good enough)
the link u gave from the Understanding ICSP instructable said that this JDM2-style PIC Programmer has some problems with those type of PICs
http://www.belza.cz/digital/jdm.htm
I also noted he added some capacitors, does his modified version functions same as your circuit for F628A's and other PICs?
by the way, thanks very much for all your help, I understand ICSP a bit because of your instructables,
God Bless
Thanks
Thanks again
Thanks
http://www.instructables.com/files/orig/FQ8/KE6D/FXA3D43B/FQ8KE6DFXA3D43B.png