Pan-Tilt HAT

by Pimoroni

Ideal for a mini CCTV system, this set of horizontal and vertical motion servos will give you Pi camera movement with a minimum of fuss.

Pan-Tilt HAT lets you mount and control one of our pan-tilt modules right on top of your Raspberry Pi. The HAT and its on-board microcontroller let you independently drive the two servos (pan and tilt), as well as driving up to 24 regular LED (with PWM control) or NeoPixel RGB (or RGBW) LEDs. There's also a handy slot through which you can route the servo, LED, and camera cables. The module pans and tilts through 180 degrees in each axis.

Use Pan-Tilt HAT with a Pi camera (v1 or v2) for face-tracking. Or mount it on top of your roving robot as a set of eyes. Why not stick a foam sword on top and make it swashbuckle?!

There's absolutely no soldering required (unless you decide to use the optional NeoPixel strip or ring), as the servos on the pan-tilt module have female jumper wires attached and we've soldered a strip of right-angled header pins to the underside of the HAT to connect them up.

We've also included a handy little acrylic camera mount to hold your camera snugly in the head of the pan-tilt module. The mount has a couple of mounting holes at the top to hold a NeoPixel stick and there's a neat little frosted diffuser to make the light super-dreamy. :-) We suggest one of the Adafruit RGBW NeoPixel sticks, as they give a lovely pure white (or any other colour!)

Note that the Pi camera, NeoPixel strip, male header, female to female jumper wires, Pi 3 and Pibow are not included. You'll need to pick them up separately!

Please note that the acrylic camera mount parts in this kit are not compatible with Raspberry Pi Camera Module 3.

The MagPi said, in their four star review, that Pan-Tilt HAT was a "highly enjoyable and extremely cute accessory".

Features

  • Pan-tilt module (180 degrees motion through each axis) with two servos
  • HAT with two servo channels, one PWM or NeoPixel RGB (or RGBW) LED channel
  • Right-angled header pre-soldered to underside of HAT for servo and LED channels
  • Slot to route servo, LED, and camera cables through
  • Acrylic mount to hold Pi v1 or v2 camera and NeoPixel strip (with diffuser) in place
  • Pan-Tilt HAT pinout
  • Compatible with all 40-pin header Raspberry Pi models
  • Python library
  • Comes fully assembled
  • Schematic
  • Dimensional drawing

Software

We've put together a super-simple Python library to make it super-easy to control Pan-Tilt HAT. Just tell Pan-Tilt HAT to which angle you'd like it to pan or tilt (from -90 to +90 degrees) and away it goes! There's even a couple of examples showing you how to pan and tilt, and control connected NeoPixels.

Notes

  • Dimensions: The pan-tilt module measures approx 50 x 37 x 61 mm (L x W x H). The HAT and connecting pieces add a further 13.2mm to the height.
    The servos draw a lot of current, thus we recommend a good quality 2.5A power supply like the official Raspberry Pi power supply.
  • Pi cameraNeoPixel stripmale headerfemale to female jumper wiresPi 3 and Pibow are not included.
  • Connect the brown wires of the servo cables to the GND pins on the servo channels.
  • Servo channel 1 controls pan and servo channel 2 controls tilt, although you can easily swap these in software.
  • You may require a set of standoffs to use Pan-Tilt HAT with the Raspberry Pi 3B+ and later, because of the POE header.

49 customer reviews

24 days ago
brought this expensive hat looking for an easy option. But the software is out of date and will not run on latest version of OS for Pi 4 or Pi 5. Went around in loops before finally reverting to an earlier / older OS version which would install but still wouldnt function. Easier to write own code than try and figure out issues with this...
by Anonymous about Pan-Tilt HAT via REVIEWS.io
9 months ago
minuses: -the hole for the cable to the camera is not in the center - this causes additional deformation, especially when rotating; - very short assembly instructions, little documentation at all. - the design makes it difficult to install over an additional hat on your Pi. however if you managed to put, standard cable for camera becomes not long enough - there is a separate connector for connecting light, but there is no connector to additionally connect, for example, a laser and control power for it programmatically. - the repository with the code for the hat is abandoned - it was last updated 5 years ago, there are several unanswered issues. pluses: - it works out of the box - good quality - you can control motors very smoothly
by Anonymous about Pan-Tilt HAT via REVIEWS.io
2 years ago
Still trying to figure out a good project for it but, it's definitely fun to play around with!
by Anonymous about Pan-Tilt HAT via REVIEWS.io
2 years ago
Works ok, but software documentation is poor, basically you have to refer to source code to work out how APIs work.
by Simon about Pan-Tilt HAT via REVIEWS.io
2 years ago
Unfortunately, it fried my Raspberry pi 4 model B. This wouldn't be that big of an issue but I cannot buy another raspberry pi 4 due to worldwide shortages.
by Armand about Pan-Tilt HAT via REVIEWS.io
3 years ago
It works very well and it's easy to run. Very recommendable.
by David about Pan-Tilt HAT via REVIEWS.io
3 years ago
So snappy and just works so quickly. Nicely put together, well thought out design and works well with the LED sticks.
by Jonothan about Pan-Tilt HAT via REVIEWS.io
3 years ago
I already had a tilt-pan module so these were exactly what I was looking for. They work perfectly for me. Shipped within a day or so and used my favourite way of shipping. Royal Post followed by Canada Post. No bogus brokerage charges.
by Jeff about Pan-Tilt HAT via REVIEWS.io

1 user photo