C Control PRO UNIT MEGA 32 198206 Benutzerhandbuch

Produktcode
198206
Seite von 134
18
Hardware
© 2005 Conrad Electronic
3.2.4
Pinzuordnung
PortA bis PortD werden für direkte Pin-Funktionen (z.B. 
) von 0 bis 31 gezählt, siehe
"PortBit".
Pinbelegung für Application Board Mega32 (Pins 1-20)
PIN
Port
Port
PortBit
Name
Schaltplan
 Bemerkungen
1
PB0
PortB.0
8
T0
 Eingang
Timer/Counter0
2
PB1
PortB.1
9
T1
 Eingang
Timer/Counter1
3
PB2
PortB.2
10
INT2/AIN0
 (+)Analog
Comparator, externer
Interrupt2
4
PB3
PortB.3
11
OT0/AIN1
 (-)Analog Comparator,
Ausgang Timer0
5
PB4
PortB.4
12
SS
 USB-Kommunikation
6
PB5
PortB.5
13
MOSI
 USB-Kommunikation
7
PB6
PortB.6
14
MISO
 USB-Kommunikation
8
PB7
PortB.7
15
SCK
 USB-Kommunikation
9
RESET
10
VCC
11
GND
12
XTAL2
 Oszillator :
14,7456MHz
13
XTAL1
 Oszillator :
14,7456MHz
14
PD0
PortD.0
24
RXD
EXT-RXD
 RS232, serielle
Schnittstelle
15
PD1
PortD.1
25
TXD
EXT-TXD
 RS232, serielle
Schnittstelle
16
PD2
PortD.2
26
INT0
EXT-T1
 SW1 (Taster1);
externer Interrupt0
17
PD3
PortD.3
27
INT1
EXT-T2
 SW2 (Taster2);
externer Interrupt1
18
PD4
PortD.4
28
OT1B
EXT-A1
 Ausgang B Timer1
19
PD5
PortD.5
29
OT1A
EXT-A2
 Ausgang A Timer1
20
PD6
PortD.6
30
ICP
LED1
 Leuchtdiode; Input
Capture Pin
Puls/Periodenmess.