Programming the PIC16F872

Status
Not open for further replies.

Marks256

New Member
I just finished looking for a programmer on the net, but i could not find a single one that supported the 16F872(then again, i didn't spend too much time looking, only about half an hour or so). Anybody have any nice circuits to program them with?

I know the PIC needs only 2 lines to program it with, but i am not sure which ones. Also, i would prefer the PC interface to be RS232.

Thanks.
 
Hmm, looks great, but it cost money. Thanks anyways. I am looking for schematics(i would like to use junk i already have).
 
Look for my earlier postings of a schematic for a programmer...and use IC-prog with it...
You just need to remember that my schematic was showing as programming an 8 pin device.

Data/clk/mclr etc etc are the same, they just go to different pins on the 28 pin 16F872 device.
Also pin 24 (PGM) should be held low via a 4K7 resistor so as not to invoke the low voltage programming.
 
Last edited:
**broken link removed**

I found the pins for it in a PDF. Now, how would i connect this to the RS232? Also, would it be compatible with MPLAB?
 
Have a look at this manual page. It doesn't support the 872 but tells you how to add any 16 bit device. The above link and the FAQ that accompanies it should answer all your questions.

It also has this schematic,

**broken link removed**

Mike.
Personally, I'd recommend an Inchworm.
 
Last edited:
 
Marks256 said:
Hmm, looks great, but it cost money. Thanks anyways. I am looking for schematics(i would like to use junk i already have).
What PIC junkbox doesn't include a LM7805, MAX232 and a 16F877

I used only the easy to find stuff in the design. Here's a real simple LVP type programmer schematic, just be careful when setting config fuses...

And yes RB6 = PGD, RB7 = PGC and RB3 = PGM (tie it to gnd to use the PIC after programming)

**broken link removed**

**broken link removed**
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…