AVR Dev

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

5 4 3 2 1

IO PORT PROTECTION RESISTOR IO PORT HEADERS


PA[0:7]
IO_PA[0:7]
JP1 +VTG
PA7 IO_PA7 PA7 JP2
PA6 R1 100 IO_PA6 1 2 PA6 IO_PA0 IO_PA1
PA5 R2 100 IO_PA5 3 4 PA5 IO_PA2 1 2 IO_PA3
PA4 R3 100 IO_PA4 5 6 PA4 IO_PA4 3 4 IO_PA5
D PA3 R4 100 IO_PA3 7 8 PA3 IO_PA6 5 6 IO_PA7 D
PA2 R5 100 IO_PA2 9 10 PA2 7 8
PA1 R6 100 IO_PA1 11 12 PA1 9 10
PA0 R7 100 IO_PA0 13 14 PA0 HEADER 5X2
R8 100 15 16
IO_PB[0:7]
HEADER 8X2 IO_PA[0:7]
PB[0:7] JP4
IO_PB0 IO_PB1
IO_PB2 1 2 IO_PB3
JP3
PB0 IO_PB0 PB0 IO_PB4 3 4 IO_PB5
PB1 R9 100 IO_PB1 1 2 PB1 IO_PB6 5 6 IO_PB7
PB2 R10 100 IO_PB2 3 4 PB2 7 8
PB3 R11 100 IO_PB3 5 6 PB3 9 10
PB4 R12 100 IO_PB4 7 8 PB4 HEADER 5X2
PB5 R13 100 IO_PB5 9 10 PB5
11 12 IO_PC[0:7]
PB6 R14 100 IO_PB6 PB6
PB7 R15 100 IO_PB7 13 14 PB7 JP6
R16 100 15 16 IO_PC0 IO_PC1
IO_PC2 1 2 IO_PC3
HEADER 8X2 IO_PB[0:7]
IO_PC4 3 4 IO_PC5
PC[0:7] 5 6
C IO_PC6 IO_PC7 C
7 8
JP5
PC0 IO_PC0 PC0 9 10
PC1 R17 100 IO_PC1 1 2 PC1 HEADER 5X2
PC2 R18 100 IO_PC2 3 4 PC2
5 6 IO_PD[0:7]
PC3 R19 100 IO_PC3 PC3
PC4 R20 100 IO_PC4 7 8 PC4 JP8
PC5 R21 100 IO_PC5 9 10 PC5 IO_PD0 IO_PD1
PC6 R22 100 IO_PC6 11 12 PC6 IO_PD2 1 2 IO_PD3
PC7 R23 100 IO_PC7 13 14 PC7 IO_PD4 3 4 IO_PD5
R24 100 15 16 IO_PD6 5 6 IO_PD7
7 8
HEADER 8X2 IO_PC[0:7] 9 10
PD[0:7]
HEADER 5X2
JP7 +AVCC
PD0 IO_PD0 PD0
PD1 R25 100 IO_PD1 1 2 PD1 JP9
PD2 R26 100 IO_PD2 3 4 PD2
5 6 PE0 1 2 PE1
PD3 R27 100 IO_PD3 PD3 PE2 /RESET
PD4 R28 100 IO_PD4 7 8 PD4 3 4
9 10 AREF 5 6
B PD5 R29 100 IO_PD5 PD5 XTAL1 XTAL2 B
PD6 R30 100 IO_PD6 11 12 PD6 7 8
PD7 R31 100 IO_PD7 13 14 PD7 9 10
R32 100 15 16
HEADER 5X2
HEADER 8X2 IO_PD[0:7]

PUSHBUTTONS AND LED


+V_PBLED

R36 180
R35 180
D1 D2 D3 D4 R34 180
1 2 1 2 1 2 1 2 R33 180

LED0 LED1 LED2 LED3 JP10

SW1 SW2 SW3 SW4 1 2


3 4
5 6
A 7 8 A
PB0 PB1 PB2 PB3 GND_ PBLED
9 10
THIEN MINH ELECTRONICS DESIGN- www.tme.com.vn
HEADER 5X2
R37 10K PBTN0 R44 180 IO_PBTN0 Title
R38 10K PBTN1 R43 180 IO_PBTN1 AVR Basic System - I/O Port
R39 10K PBTN2 R42 180 IO_PBTN2
R40 10K PBTN3 R41 180 IO_PBTN3 Size Document Number Rev
A4 20-01-2007-0001 <RevCode

Date: Wednesday, February 28, 2007 Sheet 1 of 1


5 4 3 2 1
5 4 3 2 1

PONYPROG/ISP INTERFACE +VTG ISP HEADER HD44780 CHARACTER LCD INTERFACE


+VTG
P1 PC[0:7]

2
D5 D6 +VTG +VTG
1 R46 5K1 DIODE DIODE JP12
6 PROG_SCK JP11 R45 3
D 50K C1 1 2 RS PC2 D
2 PROG_MOSI 1 2 + 3 4
7 R47 5K1 1uF PC3 /E PC4
3 4 PA0 D0 5 6 D1 PA1
3 PROG_RESET /RESET 5 6 7 8
8 R48 5K1 PROG_MISO -2VTG PA2 D2 D3 PA3

1
PROG_SCK 7 8 PA4 D4 9 10 D5 PA5
4 PROG_MOSI PROG_MISO 9 10 11 12
9 PA6 D6 D7 PA7
13 14
5 HEADER 5X2
D7 D8 D9 15 16
DIODE DIODE DIODE PA[0:7] HEADER 8X2
DB9-FEMALE

SERIAL CONNECTOR CPU RESET CONTROL POWER JACK AND ALTERNATE LINEAR REGULATOR
1 +VTG +VEXT
6 /RESET +VEXT +VTG +AVCC
J1 U3 L1
2 R49 R50
C 7 10K 1K2 DCJACK 7805 100uH C
3 TXD1 SW5 3 2 1 3
IN OUT

2
8 + +

1
4 RXD1 D10 C14 C15

G
9 PROG_RESET Q1 C8 RESET D11 4007 100uF 100uF

1
5 U1 NPN 0.1uF POWER

2
TXD2
13 12

2
SUB-D 9 R1IN R1OUT
8 R2IN R2OUT 9 RXD2
P2 11 14
T1IN T1OUT
10 T2IN T2OUT 7
C3 0.1uF
1 2 MOUNTING HOLES AND BYPASS CAPACITORS
VCC +VTG
+

1 C1+ MTH1 MTH2 MTH3 MTH4


3 C1-
C4 0.1uF 4 6-32 6-32 6-32 6-32
C2+
1 2 5 C2-
+

2 V+
6 +VTG
V-
B MAX232A B
-2VTG
2

C2 + C9 C10 C11 C12 C13


0.1uF + C7 0.1uF 0.1uF 0.1uF 0.1uF 0.1uF
0.1uF
1

A A
THIEN MINH ELECTRONICS DESIGN- www.tme.com.vn
Title
AVR Basic System - Interface

Size Document Number Rev


A4 20-01-2007-0001 A

Date: Friday, March 02, 2007 Sheet 2 of 3


5 4 3 2 1
5 4 3 2 1

PA[0:7]

D D
PB[0:7]
+VTG U4 +AVCC U5 +VTG

PB0 1 40 PA0 PB0 1 40


PB1 PB0/T0 PA0/ADC0 PA1 PB1 PB0/T0 VCC
2 PB1/T1 PA1/ADC1 39 2 PB1/T1
PB2 3 38 PA2 PB2 3 39 PA0
PB3 PB2/INT2/AIN0 PA2/ADC2 PA3 PB3 PB2/AIN0 PA0/AD0 PA1
4 PB3/OC0/AIN1 PA3/ADC3 37 4 PB3/AIN1 PA1/AD1 38
PB4 5 36 PA4 PB4 5 37 PA2
PB5 PB4/SS PA4/ADC4 PA5 PB5 PB4/SS PA2/AD2 PA3
6 PB5/MOSI PA5/ADC5 35 6 PB5/MOSI PA3/AD3 36
PB6 7 34 PA6 PB6 7 35 PA4
PB7 PB6/MISO PA6/ADC6 PA7 PB7 PB6/MISO PA4/AD4 PA5
8 PB7/SCK PA7/ADC7 33 8 PB7/SCK PA5/AD5 34
33 PA6
/RESET PA6/AD6 PA7
/RESET 9 RESET /RESET 9 RST PA7/AD7 32

10 32 AREF AREF PD0 10 31 PE0


VCC AREF PD1 PD0/RXD ICP
11 GND AGND 31 11 PD1/TXD ALE 30 PE1
C XTAL2 XTAL2 12 30 PD2 12 29 PE2 C
XTAL1 XTAL2 AVCC PD3 PD2/INT0 OC1B
XTAL1 13 XTAL1 13 PD3/INT1
PD4 14
PD0 PC7 PD5 PD4 PC7
14 PD0/RXD (TOSC2)PC7 29 15 PD5/OC1A PC7/A15 28
PD1 15 28 PC6 PD6 16 27 PC6
PD2 PD1/TXD (TOSC1)PC6 PC5 PD7 PD6/WR PC6/A14 PC5
16 PD2/INT0 PC5 27 17 PD7/RD PC5/A13 26
PD3 17 26 PC4 25 PC4
PD4 PD3/INT1 PC4 PC3 PC4/A12 PC3
18 PD4/OC1B PC3 25 XTAL2 18 XTAL2 PC3/A11 24
PD5 19 24 PC2 XTAL1 19 23 PC2
PD6 PD5/OC1A PC2 PC1 XTAL1 PC2/A10 PC1
20 PD6/ICP1 (SDA)PC1 23 PC1/A9 22
PD7 21 22 PC0 20 21 PC0
PD7/OC2 (SCL)PC0 GND PC0/A8
ATMEGA8535 BASE AT90S8515 BASE

PC[0:7]

B PD[0:7] B

XTAL1 PROG_MOSI PB5 +VTG +AVCC

C16 22pF PROG_MISO PB6


Y1 C18 C19
F_CPU_2PIN PROG_SCK PB7 0.1uF 0.1uF
C17 22pF
XTAL2 JP13
TOSC1 1 2 PC6
TOSC2 3 4 PC7
Y2 HEADER 2X2
3 2 TOSC1
JP14
4 1 TOSC2 RXD1 1 2 TXD1
A PD0 3 4 PD1 THIEN MINH ELECTRONICS DESIGN- www.tme.com.vn A
F_CPU_4PIN RXD2 TXD2
5 6 Title
HEADER 3X2 AVR Basic System - Processor

Size Document Number Rev


A 20-10-2007-0001 A

Date: Friday, March 02, 2007 Sheet 3 of 3


5 4 3 2 1

You might also like