top of page

Expansion wire color code

  • Writer: Alex
    Alex
  • May 6, 2020
  • 1 min read

Community member Michael_The_Maker asked a question on the forum: Does anyone know what the color coding on the keypad expansion wires are?




Well, we believe that was a common question that some of makers would be facing.

Fortunately, we've got some awesome folks in the community.

p3dt has offered us an instruction of the GPIO

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 PBEINT0 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 red

5V0 13 brown

5V0 14 black


Thanks again, p3dt

16 Comments


It actually reminds me of trying to balance things in a tricky dirvie game, where every detail matters, huh?

Like

Regarding Unity Technologies customer service number I had the opportunity to utilize Unity Technologies for 3D game and app development, and I must commend their exceptional customer service. The platform is remarkably user-friendly, allowing for a seamless integration of various tools and assets. The responsiveness of the support team was impressive; they provided timely and insightful assistance that greatly enhanced my development experience. Overall, Unity's robust features combined with their dedicated customer support create an environment conducive to innovation and creativity in game development. I highly recommend Unity Technologies to both novice and experienced developers alike.

Like

thank you

baseball 9

Like

pygazeliz
Dec 17, 2025

Really enjoyed this post — the wire color chart is very clear and makes understanding GPIO connections much easier. I especially appreciated how you paired pin functions with the colors. I recently saw a similar discussion on a https://www.phonydiploma.com/ blog, and it offered some interesting insights into hardware wiring conventions as well. Thanks for sharing!

Like

sidyjyhej
Dec 09, 2025

Thanks for breaking this down so clearly! Understanding the different wire color codes is crucial for anyone working with hardware. I recently read a similar post on an https://thesagelawgroup.ca/ review blog, where they discussed the importance of correct wiring in tech projects.

Like
bottom of page