2013. 8. 25. 19:35
https://projects.drogon.net/raspberry-pi/wiringpi/
P1: The Main GPIO connector:
wiringPi Pin | BCM GPIO | Name | Header | Name | BCM GPIO | wiringPi Pin |
---|---|---|---|---|---|---|
– | – | 3.3v | 1 | 2 | 5v | – | – |
8 | R1:0/R2:2 | SDA0 | 3 | 4 | 5v | – | – |
9 | R1:1/R2:3 | SCL0 | 5 | 6 | 0v | – | – |
7 | 4 | GPIO7 | 7 | 8 | TxD | 14 | 15 |
– | – | 0v | 9 | 10 | RxD | 15 | 16 |
0 | 17 | GPIO0 | 11 | 12 | GPIO1 | 18 | 1 |
2 | R1:21/R2:27 | GPIO2 | 13 | 14 | 0v | – | – |
3 | 22 | GPIO3 | 15 | 16 | GPIO4 | 23 | 4 |
– | – | 3.3v | 17 | 18 | GPIO5 | 24 | 5 |
12 | 10 | MOSI | 19 | 20 | 0v | – | – |
13 | 9 | MISO | 21 | 22 | GPIO6 | 25 | 6 |
14 | 11 | SCLK | 23 | 24 | CE0 | 8 | 10 |
– | – | 0v | 25 | 26 | CE1 | 7 | 11 |
wiringPi Pin | BCM GPIO | Name | Header | Name | BCM GPIO | wiringPi Pin |
- Board Revisions: Please note the differences between board revisions 1 and 2 (R1 and R2 above)
P5: The auxilliary GPIO connector present on Rev. 2 boards only:
wiringPi Pin | BCM GPIO | Name | Header | Name | BCM GPIO | wiringPi Pin |
---|---|---|---|---|---|---|
– | – | 5v | 1 | 2 | 3.3v | – | – |
17 | 28 | GPIO8 | 3 | 4 | GPIO9 | 29 | 18 |
19 | 30 | GPIO10 | 5 | 6 | GPIO11 | 31 | 20 |
– | – | 0v | 7 | 8 | 0v | – | – |
wiringPi Pin | BCM GPIO | Name | Header | Name | BCM GPIO | wiringPi Pin |
'ExtreamThings' 카테고리의 다른 글
Build 를 편하게.. Makefile (0) | 2013.08.29 |
---|---|
Servo 모터 함수 사용하기 (0) | 2013.08.28 |
GPIO 제어하기 시작 (0) | 2013.08.25 |
케이스 득템! (0) | 2013.08.24 |
소소한 세팅들 (0) | 2013.08.24 |