What | RPi GPIO | RPi Pin | Zumo | Comment | What v3 | RPi GPIO v3 | RPi Pin v3 |
---|---|---|---|---|---|---|---|
Motor 1 - Speed | 18 | 12 | 10 | 16 | 36 | ||
Motor 2 - Speed | 19 | 35 | 9 | 12 | 32 | ||
Motor 1 - Direction | 23 | 16 | 8 | 22 | 15 | ||
Motor 2 - Direction | 24 | 18 | 7 | 27 | 13 | ||
Button | 22 | 15 | 12 | Active low (use GPIO pullup) | 19 | 35 | |
I2C - SDA | SDA1 | 3 | A4 | SDA1 | 3 | ||
I2C - SCL | SCL1 | 5 | A5 | SCL1 | 5 | ||
LED | Not connected | ||||||
Reset Button | Not connected | ||||||
Analog-Digital Converter | MISO0 | 21 | AD converter expects signal between 0 and 3.3V. | 21 | |||
MOSI0 | 19 | 19 | |||||
SCLK0 | 23 | 23 | |||||
CE0 | 24 | 24 | |||||
Serial Rx | RXD0 | 10 | 10 | ||||
Serial Tx | TXD0 | 8 | 8 | ||||
5V Input 1 | 20 | 38 | |||||
5V Output 1 | 21 | 40 | |||||
5V Input 2 | 17 | 11 | |||||
5V Output 2 | 27 | 13 | |||||
GPIO1 | 7 | 26 | 3.3V | ||||
GPIO2 | 4 | 7 | 3.3V | ||||
GPIO3 | 25 | 22 | 3.3V | ||||
Reflectance Sensor Array | 05 | 29 | 5 | 17 | 11 | ||
16 | 36 | A2 | 23 | 16 | |||
26 | 37 | A0 | 24 | 18 | |||
06 | 31 | 11 | 13 | 33 | |||
12 | 32 | A3 | 18 | 12 | |||
13 | 33 | 4 | 4 | 7 |
Overview of the 40-pin header on the Raspberry Pi 2.