# Expansion wire color code

**URL:** https://forum.clockworkpi.com/t/expansion-wire-color-code/5615
**Category:** GameShell
**Tags:** tinkering, hardware
**Created:** [May 1, 2020, 8:07pm UTC](https://forum.clockworkpi.com/t/expansion-wire-color-code/5615 "2020-05-01T20:07:02Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Metonym](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/metonym/32/4898_2.png) [@Metonym](https://forum.clockworkpi.com/u/Metonym)
#### Post date: [May 1, 2020, 8:07pm UTC](https://forum.clockworkpi.com/t/expansion-wire-color-code/5615/1 "2020-05-01T20:07:02Z")

</div>

Does anyone know what the color coding on the keypad expansion wires are?

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/5/52e36c9f05e487a7b45e5f2a1c8e3fe5452158ce.jpeg)

---

<div class="post-metadata">

### Author: ![r043v](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/r043v/32/672_2.png) [@r043v](https://forum.clockworkpi.com/u/r043v)
#### Post date: [May 1, 2020, 8:47pm UTC](https://forum.clockworkpi.com/t/expansion-wire-color-code/5615/2 "2020-05-01T20:47:23Z")

</div>

> [@HowTo: GPIO access, I2C, Kernel Building](https://forum.clockworkpi.com/t/howto-gpio-access-i2c-kernel-building/5036/2):
>
> The GPIO Table is as follows: Type Pin # (ext.) Pin # (Package) Function 1 Function 2 Pin # (sysfs) Color 3V0 1 blue GPIO 2 PB0 UART0/2\_TX PB-EINT0 32 green GPIO 3 PB1 UART0/2\_RX PB-EINT1 33 yellow GND 4 white GPIO 5 PH5 I2C1-SDA 229 red GPIO 6 PH4 I2C1-SCL 228 brown GND 7 black GPIO 8 PH6 UART3-TX SPI0-CS 230 blue GPIO 9 PH7 UART3-RX SPI0-CLK 231 green GPIO 10 PH9 UART3-CTS SPI0-MISO 233 yellow GPIO 11 PH8 UART3-RTS SPI0-MOSI 232 white GND 12 …

[https://p3dt.net/post/2019/12/26/gameshell-gpios.html](https://p3dt.net/post/2019/12/26/gameshell-gpios.html)

---

<div class="post-metadata">

### Author: ![Metonym](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/metonym/32/4898_2.png) [@Metonym](https://forum.clockworkpi.com/u/Metonym)
#### Post date: [May 1, 2020, 9:12pm UTC](https://forum.clockworkpi.com/t/expansion-wire-color-code/5615/3 "2020-05-01T21:12:41Z")

</div>

Thank you! I am using this to set up an external keyboard

---

<div class="post-metadata">

### Author: ![r043v](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/r043v/32/672_2.png) [@r043v](https://forum.clockworkpi.com/u/r043v)
#### Post date: [May 1, 2020, 9:31pm UTC](https://forum.clockworkpi.com/t/expansion-wire-color-code/5615/4 "2020-05-01T21:31:25Z")

</div>

it’s a nice project 🙂

---

<div class="post-metadata">

### Author: ![Metonym](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/metonym/32/4898_2.png) [@Metonym](https://forum.clockworkpi.com/u/Metonym)
#### Post date: [May 1, 2020, 9:44pm UTC](https://forum.clockworkpi.com/t/expansion-wire-color-code/5615/5 "2020-05-01T21:44:08Z")

</div>

Just put tags on all of the cables

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/3/3cfe0fcae169ad0c0717f869e5f6faef54acd87b.jpeg)

---

<div class="post-metadata">

### Author: ![Metonym](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/metonym/32/4898_2.png) [@Metonym](https://forum.clockworkpi.com/u/Metonym)
#### Post date: [May 1, 2020, 9:45pm UTC](https://forum.clockworkpi.com/t/expansion-wire-color-code/5615/6 "2020-05-01T21:45:01Z")

</div>

Now to wait for the keyboard module to get here

---

<div class="post-metadata">

### Author: ![r043v](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/r043v/32/672_2.png) [@r043v](https://forum.clockworkpi.com/u/r043v)
#### Post date: [May 1, 2020, 10:45pm UTC](https://forum.clockworkpi.com/t/expansion-wire-color-code/5615/7 "2020-05-01T22:45:06Z")

</div>

well done \<3

will be a bit hard to play now 😛  
not having a connector to externalize gpio is a real miss

---

<div class="post-metadata">

### Author: ![Metonym](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/metonym/32/4898_2.png) [@Metonym](https://forum.clockworkpi.com/u/Metonym)
#### Post date: [May 2, 2020, 1:59am UTC](https://forum.clockworkpi.com/t/expansion-wire-color-code/5615/8 "2020-05-02T01:59:10Z")

</div>

here is the set of buttons, joystick, and keyboard i bought: [https://m5stack.com/collections/all/products/hmi-unit-kit](https://m5stack.com/collections/all/products/hmi-unit-kit)

---

<div class="post-metadata">

### Author: ![r043v](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/r043v/32/672_2.png) [@r043v](https://forum.clockworkpi.com/u/r043v)
#### Post date: [May 3, 2020, 5:47am UTC](https://forum.clockworkpi.com/t/expansion-wire-color-code/5615/9 "2020-05-03T05:47:17Z")

</div>

for the price it seem pretty cute 🙂

---

<div class="post-metadata">

### Author: ![Metonym](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/metonym/32/4898_2.png) [@Metonym](https://forum.clockworkpi.com/u/Metonym)
#### Post date: [August 22, 2020, 11:51pm UTC](https://forum.clockworkpi.com/t/expansion-wire-color-code/5615/10 "2020-08-22T23:51:07Z")

</div>

the Keyboard and stuff finally arrived
