Raspberry Pi and Arduino

photo

 

Raspberry Pi: Main GPIO connector (P1 / J8)

RPi model A and RPi model B - 26 pins; RPi model A+, RPi model B+, RPi 2 model B and RPi Zero - 40 pins

WiringPi BCM GPIO Function Header Function BCM GPIO WiringPi
    +3V3 1 2 +5V    
8 RPi rev. 1: 0 / other: 2 SDA1 (I2C) 3 4 +5V    
9 RPi rev. 1: 1 / other: 3 SCL1 (I2C) 5 6 GND    
7 4 GPCLK0 7 8 TXD0 (UART) 14 15
    GND 9 10 RXD0 (UART) 15 16
0 17   11 12 PCM_CLK / PWM0 18 1
2 RPi rev. 1: 21 / other: 27   13 14 GND    
3 22   15 16   23 4
    +3V3 17 18   24 5
12 10 MOSI (SPI) 19 20 GND    
13 9 MISO (SPI) 21 22   25 6
14 11 SCLK (SPI) 23 24 CE0_N (SPI) 8 10
    GND 25 26 CE1_N (SPI) 7 11
30 0 ID_SD (EEPROM) 27 28 ID_SC (EEPROM) 1 31
21 5 GPCLK1 29 30 GND    
22 6 GPCLK2 31 32 PWM0 12 26
23 13 PWM1 33 34 GND    
24 19 PCM_FS / PWM1 35 36   16 27
25 26   37 38 PCM_DIN 20 28
    GND 39 40 PCM_DOUT 21 29

 

Raspberry Pi: Secondary GPIO connector (P5 / P6)

RPi model A and model B, revision 2 only

WiringPi BCM GPIO Function Header Function BCM GPIO WiringPi
    +5V 1 2 +3V3    
17 28   3 4   29 18
19 30   5 6   31 20
    GND 7 8 GND    

 

Top

Programs for Raspberry Pi

Top

Programs for Arduino

Top

Common utilities

Top

© Jan Lindauer 27.5.2016 13:52
Your IP: 54.158.238.108