| author | Michael Smith <smithm@netapps.com.au> |
| Mon Apr 05 12:49:10 2010 +1000 (2010-04-05) | |
| changeset 31 | 4ecb9d4f1985 |
| parent 1 | 2a0115fd9243 |
| permissions | -rw-r--r-- |
1 --------------------------------------------------------------------------
2 Robot arm control
4 Copyright (C) 2010 Michael Smith
6 This is free software; you can redistribute it and/or modify it under the
7 terms of the GNU General Public License as published by the Free Software
8 Foundation; either version 3 of the License, or (at your option) any later
9 version. See COPYRIGHT for details.
10 --------------------------------------------------------------------------
11 atmel atmeg8 28 pin
13 PIN I/O NAME DESCRIPTION
14 1 IN PC6 Reset
15 2 PD0 MOTOR1+
16 3 PD1 MOTOR1-
17 4 IN PD2 INT0
18 5 IN PD3 INT1
19 6 OUT PD4 MOTOR2+
20 7 VCC +5V regulated
21 8 GND 0V
22 9 PB6 XTAL
23 10 PB7 XTAL
24 11 OUT PD5 MOTOR2-
25 12 OUT PD6 MOTOR3+
26 13 OUT PD7 MOTOR3-
27 14 OUT PB0 MOTOR4+
28 15 OUT PB1 MOTOR4-
29 16 OUT PB2 MOTOR5+
30 17 OUT PB3 MOSI Button0
31 18 PB4 MISO Button1
32 19 PB5 SCK Button2
33 20 AVCC +5V isolated
34 21 AREF +5V
35 22 GND 0V
36 23 OUT PC0 MOTOR5-
37 24 OUT PC1 MOTOR6+
38 25 OUT PC2 MOTOR6-
39 26 OUT PC3 PUSH+
40 27 PC4 PUSH-
41 28 PC5 ADC5 Drive current