0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

RaspberryPiのピンアサインをAAで

Posted at

Raspberry Piのピンアサインをコードのコメントに入れておこうと思ったら見つからなかったので、作った。
(みんな適当にコピペして使うといいと思う。)

+-----------------------------------------------------------------+
|                 Raspberry Pi 40pin - pin assign                 |
+-----------------+------+------+------+------+-------------------+
|3V3 power        |*-----| (01) | (02) |-----*| 5V power          |
|GPIO 2 (SDA)     |*-----| (03) | (04) |-----*| 5V power          |
|GPIO 3 (SCL)     |*-----| (05) | (06) |-----*| Ground            |
|GPIO 4 (GPCLK0)  |*-----| (07) | (08) |-----*| GPIO 14 (TXD)     |
|Ground           |*-----| (09) | (10) |-----*| GPIO 15 (RXD)     |
|GPIO 17          |*-----| (11) | (12) |-----*| GPIO 18 (PCM_CLK) |
|GPIO 27          |*-----| (13) | (14) |-----*| Ground            |
|GPIO 22          |*-----| (15) | (16) |-----*| GPIO 23           |
|3V3 power        |*-----| (17) | (18) |-----*| GPIO 24           |
|GPIO 10 (MOSI)   |*-----| (19) | (20) |-----*| Ground            |
|GPIO 9 (MISO)    |*-----| (21) | (22) |-----*| GPIO 25           |
|GPIO 11 (SCLK)   |*-----| (23) | (24) |-----*| GPIO 8 (CE0)      |
|Ground           |*-----| (25) | (26) |-----*| GPIO 7 (CE1)      |
|GPIO 0 (ID_SD)   |*-----| (27) | (28) |-----*| GPIO 1 (ID_SC)    |
|GPIO 5           |*-----| (29) | (30) |-----*| Ground            |
|GPIO 6           |*-----| (31) | (32) |-----*| GPIO 12 (PWM0)    |
|GPIO 13 (PWM1)   |*-----| (33) | (34) |-----*| Ground            |
|GPIO 19 (PCM_FS) |*-----| (35) | (36) |-----*| GPIO 16           |
|GPIO 26          |*-----| (37) | (38) |-----*| GPIO 20 (PCM_DIN) |
|Ground           |*-----| (39) | (40) |-----*| GPIO 21 (PCM_DOUT)|
+-----------------+------+------+------+------+-------------------+

オリジナルは公式で
Raspberry Pi hardware - GPIO and the 40-pin Header

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?