Very Simple ICSP Programmer
Hi guys,
I have been using this simple programmer.. why pay big bucks for a PIC programmer when this one costs just cents! In fact I have stopped using my 'other programmer' all together now.
All you need is:
three 4.7k Resistors,
a few wires (1m)
9 pin d-connector (female),
and a 5 volt dc supply.
I have used it on 16F84, 16F62X, 16F87X chips without problems.
To make it:
TXD (3) ------[4.7k]-------VPP
GND (5) --------------------VSS
DTR (4) -------[4.7k]------DATA
CTS (8) ------------------DATA
RTS (7) -------[4.7k]------CLK
Numbers in Bracket are the connections on the 9-Pin D-Connector.
I have made up a small PCB to mount the resistors on but... you could just solder them in line to go cheap.. Just be carefull they dont short out. If anyone wants the PCB footprint I can post it.
Then just put your PIC into a breadboard, connect your 5 volt supply to VDD/VSS, and away you go.
connections with 16F628 and serial port
Hi,
thks for the reply. Pls bear with me for I am a novice programmer. I connected the 16F628 chip directly to the serial port in the config as shown below:
Serial Port Pins : 16F628 Pins
TXD (Pin 3) -----[4.7K]------ MCLR ( Pin 4)
GND (Pin 5) ----------------- Vss (Pin 5)
DTR (Pin 4 ) -----[4.7K]------ RB 7 (Pin 13)
CTS (Pin 8) ----------------- RB 7 (Pin 13)
RTS (Pin 7) -----[4.7K]------ RB 6 (Pin 12)
To power up the chip, I connected the power supply to these pins on the 16F628.
Vdd (Pin 14 ) ------ + 5V
Vss ( Pin 5 ) ------ + 0V
Afterwards, I used IC-Prog and did a wirte of a hex file but was unsuccessful. No other programmer was used, just a direct serial port to chip connection. By all indications it should work right?
Works now (Desktop Comp).
Thanks Nav,
I tried it on a desktop and it works. But I think we are talking about different programming modes. Here is my rundown: (16F62X series)
Low Voltage Programming : MCLR is low(+ 5V) , MCLR is shorted to RB4 as
RB4 needs to rise to 5V also.
High Voltage Programming : MCLR is high(~ + 13V),
RB 4 has to be grounded
Voltages to Vdd of both modes are +5V. High voltage programming is better than low voltage programming in that all I/O pins can be used. (RB4 can't be used for LVP) But the downside is that it is harder to get 12 V source.