! ! ! ! ! ! ! ! ! ! !
!
22!
!
What!GPIO!Pins!are!Used!by!Witty!Pi?!
The!GPIO!pins!used!by!Witty!Pi!are!marked!with!
green
!color!in!the!table!below.! !
Please!notice!the!same!pin!may!have!different!pin!number!in!different!numbering!
systems.!In!documents!we!always!use!BCM!numbering,!while!in!the!software!(bash!
script)!we!use!the!wiring!Pi!numbering.!
GPIO!
(BCM)!
wiring!Pi!
(wPi)!
Name!
Physical!
Name!
wiring!Pi!
(wPi)!
GPIO!
(BCM)!
!
!
3.3V!
1!
2!
5V!
!
!
2!
8!
SDA!1!
3!
4!
5V!
!
!
3!
9!
SCL!1!
5!
6!
GND!
!
!
4!
7!
GPIO!7!
7!
8!
TXD!
15!
14!
!
!
GND!
9!
10!
RXD!
16!
15!
17!
0!
GPIO!0!
11!
12!
GPIO!1!
1!
18!
27!
2!
GPIO!2!
13!
14!
GND!
!
!
22!
3!
GPIO!3!
15!
16!
GPIO!4!
4!
23!
!
!
3.3V!
17!
18!
GPIO!5!
5!
24!
10!
12!
MOSI!
19!
20!
GND!
!
!
9!
13!
MISO!
21!
22!
GPIO!6!
6!
25!
11!
14!
SCLK!
23!
24!
CE0!
10!
8!
!
!
GND!
25!
26!
CE1!
11!
7!
0!
30!
SDA!0!
27!
28!
SCL!0!
31!
1!
5!
21!
GPIO!21!
29!
30!
GND!
!
!
6!
22!
GPIO!22!
31!
32!
GPIO!26!
26!
12!
13!
23!
GPIO!23!
33!
34!
GND!
!
!
19!
24!
GPIO!24!
35!
36!
GPIO!27!
27!
16!
26!
25!
GPIO!25!
37!
38!
GPIO!28!
28!
20!
!
!
GND!
39!
40!
GPIO!29!
29!
21!
Raspberry!Pi!USB!ports!at!this!end!