Program PIC With Arduino

75K1085

Intro: Program PIC With Arduino

This is just another "show and tell", but once again, there are gerber files and so on included.

This Arduino shield is a PCB version of a circuit designed by Rhys Weatherley. When used in conjunction with two arduino sketches and a host program also designed by Rhys, it provides a pretty neat way of programming various 8 and 18 pin PIC micros using an Arduino as the programmer. Full list of supported devices, sketches, host program, schematics and instructions for use are here.

The circuit is the same as the one on that site, except that I have added a jumper to allow you to select pin 9 or 10 as the program pin. This lets you program a couple of extra PIC models in the ZIF socket. The circuit is easy to build on a proto board - especially one of mine! ;)

If you are not comfortable with command line interfaces or you are not willing to play around a bit to teach yourself how to use this hardware and software, this is probably not the project for you. There are cheap PIC programmers available supported by free software with good GUI's. This one is for the fun of DIY!

PCB was designed using free designSpark software by RS components and manufactured by SEEED Studio. Because I ordered other boards and parts at the same time, I paid around $23 for 10 of this PCB (worth if for me, as I made up some of the spares as gift kits for friends).
Alternatively, you can use the supplied .pdf file to do the toner transfer method and make your own.

Gerbers and other resources at the end.

5 Comments

Please send ardulino to pic copy circuit diagram

Hi RakeshA5,

Not sure what you mean. All the Arduino connections, circuit diagrams, code, etc is documented on Rhys's website. There is a link in the text, but here it is again:

http://rweather.github.io/ardpicprog/

I just wanted that! Thanks for sharing :)

How did this work out for you? Any bugs or gotchas in the circuit?

Thanks!

Hi rasyoung,

No hardware bugs that I'm aware of. I haven't actually used it for quite a while, though.

If you use my PCB shield, note the jumper to select the programming pin. Note also that the easiest way to get the appropriate programming voltage is from 2 x 9V batteries in series.

The ArdPicProg software is command line. Not difficult if you are used to that.

As I said in my post: there are a lot of cheap "ready made" PIC programmers out there with pretty and easy to use GUI's etc. This PCB was done because I like building things from scratch and as a sort of "thankyou" to Rhys for the ArdPicProg software.