Ponyprog Circuit for AVR & PIC16F84. Kyriakos Kontakos€¦ · Ponyprog Circuit for AVR & PIC16F84....

6
Ponyprog Circuit for AVR & PIC16F84. Kyriakos Kontakos Revised: Tuesday, March 05, 2002 Revision: 2 Bill of Materials March 6, 2002 15:15:16 Item Quantity Reference Part ______________________________________________ 1 1 C1 1000uF/25V or 470uF 2 1 C2 47uF/16V 3 8 C3,C4,C5,C6,C8, 100nF C9,C11,C13 4 1 C7 1uF/16V 5 2 C10,C12 27pF 6 5 D1,D2,D3,D4,D5 1N4001 7 4 D6,D9,D10,D11 1N4148 8 1 D7 PROGRAM LED 9 1 D8 POWER ON LED 10 3 D12,D13,D14 Z5V1 11 1 D15 Z13V 12 1 J1 Ponyprog's ISP 10 pin-array 13 1 J2 FAMILY JUMP 3 pin-array 14 1 J3 12V power jack 15 1 J4 ATMEL's ISP 2*5 pin-array 16 1 J5 XTAL JUMP 2 pin-array 17 1 P1 DB9Female 18 4 Q1,Q2,Q4,Q5 BC547 19 1 Q3 BC557 20 2 R1,R4 2K2 21 1 R2 22K 22 5 R3,R5,R10,R14,R15 10K 23 1 R6 15K 24 4 R7,R8,R9,R13 4K7(or 6K8) 25 2 R11,R12 1K 26 1 R16 100K 27 1 U1 LM7805 28 1 U2 DIP40 socket (AT90S8515) 29 1 U3 DIP40 socket (AT90S8535) 30 1 U4 DIP20 socket (AT90S2313) 31 1 U5 DIP28 socket (AT90S4433) 32 1 U6 DIP8 socket (AT90S2343) 33 1 U7 DIP18 socket (PIC16F84) 34 1 Y1 4MHz Comments: 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.

Transcript of Ponyprog Circuit for AVR & PIC16F84. Kyriakos Kontakos€¦ · Ponyprog Circuit for AVR & PIC16F84....

Page 1: Ponyprog Circuit for AVR & PIC16F84. Kyriakos Kontakos€¦ · Ponyprog Circuit for AVR & PIC16F84. Kyriakos Kontakos Revised: Tuesday, ... PIC 16F84A And some other ... ponyprogBOM.doc

Ponyprog Circuit for AVR & PIC16F84. Kyriakos Kontakos Revised: Tuesday, March 05, 2002 Revision: 2 Bill of Materials March 6, 2002 15:15:16 Item Quantity Reference Part ______________________________________________ 1 1 C1 1000uF/25V or 470uF 2 1 C2 47uF/16V 3 8 C3,C4,C5,C6,C8, 100nF C9,C11,C13 4 1 C7 1uF/16V 5 2 C10,C12 27pF 6 5 D1,D2,D3,D4,D5 1N4001 7 4 D6,D9,D10,D11 1N4148 8 1 D7 PROGRAM LED 9 1 D8 POWER ON LED 10 3 D12,D13,D14 Z5V1 11 1 D15 Z13V 12 1 J1 Ponyprog's ISP 10 pin-array 13 1 J2 FAMILY JUMP 3 pin-array 14 1 J3 12V power jack 15 1 J4 ATMEL's ISP 2*5 pin-array 16 1 J5 XTAL JUMP 2 pin-array 17 1 P1 DB9Female 18 4 Q1,Q2,Q4,Q5 BC547 19 1 Q3 BC557 20 2 R1,R4 2K2 21 1 R2 22K 22 5 R3,R5,R10,R14,R15 10K 23 1 R6 15K 24 4 R7,R8,R9,R13 4K7(or 6K8) 25 2 R11,R12 1K 26 1 R16 100K 27 1 U1 LM7805 28 1 U2 DIP40 socket (AT90S8515) 29 1 U3 DIP40 socket (AT90S8535) 30 1 U4 DIP20 socket (AT90S2313) 31 1 U5 DIP28 socket (AT90S4433) 32 1 U6 DIP8 socket (AT90S2343) 33 1 U7 DIP18 socket (PIC16F84) 34 1 Y1 4MHz Comments: 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.

Page 2: Ponyprog Circuit for AVR & PIC16F84. Kyriakos Kontakos€¦ · Ponyprog Circuit for AVR & PIC16F84. Kyriakos Kontakos Revised: Tuesday, ... PIC 16F84A And some other ... ponyprogBOM.doc

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 Copyright (C) 1997-2001 by Claudio Lanconelli E-mail: [email protected] Download last version of PonyProg2000 at the address: http://www.LancOS.com '. Supported microcontrollers are: 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 .

Page 3: Ponyprog Circuit for AVR & PIC16F84. Kyriakos Kontakos€¦ · Ponyprog Circuit for AVR & PIC16F84. Kyriakos Kontakos Revised: Tuesday, ... PIC 16F84A And some other ... ponyprogBOM.doc

A

A

B

B

C

C

D

D

E

E

4 4

3 3

2 2

1 1

1

Important

XTAL JUMP

3

XTAL OFF

23 1

FAMILY JUMP

XTAL ON

2

1

8051

22

1

1

U2

AT89S53AT89S8252AT90S4414AT90S8515ATmega161

U3

AT90S4434AT90S8535ATmega16ATmega163ATmega323

AT90S1200A

AT90S2313

U4

ATmega8

AT90S2233AT90S4433

U5

ATtiny12

AT90S2323

ATtiny15

AT90S2343

U6

ATmega64, ATmega103,ATmega128 and other AVRsare in SMD packages andneed an adapter to beprogrammed, or via ISP.

U7

PIC16x84PIC16x83

PIC16F84A

AVR

AT90S1200

PIC JUMP

22 1

PIC ATMEL

1

<Doc>

1

Ponyprogrammer Circuit for AVR & PIC.

Kyriakos Kontakos

B 2

Saturday, March 22, 2003

Title

Size Document Number Rev

Date: Sheet of

89R

SCK

+5V

+12V

RST

XT2XT1

RST

XT2XT1

+5V

+5VSCK

RST

+5V

XT1XT2

SCK+5VRST

XT1

SCKRST+5V

XT2XT1

SCK

SCK

XT1

XT2

RST

89R

+5V

LEDRSTSCK

+12V

SCK89RRST+5V

GND

GND

GND

GND

GND

GND

GND

GND

GND

GND

GND

MISO

MOSI

MISO

MISO

MISOMOSI

MOSI

MOSI

MOSIMOSI

MOSI

MISO

MISO

MISO

MISO

MOSI

XT2

MOSI

89R

MISO

+12V

SCK

+5V

J4

ATMEL's ISP

13579

2468

10

U7

PIC16F84

4

123

678

18171615

131211

145

9 10

MCLR

RA2RA3RA4/T0CK1

RB0/INTRB1RB2

RA1RA0

OSC1/CLKINOSC2/CLKOUT

RB7RB6RB5

VDDGND

RB3 RB4

R134K7

R1

2K2

J2

FAMILY JUMP

123

Q3BC557

P1

DB9F

594837261

R111K

U2

AT90S8515

123456789

393837363534333231

40

20

10111213141516171819

30292827262524232221

PB0(T0)PB1(T1)PB2(AIN0)PB3(AIN1)PB4(SS)PB5(MOSI)PB6(MISO)PB7(SCK)RST

PA0(AD0)PA1(AD1)PA2(AD2)PA3(AD3)PA4(AD4)PA5(AD5)PA6(AD6)PA7(AD7)

ICP

VCC

GND

PD0(RXD)PD1(TXD)PD2(INT0)PD3(INT1)PD4PD5(OC1A)PD6(WR)PD7(RD)XTAL2XTAL1

ALEOC1B

PC7(A15)PC6(A14)PC5(A13)PC4(A12)PC3(A11)PC2(A10)PC1(A9)PC0(A8)

C11100nF

D15Z13V

Q5BC547

D7

PROGRAM

R10

10K

C13100nF

R14

10K

C5100nF

C10

27pF

D91N4148

D12Z5V1

R15

10K

Q4BC547

R121K

+C1

1000uF/25V

C12

27pF

U5

AT90S4433

123456

91011

232221201918171615

78

121314

2827262524

RSTPD0(RXD)PD1(TXD)PD2(INT0)PD3(INT1)PD4(T0)

XTAL1XTAL2PD5(TI)

PC0(ADC0)AGNDAREFAVCC

PB5(SCK)PB4(MISO)PB3(MOSI)

PB2(SS)PB1(OC1)

VCCGND

PD6(AIN0)PD7(AIN1)PB0(ICP)

PC5(ADC5)PC4(ADC4)PC3(ADC3)PC2(ADC2)PC1(ADC1)

D101N4148

D111N4148

R16100K

D8

POWER ONJ312V

R7

4K7

C3100nF

D1

1N4001

R8

4K7R9

4K7

Q1BC547

R5

10K

R222K

R310K

+C7

1uF/16V

J5XTAL JUMP

12

C6100nF

R6

15K

U3

AT90S8535

123456789

403938373635343332

1011

14151617181920 21

1213

31302928272625242322

PB0(T0)PB1(T1)PB2(AIN0)PB3(AIN1)PB4(SS)PB5(MOSI)PB6(MISO)PB7(SCK)RST

PA0(ADC0)PA1(ADC1)PA2(ADC2)PA3(ADC3)PA4(ADC4)PA5(ADC5)PA6(ADC6)PA7(ADC7)

AREFVCCGND

PD0(RXD)PD1(TXD)PD2(INT0)PD3(INT1)PD4(OCIB)PD5(OC1A)PD6(ICP) PD7(OC2)

XTAL2XTAL1

AGNDAVCC

PC7(TOSC2)PC6(TOSC1)

PC5PC4PC3PC2PC1PC0

Y14MHz

U1LM7805

1

3

2VIN

GN

D

VOUT

+C2

47uF/16V

J6PIC JUMP

1 2

D4

1N4001

J1

Ponyprog's ISP

12345678910

D5

1N4001

D3

1N4001

C8100nF

C9100nF

R42K2

U6

AT90S2343

123

5678

4

RSTPB3(CLK)PB4

PB0(MOSI)PB1(MISO/INT0)

PB2(SCK/T0)VCC

GND

D13Z5V1

D2

1N4001

D61N4148

U4

AT90S2313

123456789

191817161514131211

20

10

RSTPD0(RXD)PD1(TXD)XTAL2XTAL1PD2(INT0)PD3(INT1)PD4(T0)PD5(T1)

PB7(SCK)PB6(MISO)PB5(MOSI)

PB4PB3(OC1)

PB2PB1(AIN1)PB0(AIN0)PD6(ICP)

VCC

GND

D14Z5V1

C4100nF

Q2BC547

Page 4: Ponyprog Circuit for AVR & PIC16F84. Kyriakos Kontakos€¦ · Ponyprog Circuit for AVR & PIC16F84. Kyriakos Kontakos Revised: Tuesday, ... PIC 16F84A And some other ... ponyprogBOM.doc
Kyriakos
PCB solder side
Page 5: Ponyprog Circuit for AVR & PIC16F84. Kyriakos Kontakos€¦ · Ponyprog Circuit for AVR & PIC16F84. Kyriakos Kontakos Revised: Tuesday, ... PIC 16F84A And some other ... ponyprogBOM.doc
Kyriakos
PCB components side
Page 6: Ponyprog Circuit for AVR & PIC16F84. Kyriakos Kontakos€¦ · Ponyprog Circuit for AVR & PIC16F84. Kyriakos Kontakos Revised: Tuesday, ... PIC 16F84A And some other ... ponyprogBOM.doc
Kyriakos
PCB and Silcscreen