# Pan-Tilt Hat

**URL:** <https://forums.pimoroni.com/t/pan-tilt-hat/3516>\
**Category:** Support\
**Created:** [December 7, 2016, 8:56am UTC](https://forums.pimoroni.com/t/pan-tilt-hat/3516 "2016-12-07T08:56:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ken](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@Ken](https://forums.pimoroni.com/u/Ken)\
**Post date:** [December 7, 2016, 8:56am UTC](https://forums.pimoroni.com/t/pan-tilt-hat/3516/1 "2016-12-07T08:56:08Z")

</div>

I’m having an issue with the Pan-Tilt Hat I ordered at the end of last month (only just had time to play with it). The pan servo works fine, however the tilt servo goes from on end to the other without stopping. Any idea what the problem is?  
By the way, you could do with some more simple examples just for the servos.

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [December 7, 2016, 9:52am UTC](https://forums.pimoroni.com/t/pan-tilt-hat/3516/2 "2016-12-07T09:52:25Z")

</div>

Do you mean tilt wont hit any angle other than -90 or +90? What happens if you try to set it to 0, or 45 or -45?

---

<div class="post-metadata">

**Author:** ![Ken](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@Ken](https://forums.pimoroni.com/u/Ken)\
**Post date:** [December 7, 2016, 10:07am UTC](https://forums.pimoroni.com/t/pan-tilt-hat/3516/3 "2016-12-07T10:07:56Z")

</div>

Yes, it either goes all the at to -90 or 90, doesn’t matter what value I use.

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [December 7, 2016, 3:54pm UTC](https://forums.pimoroni.com/t/pan-tilt-hat/3516/4 "2016-12-07T15:54:43Z")

</div>

What happens if you swap the pan and tilt servo connections? Do you get the same behavior from pan?

---

<div class="post-metadata">

**Author:** ![Ken](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@Ken](https://forums.pimoroni.com/u/Ken)\
**Post date:** [December 7, 2016, 9:08pm UTC](https://forums.pimoroni.com/t/pan-tilt-hat/3516/5 "2016-12-07T21:08:41Z")

</div>

Yes, the pan goes smoothly when I swap the servos over, while the tilt servo slams from one side to the other at about +/- 14 degrees. I also noticed that the pan servo doesn’t cover the full range of movement available when moving it manually without power on.

---

<div class="post-metadata">

**Author:** ![Ken](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@Ken](https://forums.pimoroni.com/u/Ken)\
**Post date:** [December 7, 2016, 9:52pm UTC](https://forums.pimoroni.com/t/pan-tilt-hat/3516/6 "2016-12-07T21:52:36Z")

</div>

Well I’ve sorted out the issue with the pan mechanism by adding the calibration lines and adjusting the max and min values for servo 1. However the tilt servo is still slamming, I also noticed that the travel gets quite stiff near the zero position when moved unpowered, this happens in either direction.  
Just tried a spare servo I have, it works as expected, moving smoothly from -90 to 90, looks like the tilt servo is faulty.

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [December 8, 2016, 9:29am UTC](https://forums.pimoroni.com/t/pan-tilt-hat/3516/7 "2016-12-08T09:29:59Z")

</div>

I’d guessed it might be! Ping us your order details at [support@pimoroni.com](mailto:support@pimoroni.com), referencing this thread, and we’ll arrange a replacement.

---

<div class="post-metadata">

**Author:** ![Ken](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@Ken](https://forums.pimoroni.com/u/Ken)\
**Post date:** [December 9, 2016, 11:27am UTC](https://forums.pimoroni.com/t/pan-tilt-hat/3516/8 "2016-12-09T11:27:57Z")

</div>

Forgot to say thanks! I sent an email but forgot to mention this thread.
