This repository contains scripts to test the RPi breakout board.
Available peripherals:
- 1 x MCP7940N RTC with battery backup
- 1 x Pi HAT EEPROM
- 1 x RGB LED
- 1 x I2C
- 1 x SPI
- 1 x Opto-isolated MOSFET output
- 1 x UART (TXD and RXD)
- 1 x 5V output
- 3 x noise protected button inputs
- 2 x PWM outputs
- 9 x GPIO
Shown below is the pin map.
GPIO # | Alternate Fn | 40 pin HDR Physical pin | Comments |
---|---|---|---|
0 | ID_SD | 27 | Reserved for onboard HAT EEPROM |
1 | ID_SC | 28 | Reserved for onboard HAT EEPROM |
2 | SDA | 3 | I2C1 (RTC is connected here) |
3 | SCL | 5 | I2C1 (RTC is connected here) |
4 | GCLK0 | 7 | |
5 | -- | 29 | Not available on the board |
6 | -- | 31 | Not available on the board |
7 | CE1 | 26 | SPI1 |
8 | CE0 | 24 | Not available on the board |
9 | MISO0 (Not available on the board) | 21 | Connected to Green LED |
10 | MOSI0 (Not available on the board) | 19 | Connected to Red LED |
11 | SCLK0 (Not available on the board) | 23 | Connected to Blue LED |
12 | PWM0 | 32 | |
13 | PWM1 | 33 | |
14 | TXD | 8 | |
15 | RXD | 10 | |
16 | -- | 36 | Not available on the board |
17 | -- | 11 | Button 1 |
18 | -- | 12 | Button 2 |
19 | MISO1 | 35 | SPI1 |
20 | MOSI1 | 38 | SPI1 |
21 | SCLK1 | 40 | SPI1 |
22 | -- | 15 | Input to turn on/off MOSFET |
23 | -- | 16 | Not available on the board |
24 | -- | 18 | Not available on the board |
25 | -- | 22 | Not available on the board |
26 | -- | 37 | Not available on the board |
27 | -- | 13 | Button 3 |
2 | 5V+ | ||
4 | 5V+ | ||
1 | 3.3V+ | ||
17 | 3.3V+ | ||
6,9,14,20,25,30,34,39 | GND |