
Fire Bird V ATMEGA2560 Hardware Manual
4.2 ATMEGA8 (slave) microcontroller pin configuration
Pin No.
Pin name
USED FOR
1
INT1/PD3
Not Used
2
XCK/TOSC1/PB6
Not Used
3
GND
Ground
4
VCC
5V
5
GND
Ground
6
VCC
5V
7
XTAL1/TOSC1/PB6
Not Used
8
XTAL2/TOSC1/PB7
Not Used
9
(T1) PD5
Not Used
10
(AIN0) PD6
Not Used
11
(AIN1) PD7
Not Used
12
(ICP) PB0
Not Used
13
(OC1A) PB1
Not Used
14
(SS/OC1B) PB2
ISP (In System Programming) and SPI Communication
with ATMEGA2560. *
15
(MOSI/OC2) PB3
16
(MISO) PB4
17
PB5 (SCK)
18
AVCC
5V
19
ADC6
ADC input for IR proximity analog sensor 7
20
AREF
5V
21
GND
Ground
22
ADC7
ADC input for IR proximity analog sensor 8
23
PC0 (ADC0)
ADC input for white line sensor 4
24
PC1 (ADC1)
ADC input for white line sensor 5/Servo pod
25
PC2 (ADC2)
ADC input for white line sensor 6
26
PC3 (ADC3)
ADC input for white line sensor 7/Servo pod
27
PC4 (ADC4/SDA)
ADC input for Current Sensing IC ACS712
28
PC5 (ADC5/SCL)
ADC input for IR proximity analog sensor 6
29
PC6 (RESET)
Microcontroller reset
30
PD0 (RXD)
Not Used
31
PD1 (TXD)
Not Used
32
PD2 (INT0)
Not Used
Table 4.2: ATMEGA8 microcontroller pin connections
*
MOSI, MISO, SCK and SS pins of ATMEGA2560 are associated to the ISP (In System
programming) port as well as the SPI interface to ATMEGA8. J4 needs to be disconnected
before doing ISP. To communicate with ATMEGA8 jumper J4 needs to be in place. For more
details refer to section 3.19.6 J4.
© NEX Robotics Pvt. Ltd. and ERTS Lab, CSE, IIT Bombay, INDIA 82