# Cheap PIC programmer, must be Linux compatible

I'm comfortable with working on Arduino based projects, but I'm looking to start experimenting with PIC programming.

How would I go about building my own pic programmer? I thought there must be a way to save money compared to something like this one I found online.

-
...and if you are in it for a thrill, i've seen some projects that use adruino to program PICs –  miceuz Jun 10 '12 at 23:15

Compared to AVRs, PICs have a variety of twisty little variations in programming algorithms and interfaces, which require careful study of each "programming interface" document. Been there, done that (up to a limit). Unless you are in it for the thrill I would not recommend it. Get yourself a kit or a pre-built programmer. I sell one, Olin sells a few, and there are the PICkit2 and PICkit3, and the various clones of these two. Take your pic(k). I would recommend a type that is at least capable of in-circuit programming. Unless you are into selling programmed PICs, ex-circuit programming is almost useless.

-
I have written substantial host code and firmware for PIC programmers, and I agree with Wouter. There are a lot of little gotchas, at least for the general case. By the way, mine don't come with Linux software, so those are probably not what you want. Check out Wouter's or the PicKit3. –  Olin Lathrop Jun 10 '12 at 15:46
Thanks guys, at this stage you're advice to buy rather than build is appreciated :) –  ElectroNoob Jun 11 '12 at 7:53

Buy it, it's less than a tenner! The parts alone will cost you more than that. Plus the amount of time you spend trying to get it working will make you wish you'd bought it.

-
+1 for buying this piece of equipment. The risk of a very hard to detect source of failure is not worth the money imo. –  0x6d64 Jun 10 '12 at 15:27
You think it'll work under linux? –  ElectroNoob Jun 10 '12 at 17:06
@ElectroNoob - Not that I can tell from Google. Personally, I recommend doing some research. Buy a programmer, don't make one. And use Windows if you can. –  Rocketmagnet Jun 10 '12 at 18:31
The eBay listing says "compatible with Windows98 and Windows2000/NT, Windows XP / Windows 7 and other operating systems." You might try contacting the eBay seller and see if they can be more specific. –  tcrosley Jun 10 '12 at 19:09
@Rocketmagnet using Windows isn't an option. Thanks. –  ElectroNoob Jun 11 '12 at 7:49

Why not use your Arduino as a PIC programmer?

-
Interesting. I'll check this out. Thank you. –  ElectroNoob Jun 11 '12 at 10:33

I recommend the PicKit2. It's only $30 and I've had great experiences with it on Windows. It supports pretty much every major PIC you could think of (in case you ever decide to move to a different part). Though it's not formally supported on Linux (by Microchip) it looks like it works fine and you can download the GUI from the website here. There's a newer version (PicKit3) but that one is more expensive and this one seems just as capable for what you describe you're doing. You'll probably spend more than$30 of your time getting anything else to work.

-