Custom Search
Showing posts with label PIC Programmer. Show all posts
Showing posts with label PIC Programmer. Show all posts

Wednesday, March 12, 2008

Multi Chip Programmer

This circuit is only a mirror dat from the actual web site
http://www.talkingelectronics.com/projects/MultiChipPgmr/MultiChipPgmr-02-Construction.html

CONSTRUCTION

All the components fit on the single-sided board and the project is connected via a 4-pin US telephone plug to the serial port of a computer. It gets all its voltages from this port as well as the programming signals.
The diagram below shows the layout of the board. The three jumper links should be fitted first and then the diodes. Make sure you can identify the 4 signal diodes and the 5v1 and 8v2 zeners. The band or "line" on the diodes is the cathode end and this is shown by a line on the overlay. The only other components requiring careful fitting are the LEDs and transistors. Don't fit them too close or leave them too high off the board. A gap of about 3mm to 5mm looks the most professional. Solder them quickly to prevent heat running up the leads and damaging the semiconductor junction. The electrolytics are identified on the body of the component with a black stripe while the positive lead is identified on the board.

No ZIF (zero insertion force) socket is provided in the kit because they are very expensive and not necessary if you put the chip you are programming in an additional socket. This will make the PIC chip easy to fit and remove from any socket and keep costs down.
The cut-out on the end of the socket identifies pin 1 and the diagram below shows how to fit different types of 8-pin chips to the programmer. The last components are the resistors and socket and the board is ready. The next thing is the assembly of the serial cable.

THE SERIAL CABLE
The Multi-Chip Programmer is connected to a computer via a serial cable. The components to make this cable are included in the kit.
You have to be careful when soldering the 4 wires to the pins of the 9-pin D-plug to make sure they are soldered to the correct places. It's very easy to make a mistake. A 4-pin US plug (telephone plug) is supplied clamped to the cable and it clicks into the socket on the PC board. Attach it to the board and bare the free end to see how the 4-core cable has been connected. From this information, you should determine how the leads will be connected to the 9-pin plug. Select the appropriate diagram from the layout below and wire the conductors to the plug, including the 2k2 resistor. This should be done neatly as it has to fit inside the backshell. Screw the 9-pin D-plug together and you are ready to program a chip.

9 PIN D-SUB MALE at the Computer.

Pin

Name

I/O

Description

1

CD

I

Carrier Detect

2

RxD

I

Receive Data

3

TxD

O

Transmit Data

4

DTR

O

Data Terminal Ready

5

GND

-

System Ground

6

DSR

I

Data Set Ready

7

RTS

O

Request to Send

8

CTS

I

Clear to Send

9

RI

I

Ring Indicator

Modification: Use 470R in the back-shell of the serial cable.

The circuit contains three indicator LEDs:
The 5v Power LED shows when 5v is present on the circuit.
The 13v Programming LED. At the commencement of the "burning" process, the chip will be put in "Programming Mode" by applying 13v to pin 4.
The Clock LED. During the "burning process" the "Clock LED" will illuminate to show data entering the chip.

Multi-Chip
Programmer

PARTS LIST
(incl: all parts, PCB, cable, and postage)

2 - 470R 1/4 watt resistors
1 - 4k7 1/4 watt resistor
1 - 10k " "
1 - 10u 16v electrolytic
1 - 22u 16v electrolytic
1 - 3mm Red LED
1 - 3mm Green LED
1 - 3mm Yellow LED
4 - 1N 4148 signal diodes
1 - 5v1 zener 400mW
1 - 8v2 zener 400mW
2 - BC 547 transistors or similar
1 - 18pin IC socket
1 - 30cm fine tinned copper wire
1 - 30cm very fine solder
1 - 4-pin US telephone socket (low profile)
(RJ12 6P4C PCB socket)
1 - Multi-Chip Programmer PC board

Serial Cable:
1 - 2k2 resistor or 470R
1 - 4-pin US plug on 6ft 4-core cable
( RJ12 6P4C crimp plug)
1 - 9 pin D-type socket
1 - 9 pin backshell

Thursday, March 6, 2008

How to build your own PIC-Programmer

The original schematic was developed by Radu Igret. It is a modification of a JDM-Programmer. This PIC-programmer has to be connected with the serial com port of your computer. This device don’t need any external power supply. The print layout was made with Eagle by CadSoft.


Which types of PIC microcontrollers and EPROM’s are supported?

You can use this PIC-Burner for PIC12C50x, PIC12F62x, PIC16FFxx, PIC16F62x and EEPROM 24Cxx. This PIC-Programmer was tested with PIC12C508 (A), PIC12C509 (A), PIC12F629, PIC12F675, PIC16F84A, PIC16F627, and PIC16F628.

The PIC-programmer is easy to build and compact. 3 LEDs indicates the state of the burning-process. Red: burning, yellow: clock-signal, green: power supply. The dimensions are about 50 mm x 62 mm.

The Modification of this JDM-Programmer:

In comparison to the original JDM-Programmer exists a connection between pin 10 (JDM) and Vss instead of VDD. This modification makes it possible to program PIC microcontrollers with LVP-function (for example PIC16F627 or PIC16F628).

The Schematic of the PIC-Programmer:

The wiring diagram was drawn with Eagle-Lite by CadSoft in order to create a print layout by my self. Eagle is very popular print layout software in Germany and for non-commercial use free.


The schematic view of the PIC-Programmer (http://www.janson-soft.de/pic/parts-and-hints.txt). The bipolar npn-transistors are not very critical. Probably you can choose almost any small signal types. The capacitors are 16 Volts types. The SUB-D-connector is female and has 9 Pins (Reichelt-Best.-Nr.: EMV-BUCHSE 09W). All resistors are common and have 1/4 Watts, 5% tolerance (Download of the Eagle-SCH-file for the schematic here).

http://www.janson-soft.de/pic/jdm-schematic.sch

The Print Layout:
I developed the print layout with the help of Eagle. Because I am not a professional lay outer I used the auto router. After some tries and errors I came to a practical solution for homebrewed stuff. My intention was not to build something for the industrial mass production.


The component side of the pic-programmer. The small holes have a diameter of 0,8 mm, the 6 big ones 3,5 mm. It is recommended to make the print of the layout with Eagle and the Eagle-BRD-file (Download here the jdm-layout.brd and the folienausdruck.brd, which is prepared for the print).

http://www.janson-soft.de/pic/jdm-layout.brd

http://www.janson-soft.de/pic/folienausdruck.brd

Feel free to modify and improve my Eagle files provided you don´t use them for commercial purposes. By the way here is the print-layout as a picture (layout-as-picture.gif). (http://www.janson-soft.de/pic/layout-as-picture.gif)The quality is not as good as a print with the Eagle-file. Don´t forget to resize the dimensions of this picture.Otherwise the components will not fit. I recommend the picture-viewer-software IrfanView.

How to insert the PICs and EEPROMs:

The Software IC-Prog:

At least you need a software on your PC in order to copy the hex-codes on your hard disk into the PIC. By the way there are hundreds of hex-codes for PICs in the Internet. You don´t need to be a PIC-programmer. Just download and burn.

I use this pic-programmer in combination with the free windows-software IC-Prog. (http://www.ic-prog.com/index1.htm) This software supports also this modified JDM-Programmer.


IC-Prog: Choose this configuration for the JDM-Programmer.

My personal Experience:

The burning, flashing, erasing and testing of used and new PICs takes 20 to 50 seconds. However I did not succeed in flashing a used PIC, which was programmed by an other PIC-Programmer. I don´t know the reason.

Download:
pic-programmer.zip: This zip-file contains the entire web-page (www.janson-soft.de/pic/pic.htm) including all files and Eagle-files.

http://www.janson-soft.de/pic/pic-programmer.zip

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

Monday, February 4, 2008

Serial Port PIC Programmer for PIC16 & PIC18



Serial Port PIC Programmer
Schematic & Parts List
PIC 16F628A Firmware for 8, 10, 12, 16 & 20MHZ Clock Freq.
PIC 16F628 Firmware for 8, 10, 12, 16 & 16MHZ Clock Freq.
Download Free Serial Port Programming Software from Oshonsoft

Ponyprog Circuit for AVR & PIC16F84







All resistors are 1/4W.The circuit is powered by 9...15V DC or AC. When In Circuit Programming (ISP) connectors are used, is possible the programmer to be powered from target’s power source. Diodes D2 and D6 protect the regulator LM7805, when target’s power is used.

' XTAL JUMP ' is used to cut XTAL when the AVR has internal RC oscillator enabled.

'FAMILY JUMP' is used to select which ATMEL’s family to program, AVR series (ATtinyXX, AT90SXXXX, ATmegaXXX) or 8051 series (AT89Sxxxx).

‘PIC JUMP’ is used to switch between Microchip’s PIC and ATMEL’s microcontrollers. With jumper ON only PIC can be programmed, while OFF can program ATMEL’s microcontrollers. If you don’t need to program PICs, you can leave their board area unsoldered. The PCB has been designed so that DIP sockets or ZIF sockets can be used. Because of its cost, it is recommended that only one ZIF is used combined with some pin-arrays to switch between the four different places.

The board must be connected to a PC COM port through a 9 pin to pin cable and work with the below application:

'PonyProg2000 - Serial Device Programmer


ATMEL’s AVR series

ATtiny12, ATtiny15, AT90S1200, AT90S1200A, AT90S2233, AT90S2313, AT90S2323, AT90S2343, AT90S4414, AT90S4433, AT90S4434, AT90S8515, AT90S8535, ATmega8, ATmega16, ATmega161, ATmega163, ATmega323, ATMEL’s 8051 series, AT89S53, AT89S8252

MICROCHIP’s PIC series

PIC16x83, PIC16x84, PIC16F84A

And some other programmable ICs (memories, microcontrollers) which Ponyprog support but need a board adapter to be programmed through ISP connectors. For more information see Claudio Lanconelli site .

PIC Programmer


Programing PIC10F200/202/204/206/220/222, PIC12F508/509/510, PIC16F54/57/59, PIC12F629/635/675/683, PIC16F627/628, PIC16F627A/628A/648A,PIC16F630/636/639/676, PIC16F684/685/687/688/689/690, PIC16F818/819, PIC16F84A, PIC16F87/88, PIC16F870/871/872/873/874/876/877, PIC16F873A/874A/876A/877A.)

JDM PIC programmer







R1 10 kOhm
R2 1,5 kOhm
C2 100 uF/16 V, submini.
C3 22 uF/16 V, submini.
D2 Zenerova dioda 5,1 V
D6 Zenerova dioda 8,2 V
D3, D4, D5, D7 1N4148
Q1, Q2 BC547B
http://www.ic-prog.com/

All PIC programmer






Parts:
Ic1 - 78L05
T1,T3 - bc547 npn
T2,T4 - bc557 pnp
D1,D2 - 1n4148
D3 - zener 13v
D4 - zener 12v
D5,D6 - zener 5v1
R1 - 1k2
R10- 270
R15- 1k
R7,R8 - 10k
R4,R5,R13,R14 - 1k8
R2,R3,R6,R9,R11,R12-5k6

c1,c2,c3 - 100nF
c4-10uF/16v
c5-100uF/25v
Led1 - red 5mm led
Led2 - green 5mm led

2x8pin,18pin,28pin i 40pin

Db9 zenski konektor za montazu na pcb
jp1 - 1x2 jumper
jp2 - 1x3 jumper
con1- 1x5 (in-circuit prog.konektor)
6mm conectorr for psu
pcb 68x65mm