
Brainboard Schematics
The ATMega8L Brainboard
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Reset
IR Left (RxD /PD0)
IR Right (TxD / PD1)
LED1 / Pin7Exp1 (PD2)
LED2 / Pin8Exp1 (PD3)
LED3 / Pin9Exp1 (PD4)
VCC
GND
Xtal 1 (PB6)
Xtal 2 (PB7)
LED4 / Pin10Exp1 (PD5)
LED5 / Pin11Exp1 (PD6)
Spare (PD7)
Spare (PB0)
Left motor Enable (PB1)
Right motor Enable (PB2)
ISP Header (MOSI / PB3)
Left motor Direction / ISP-Pin9 (MISO / PB4)
Right motor Direction / ISP-Pin7 (SCK / PB5)
AVCC
AREF
GND
Edge Left / Pin1Exp2 (PC0)
Edge Center Left / Pin2Exp2 (PC1)
Edge Center / Pin3Exp2 (PC2)
Edge Center Right / Pin4Exp2 (PC3)
Edge Right / Pin5Exp2 (I2C SDA/PC4)
I2C (SCL / PC5)
Brainboard Schematic
(drawn with approximate component placement)
ATMega8L Microcontroller
Pin Usage
+
+
Plug 2
Plug 4
Plug 1
9
10
11
12
15
14
13
16
1
2
3
4
5
6
7
8
21
22
23
24
M
O
S
I
M
IS
O
S
C
K
R
S
T
G
N
D
+
+
R2-240
R3-240
+
L1
L2
L3
L4
L5
R
6
-1
k
R
7
-1
k
R
8
-1
k
R
9
-1
k
R10-100k
+
R12-47k
R13-10k
R14-10k
R15-10k
R17-10k
R1-240
Q1
+
SP12 Programmer
+
R4-10k
R5-1k
R11-47k
R16-10k
1
2
3
4
5
6
7
8
9
1
0
1
1
1
2
1
3
1
4
1
5
1
6
1
7
1
8
1
9
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
2
8
STK500
+
Plug 3
17
18
20
+
+
Raw
6v
Raw
6v
Reset
RX TX
Serial TTL
Optional
Resonator
Programming
LED
Directly
To ATMega8L Pins
4 5 6 11 12
I2C Port
+
19
20
GND
nc
SCL (Pin 28 - PC5)
SD
A (Pin 27 - PC4)
Vcc
MOSI (Pin 17 - PB3)
nc
RESET (Pin 1 - PC6)
SCK (P19 - PB5)
MISO (Pin 18 -PB4)
Vcc
GND
GND
GND
GND
1
2
10
+6V (unreg.)
Gnd
nc
SCL
SD
A
Vcc (+5V reg.)
LED1 (Pin 4 - PD2)
LED2 (Pin 5 - PD3)
LED3 (Pin 6 - PD4)
LED4 (Pin 11 - PD5)
LED4 (Pin 12 - PD6)
Plug4-21 / Pin 23 (P
ull-up) - PC0
Plug4-20 / Pin 24 (P
ull-up) - PC1
Plug4-19 / Pin 25 (P
ull-up) - PC2
Plug4-18 / Pin 26 (P
ull-up) - PC3
Plug4-17 / Pin 27 (P
ull-up) - PC4
GND
RESET (Pin 1)
SCK
MOSI (Pin17 - PB3)
MISO (Pin18 - PB4)
P1
P2
P4
Expansion 1
Expansion 2
P3
SP-12
10 Pin
ISP
I C Port
2
Brainboard I/O
Vcc (1)MOSI (17)
GND (6)
MISO (18)
SCK (19)
RST (1)
RST (1)
GND (6)GND (6)GND (6)
Vcc (1)
MOSI (17)
GND (6)
SCK (19)
MISO (18)
n/c
Old V1 Programming
Header Layout
New V2 Programming
header Layout