We've got 1,000 discounts for you to enjoy in our special offers collection - grab yourself a dodeca–deal while they're still in stock ā¤ļø!

Pan-Tilt HAT – Full kit

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".


  • 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


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.


  • 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 camera,Ā NeoPixel strip,Ā male header,Ā female to female jumper wires,Ā Pi 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.