# Pim447 Trackball Help Needed

**URL:** <https://forums.pimoroni.com/t/pim447-trackball-help-needed/18767>\
**Category:** Support\
**Created:** [January 30, 2022, 3:19am UTC](https://forums.pimoroni.com/t/pim447-trackball-help-needed/18767 "2022-01-30T03:19:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MicroCade](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@MicroCade](https://forums.pimoroni.com/u/MicroCade)\
**Post date:** [January 30, 2022, 3:19am UTC](https://forums.pimoroni.com/t/pim447-trackball-help-needed/18767/1 "2022-01-30T03:19:46Z")

</div>

Hello all, I want to build a miniature Raspberry Pi-4 (I’m totally new to RaspberryPi) based Centipede game using the roms from my old Centipede cabinet so I will be using RetroPie emulation. I just ordered a Pim447 Trackball and I was wondering if I can get help / instructions on how to wire the breakout board to the RaspberryPi board as well as how to program it.  
Thanks in advance. 👍  
Shawn

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [January 30, 2022, 9:56am UTC](https://forums.pimoroni.com/t/pim447-trackball-help-needed/18767/2 "2022-01-30T09:56:29Z")

</div>

There are several options for connecting it. One way to do it is to solder on the right angle female header that comes with it and plug it straight onto the bottom left 5 pins on your Raspberry Pi’s GPIO header (pins 1, 3, 5, 7, 9).  
[Raspberry Pi GPIO Pinout](https://pinout.xyz/#)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/pimoroni/original/2X/5/5a8c033afdb482dc0ca50ced1e530e387d536c84.png)

Install instructions are here,  
[pimoroni/trackball-python: Python library for the Pimoroni Track Ball Breakout (github.com)](https://github.com/pimoroni/trackball-python)

---

<div class="post-metadata">

**Author:** ![MicroCade](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@MicroCade](https://forums.pimoroni.com/u/MicroCade)\
**Post date:** [January 30, 2022, 3:49pm UTC](https://forums.pimoroni.com/t/pim447-trackball-help-needed/18767/3 "2022-01-30T15:49:27Z")

</div>

Thank you for the diagram and the link. 👍  
Is that gpio pinout the same for pi-4?

Thanks again,  
Shawn

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [January 30, 2022, 4:04pm UTC](https://forums.pimoroni.com/t/pim447-trackball-help-needed/18767/4 "2022-01-30T16:04:35Z")

</div>

All Pi’s with the 40 pin GPIO header have that same pinout.

---

<div class="post-metadata">

**Author:** ![MicroCade](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@MicroCade](https://forums.pimoroni.com/u/MicroCade)\
**Post date:** [January 30, 2022, 5:13pm UTC](https://forums.pimoroni.com/t/pim447-trackball-help-needed/18767/5 "2022-01-30T17:13:36Z")

</div>

Awesome. Thank you.  
I also have the Dragon’s Lair DVD box set so I think I’m going to make some iso images, add Daphne to RetroPie and either build a mini D.L. cab with a 2nd Pi board and display or use one mini cab with a swappable control panel. So now it’s off to Lightburn to come with cabinet ideas to send to my laser cutter.

Thank you again,  
Shawn
