Business Card PIC Programmer

Business Card PIC Programmer
This was my entry for the Hack A Day business card size circuit contest. I just zipped up the files and put them on my website. I'm posting it here because all the other entries seem to be on a blog for easy access. Hopefully this will make the project more accessible and reduce the load on my server.

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
Skill level:
Easy/beginner.

Assembly time:
About an hour.

 
Remove these adsRemove these ads by Signing Up
 

Step 1Description

Description
Anyone can build this simple programmer and learn about PIC microcontrollers. The JDM2 programmer is super simple (about 10 parts), but programs a huge variety of PICS and serial EEPROMs. I've programmed everything from an 8 pin 12F629 to a new 18F4550 USB PIC with the JDM2. This programmer has an ICSP interface, meaning it can program PICs and read EEPROMs while they are attached to a circuit board. Start your hacking!

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.
« Previous StepDownload PDFView All StepsNext Step »
138 comments
1-40 of 138next »
Aug 18, 2011. 12:42 AMsafetec says:
Hi there, where have all the pdf's gone. I wanted to download the circuit to print it.
Apr 22, 2011. 2:01 PMMusic_Man608 says:
Hi there, forgive me but I'm new at electronics and I'm scratching the surface right now. Having said that, what is this used for? What is a PIC controller. What can you do with the device you built? Thanks very much and sorry for my lack of education.
May 2, 2011. 8:37 PMcoolmike8789 says:
A microcontroller is a small, programmable device that can interface with switches, LEDs, USB, ect.
Apr 10, 2011. 6:23 PMMadBricoleur says:
Will this programmer work with all PIC's? I need to program a PIC16F684.
Mar 25, 2011. 9:46 PMdirkandterra says:
I built a programmer off of your schematic and it works great. Thank you! Now I can program newer PIC microchips without buying an expensive programmer.
Feb 2, 2011. 11:18 AMshane11 says:
How would I go about making this a usb programmer.

Thanx in advance,
Shane
Mar 25, 2011. 9:45 PMdirkandterra says:
You can take this JDM programmer and load a bootloader program into a PIC with USB capabilities. Wire up the USB and use the bootloader program to load programs to the PIC over USB
Feb 23, 2011. 2:11 PMnadav says:
can i use a 2N2222 NPN transistor instead of the BC547B?
Jan 18, 2011. 4:16 PMTheEnemy says:
so what good does this do?
Feb 1, 2011. 10:42 PMthealeks says:
its a PIC/EEPROM programmer
Aug 1, 2007. 1:28 PMDyer13 says:
Does it have to be a tantalum capacitor? What difference would it make from a tantalum cap to an aluminum electrolytic cap?
Jan 5, 2011. 8:07 PMsteve5006 says:
I tried this circuit on a breadboard with a 22uF electrolytic cap and BC547C transistors. I noticed that with this configuration the voltage on the dat pin is 3.3v with the data lines low and 9.5v with the data lines set to high. I am unsure if this is caused by the electrolytic capacitor as I have no tantalum capacitors to try out
Oct 3, 2009. 12:46 AMbrycetron says:
I breadboarded this circuit with a 22uF Electrolytic, and it programmed the 18F2550, and 12F683 without issue (also a 16C745). I then proceeded to etch a board, presto I can program the 18F2550, but NOT the 683, the 16F84A wouldn't work either way. Just odd, but I'll get the Tantalum cap and try again! P.S. you should mention that fill layer button within Eagle. I have used Eagle on a few different occasions, but ended up making a manual fill because I didn't know about that fill button. Great Instructable, by the way!
Aug 1, 2007. 6:58 PMDyer13 says:
I didn't build it yet, I am trying to see what parts I will need to buy, and which I have laying around. Before reading this, I have never heard of Tantalum capacitors, so I was wondering exactly why it needs to be one, and what the difference is between them and regular electrolytic caps.
Aug 30, 2007. 4:35 AMTechnoMancer says:
they are made with tantalum, a superconducting metal that is not the most abundant metal ever.
Aug 30, 2007. 10:05 PMDyer13 says:
Yea, I understand that, but that still doesn't explain to me why two different caps with the same value would have a different effect. idk though, unless maybe they charge and discharge at a different rate...
Nov 23, 2010. 1:57 PMthe_prototype says:
would a BC546B do it? I got an BC546B and BC557B but no BC547B X_X
Nov 23, 2010. 2:09 PMthe_prototype says:
I got the same question for the Diode... I got the PH4148, can I use this one?
May 31, 2009. 9:56 AMscarabeetle101 says:
I know nothing about electronics. what does this do?
Nov 23, 2010. 3:06 AMrobot797 says:
relay i dont beleve you know electronicks

(and you havent read it good enough)
Nov 22, 2010. 11:02 PMWhiteTigerTails says:
I second this...
Nov 22, 2010. 4:08 PMlenmorvash says:
can I use it for PIC16F628A and Other 18-pin Low Voltage PIC?

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
Nov 18, 2010. 8:06 AMnedim155 says:
could i use two 2n2222 transistors instead of these neded
Dec 29, 2009. 9:12 AMmurray484 says:
Is this the proper way to connect a PIC12C508 to the programmer?  If it is not, what is the correct way?

Thanks
Picture 2.png
Dec 29, 2009. 9:24 AMmurray484 says:
There is not a PGD or pgc on the datasheet for the PIC12C508, but there is a GP5/OSC1/CLKIN, a GP4/OSC2, a GP2/T0CKI, a GP0 and a GP1.  Here is a link to the datasheet: http://www.datasheetsite.com/extpdf.php?q=http%3A%2F%2Fpdfdata.datasheetsite.com%2Fpdf1%2FMicrochip%2FPIC12LCE519T-04-SN.pdf

Thanks again
Dec 29, 2009. 10:30 AMmurray484 says:
Thanks
Nov 11, 2009. 2:03 PMRegax says:
How did you go about adding your skull image into Eagle? I have not been able to figure this out.

Thanks
Jul 23, 2009. 11:43 PMmagusjonny42 says:
Hey I was wondering if this breadboard layout I made is correct. The following link is to a .png format of the layout.

http://www.instructables.com/files/orig/FQ8/KE6D/FXA3D43B/FQ8KE6DFXA3D43B.png
Jul 23, 2009. 2:02 AMmagusjonny42 says:
Can anyone tell me if I have my experiment breadboard layout correct?

http://www.instructables.com/files/orig/FQ8/KE6D/FXA3D43B/FQ8KE6DFXA3D43B.png
Jul 11, 2009. 3:47 AMPtSunow says:
So I'm guessing that all I have to do after making this is to connect the PIC to the corresponding pins on the programmer?
Jul 9, 2009. 6:28 PMagkithes says:
Can anyone enlighten me on what the current of the 5.1 V and 8.2 V diodes should be? I haven't been able to find it anywhere, and I want to order to build this. Thanks in advance.
Jul 9, 2009. 6:22 AMagkithes says:
I have found this instructable very useful. I am going to make this programmer, however, I do have one question before I begin. You labeled the five pins of the 5-pin header "VPP," "VDD," "VSS," "CLK," and "DAT." Could you let me know which pins on a PIC, say a PIC16F84, these would connect to. I already know VSS (the negative power), but I can't find any of the other four on a diagram of a PIC16F84. Any embellishment would be appreciated, as I am fairly new to electronics, but it is still kind of embarrassing that I don't know the answer to this. Thanks.
Jul 9, 2009. 12:32 PMagkithes says:
Hello again. Sorry, but I just thought of another question. How many Amps/Milliamps should the diodes be? Does it matter, and should they be the same? Because I found some online, but there are a bunch of different currents. Thanks in advance.
Jul 9, 2009. 7:25 AMagkithes says:
Thank you. I was able to find a diagram of a pic16f84 and match each pin in the post you gave me. Thanks, now I can order the parts and build the programmer. Actually, one more question if that's alright. I was looking for the BC547B NPN Transistor, and I was unable to find it in a few catalogs (Jameco, Electronix Express, etc.). Is there any transistor that I can replace this with? Thanks in advance.
1-40 of 138next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
126
Followers
30
Author:ian(DangerousPrototypes.com)