# Pan-tilt unit with Raspberry PI compute Module

**URL:** <https://forums.pimoroni.com/t/pan-tilt-unit-with-raspberry-pi-compute-module/7517>\
**Category:** Raspberry Pi\
**Created:** [April 10, 2018, 4:16am UTC](https://forums.pimoroni.com/t/pan-tilt-unit-with-raspberry-pi-compute-module/7517 "2018-04-10T04:16:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tk2018](https://avatars.discourse-cdn.com/v4/letter/t/aeb1de/32.png) [@tk2018](https://forums.pimoroni.com/u/tk2018)\
**Post date:** [April 10, 2018, 4:16am UTC](https://forums.pimoroni.com/t/pan-tilt-unit-with-raspberry-pi-compute-module/7517/1 "2018-04-10T04:16:05Z")

</div>

Hi there,

I want to use two cameras on Pan tilt unit with Raspberry pi compute module 3 (CM3). I struggle at the begging with cameras, however now I made two cameras work with compute module after following page

> **[Raspberry Pi — Teach, Learn, and Make with Raspberry Pi](https://www.raspberrypi.org/documentation/hardware/computemodule/cmio-camera.md)**
>
> The Raspberry Pi is a tiny and affordable computer that you can use to learn programming through fun, practical projects. Join the global Raspberry Pi community.

But I am still struggling how to use Pan tilt unit with CM3.  
Please help me if possible.

Thanks

---

<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:** [April 10, 2018, 9:41am UTC](https://forums.pimoroni.com/t/pan-tilt-unit-with-raspberry-pi-compute-module/7517/2 "2018-04-10T09:41:35Z")

</div>

I’d guess it’s possible, but what host board are you using for CM3? Does it have i2c breakout pins?

Good place to start: [https://pinout.xyz/pinout/pan\_tilt\_hat](https://pinout.xyz/pinout/pan_tilt_hat)

---

<div class="post-metadata">

**Author:** ![tk2018](https://avatars.discourse-cdn.com/v4/letter/t/aeb1de/32.png) [@tk2018](https://forums.pimoroni.com/u/tk2018)\
**Post date:** [April 11, 2018, 10:13pm UTC](https://forums.pimoroni.com/t/pan-tilt-unit-with-raspberry-pi-compute-module/7517/3 "2018-04-11T22:13:20Z")

</div>

Thanks I am using I am using compute module IO board V3  
[https://www.raspberrypi.org/products/compute-module-io-board-v3/](https://www.raspberrypi.org/products/compute-module-io-board-v3/)

Same as this boar

> **[Raspberry Pi — Teach, Learn, and Make with Raspberry Pi](https://www.raspberrypi.org/documentation/hardware/computemodule/cmio-camera.md)**
>
> The Raspberry Pi is a tiny and affordable computer that you can use to learn programming through fun, practical projects. Join the global Raspberry Pi community.

I think I need to configure device tree (.dts) file. I tried but no luck

> **[Raspberry Pi — Teach, Learn, and Make with Raspberry Pi](https://www.raspberrypi.org/documentation/configuration/pin-configuration.md)**
>
> The Raspberry Pi is a tiny and affordable computer that you can use to learn programming through fun, practical projects. Join the global Raspberry Pi community.

---

<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:** [April 15, 2018, 6:11pm UTC](https://forums.pimoroni.com/t/pan-tilt-unit-with-raspberry-pi-compute-module/7517/4 "2018-04-15T18:11:40Z")

</div>

Looks like you should be able to wire PanTilt HAT into that board with jumper jerky and just run the regular library for it.

It only needs power, ground and an i2c bus so it shouldn’t be too tricky. I’d recommend sticking it on a mini Black H4t Hack3r and using female to female jumper jerky to make the conection.
