Custom Search

Wednesday, March 5, 2008

Multi PIC Programmer By FENG3

Reference: Article present in HAM RADIO INDIA website

Multi PIC Programmer 5 Ver.2 is a PIC programmer, which can program to 8-pin to" 40-pin devices using single ZIF socket.

It is the first PIC programmer, which was built by me when I began electronics hobby one year ago. There are many kinds of PIC programmers. The programmer, which I built, does not need an external power supply, and since there are only few parts, it is very cheap and can be built easily. This PIC programmer is called "JDM programmer". This name comes from the name of Jens Dyekjar Madsen who devised this first. His homepage is here.

http://www.jdm.homepage.dk/

I built "Multi PIC programmer 5 Ver.1", in order to enable it to program 40-pin devices like PIC16F877 with a ZIF socket. The number "5" is because it is the 5th set of the programmers which I built based on the JDM programmer. This PIC programmer's circuit diagram can be downloaded from my homepage. http://feng3.cool.ne.jp/en/

Lately I improved this PIC programmer. The main improvements are having made it suit "VPP before VDD" and changed wiring of a ZIF socket for accepting devices with LVP (Low Voltage Programming) mode. Information about "VPP before VDD" is available in my homepage.

Before you build this "PIC programmer", I recommend checking to see if there is enough output voltage at the serial port your personal computer. If TxD, DTR, and RTS do not have more than +7.5V(or -7.5V), this programmer will not work well, especially, with the latest laptop computers that using low power RS232 interface ICs.

Other important matters are as:

  1. The GND line of a serial port forms relative VDD on a PIC programmer. All the GND symbols in a circuit diagram are a PIC programmer's GND. Never connect them with GND line of a serial port
  2. This PIC programmer changes VPP in accordance with the device selected (8-18pin) or (28-40pin) with one sliding switch. So, if the insertion position of a device and slide switch is not set correctly, your PIC may be damaged by over voltage.
  3. This PIC programmer does not support all PIC MCUs. (PIC16C5x is not programmable with this programmer By using an adapter, the 20 pin PIC 16C770/771 can be programmed.
  4. I did not try all PICs since and I do not have all them. The PICs, which I successfully programmed and verified, are PIC12F629, PIC12F675, PIC16F627, PIC16F628, PIC16F630, PIC16F676, PIC16F818, PIC16F819, PIC16F84A, PIC16F873, PIC16F877A, PIC18F2320, PIC18F452.
  5. The programming software used is IC-Prog(http://www.ic-prog.com/) of Bonny Gijzen. Go to the following link to download the software.
  6. (http://www.hamradioindia.org/downloads.php?
d_op=viewdownload&cid=3&sid=0a52d3cdfd61c81528275b09225022a1)

  1. Hardware settings" of IC-Prog are the same as the JDM programmer.

I am publishing this circuit diagram and the PCB for the first times for the benefit my friends in of India.


Download PDF files (PCB designs). http://www.hamradioindia.org/ckt/pg5v2.zip

Since the question about which I am often asked had many things about PCB and P channel MOS-FET, I drew the following PCB and others. PCB size is 100 mm x 37.5 mm. The spacing of first pin and No.20 pin of ZIF Socket is 48.26mm. If a PDF file prints smaller or larger than expected (for example, 90% of the original size) from an Adobe Acrobat product, do one or more of the following:

Print using different paper source options.
Choose File > Print, and then do one of the following:

  • In an Acrobat 6.x product, select Choose Paper Source by PDF Page Size, and then click OK.
  • In an Acrobat 5.x product:
    1. Click Advanced.
    2. Select Choose Output Tray by PDF Page Size.
    3. Click OK to close the Print Settings dialog box, and then click OK to print.

Modifications on Multi PIC Programmer 5v2

One problem of Multi PIC Programmer 5V2 is that it is difficult to find a 2SJ377 and its substitutes. 2SJ377 can be bought from RS Components. IRFR9024(D-PAK) can be bought from Digi-key. About BSP254A, it is uncertain whether it works well even if it is found.

Therefore, I improved Multi PIC Programmer 5V2 only a little at the end of last year. It is a circuit that can use a general purpose PNP transistor instead of a P-channel MOSFET.

SW2 is a board mount Post Header(3 or 2 posts, single row male) and a Post Shunt(Shorting Jumper).

This Multi PIC Programmer works as a usual JDM Programmer. When the switch-2 is on, this Multi PIC Programmer changes into VPP-FIRST mode

The switch-2 will be used only when both INTOSC and internal MCLR options are selected (PIC12Cxxx,PIC12CExxx,PIC12F629, and PIC12F675,etc. Please refer to the data sheet of each PICs for more details.)

I built it by using components that would be able to be bought even in your country. Though I have tested a few devices, it works well for now.

In the schematics and PCB layouts, there are somethings with a different connection of R5. Please disregard it because it must be not unrelated to function of hardware.

Download the Circuits and PCB layouts for the modified version (http://www.hamradioindia.org/ckt/pg5v2r8.zip)

Your questions and comments on this project may be put to the Forums on this web.

http://www.hamradioindia.org/forums

/viewforum.php?f=2&sid=0a52d3cdfd61c81528275b09225022a1

FENG3

http://feng3.cool.ne.jp/en

2 comments:

Unknown said...

thanks alot for this type of programmer but i face problem with pcb i want the chemical material of pcb and it's percentage if you can put them in this web site please .

Unknown said...

hello , thanks alot for this type of programmer . but i have problem with pcb i want material and it's magnitude (percentage of chemical material )to make it . if you can please send to me this on this email
haithamkanakri@gmail.com

Regards