# How to manually wire Pan-Tilt HAT to Raspi 4

**URL:** <https://forums.pimoroni.com/t/how-to-manually-wire-pan-tilt-hat-to-raspi-4/15434>\
**Category:** Support\
**Created:** [November 28, 2020, 6:35pm UTC](https://forums.pimoroni.com/t/how-to-manually-wire-pan-tilt-hat-to-raspi-4/15434 "2020-11-28T18:35:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dliebich](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@dliebich](https://forums.pimoroni.com/u/dliebich)\
**Post date:** [November 28, 2020, 6:35pm UTC](https://forums.pimoroni.com/t/how-to-manually-wire-pan-tilt-hat-to-raspi-4/15434/1 "2020-11-28T18:35:34Z")

</div>

Hi there!

I want to manually wire the Pan-Tilt HAT to my RASPI (it’s part of a bigger setup, so just pluging it in does not work).

Can someone please share some info on which ports to connect.

Thanks!

---

<div class="post-metadata">

**Author:** ![Caperjack1953](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/caperjack1953/32/7923_2.png) [@Caperjack1953](https://forums.pimoroni.com/u/Caperjack1953)\
**Post date:** [November 28, 2020, 7:08pm UTC](https://forums.pimoroni.com/t/how-to-manually-wire-pan-tilt-hat-to-raspi-4/15434/2 "2020-11-28T19:08:16Z")

</div>

hello, scroll down the page to find the pan-tilt

> **[Raspberry Pi GPIO Pinout](https://pinout.xyz/boards)**
>
> The comprehensive add-on boards & GPIO Pinout guide for the Raspberry Pi

---

<div class="post-metadata">

**Author:** ![Caperjack1953](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/caperjack1953/32/7923_2.png) [@Caperjack1953](https://forums.pimoroni.com/u/Caperjack1953)\
**Post date:** [November 28, 2020, 7:12pm UTC](https://forums.pimoroni.com/t/how-to-manually-wire-pan-tilt-hat-to-raspi-4/15434/3 "2020-11-28T19:12:54Z")

</div>

it took me so long to find it, I thought i would save you the time looking ,lol

> **[Pan Tilt HAT at Raspberry Pi GPIO Pinout](https://pinout.xyz/pinout/pan_tilt_hat)**
>
> A camera pan/tilt and lighting driver

---

<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:** [November 28, 2020, 7:26pm UTC](https://forums.pimoroni.com/t/how-to-manually-wire-pan-tilt-hat-to-raspi-4/15434/4 "2020-11-28T19:26:02Z")

</div>

When you get here, [Raspberry Pi GPIO Pinout](https://pinout.xyz/boards) go to manufacturer and select Pimoroni and it will reduce the clutter. ;)

@dliebich Don’t forget to wire up all the grounds marked with the black horseshoe blob.  
They are all wired together on the Pi, but that’s not how it ends up on a Hat or pHat. They get connected together when the Hat is “plugged into” the Pi.

---

<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:** [November 28, 2020, 7:29pm UTC](https://forums.pimoroni.com/t/how-to-manually-wire-pan-tilt-hat-to-raspi-4/15434/5 "2020-11-28T19:29:22Z")

</div>

If you need access to other GPIO pins there are proto hats like this,  
[Adafruit Perma-Proto HAT for Pi Mini Kit – Pimoroni](https://shop.pimoroni.com/products/adafruit-perma-proto-hat-for-pi-mini-kit?variant=1038451613)  
or this  
[ProtoZero – Pimoroni](https://shop.pimoroni.com/products/protozero)  
that you can stack between the Pi and Pan Tilt Hat. You just use a stacking header. I’ve done it many times.

---

<div class="post-metadata">

**Author:** ![dliebich](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@dliebich](https://forums.pimoroni.com/u/dliebich)\
**Post date:** [November 28, 2020, 11:12pm UTC](https://forums.pimoroni.com/t/how-to-manually-wire-pan-tilt-hat-to-raspi-4/15434/6 "2020-11-28T23:12:56Z")

</div>

Thanks to all of you. So, just to be clear, I need you wire all ports? Or just those chilled in yellow?

I’m still a bit confused.

---

<div class="post-metadata">

**Author:** ![lexfiend](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/lexfiend/32/7136_2.png) [@lexfiend](https://forums.pimoroni.com/u/lexfiend)\
**Post date:** [November 29, 2020, 4:55am UTC](https://forums.pimoroni.com/t/how-to-manually-wire-pan-tilt-hat-to-raspi-4/15434/7 "2020-11-29T04:55:51Z")

</div>

Wire everything that’s called out in the pin diagram, so for the Pan-Tilt Hat:

 ![pinout](https://us1.discourse-cdn.com/flex016/uploads/pimoroni/original/2X/3/3abe157db29e7b4a7fb73ea4a3405e5180b872ea.png)  
that’s pins 2, 3, 5, 6, 9, 14, 20, 25, 30, 34, 36 and 39.

---

<div class="post-metadata">

**Author:** ![dliebich](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@dliebich](https://forums.pimoroni.com/u/dliebich)\
**Post date:** [November 29, 2020, 11:49am UTC](https://forums.pimoroni.com/t/how-to-manually-wire-pan-tilt-hat-to-raspi-4/15434/8 "2020-11-29T11:49:46Z")

</div>

That’s what I needed! Thanks so much.
