# Pixy Pet Robot - Color vision follower

## Overview and Materials

https://www.youtube.com/watch?v=ken1zjEb3OM

This project pairs the super-awsome Pixy CMUCam-5 vision system with the high performance&nbsp;Zumo robot platform, a pan/tilt mechanism and an Arduino Leonardo for a brain.

The Pixy camera has powerful image processing capabilities that can track objects by color. It can track dozens of objects simultaneously and report their locations to the Arduino in real-time. The built-in pan/tilt servo control is fast enough to track a bouncing ball.

The Zumo robot is a low-profile tracked robot platform designed for an Arduino controller. It uses two 75:1 precision micro metal gearmotors to drive extra grippy silicone rubber treads. Zumo has traction and torque to spare, with a top speed of approximately 2 feet per second (60 cm/s). This makes it a nimble little bot that can zip along at high speed and still turn on a dime.

Putting all this together with an Arduino Leonardo processor, you can build yourself a fun and responsive little bot that will chase objects or follow you around like a playful pet!

The Pixy Pet Robot is simple to build with no soldering required. With just a few common tools, you can complete the assembly in under an hour!

Warning: 

![](https://cdn-learn.adafruit.com/assets/assets/000/019/097/medium800/sensors_IMG_5133.jpg?1408911419)

# Materials:

- [Pixy CMUcam-5](https://www.adafruit.com/product/1906)
- [Mini Pan/Tilt Kit - Assembled with Micro Servos](https://www.adafruit.com/products/1967)\*
- [Zumo Robot](https://www.adafruit.com/product/1639 "Link: https://www.adafruit.com/product/1639")
- [Arduino Leonardo](https://www.adafruit.com/products/849 "Link: https://www.adafruit.com/products/849")\*\*&nbsp;or [Leonardo Compatible Processor](https://www.adafruit.com/products/3228)
- Double-sided foam tape
- Cable Ties
- 4x AA batteries

&nbsp;\* If you have some micro-servos already, we also have an [unassembled pan/tilt kit](https://www.adafruit.com/products/1968)&nbsp;in the store. &nbsp;Some modifications may be required to fit your servo horns to the pan/tilt kit.&nbsp;

\*\* The official Arduino Leonardo has been discontinued, but the [Seeeduino Lite](https://www.adafruit.com/products/3228) will work with some minor modifications.

# Tools:

- Wire Cutters
- Scissors
- USB A to Mini-B cable (for teaching the camera)
- USB A to Micro-B cable (for uploading to the Leonardo)

Danger: 

![](https://cdn-learn.adafruit.com/assets/assets/000/019/009/medium800/robotics_IMG_5119_E.jpg?1408819765)

- [Next Page](https://learn.adafruit.com/pixy-pet-robot-color-vision-follower-using-pixycam/assemble-the-camera.md)

## Related Guides

- [Weather Wise Wifi Umbrella Stand](https://learn.adafruit.com/weather-wise-wifi-umbrella-stand.md)
- [Make It Glow - Your First NeoPixel Project](https://learn.adafruit.com/make-it-glow-your-first-neopixel-project.md)
- [Reindeer Mask with Animated Eyes](https://learn.adafruit.com/reindeer-mask-with-animated-eyes.md)
- [PyPortal Quarantine Clock](https://learn.adafruit.com/pyportal-quarantine-clock.md)
- [Using Raspberry Pi Pico and Pico 2 with Arduino](https://learn.adafruit.com/using-raspberry-pi-pico-pico-2-with-arduino.md)
- [Make It a Mouse](https://learn.adafruit.com/make-it-a-mouse.md)
- [PyLeap CLUE Barometer](https://learn.adafruit.com/pyleap-clue-barometer.md)
- [Chinese Dragon Puppet with Motion-Reactive Flame Effect](https://learn.adafruit.com/chinese-dragon-puppet-with-motion-reactive-flame-effect.md)
- [Daily UV Index PyPortal Display](https://learn.adafruit.com/pyportal-uv-index.md)
- [Making a PyPortal User Interface with DisplayIO](https://learn.adafruit.com/making-a-pyportal-user-interface-displayio.md)
- [ePaper Calendar Featuring Metro M4 Express Airlift and Tri-Color ePaper Shield](https://learn.adafruit.com/epaper-calendar-featuring-metro-m4-express-airlift-and-epaper-shield.md)
- [Micro:bit Radio Control of Crickit Robotics](https://learn.adafruit.com/micro-bit-radio-control-of-crickit-robotics.md)
- [How to Make Games in MakeCode Arcade](https://learn.adafruit.com/how-to-make-games-on-makecode-arcade.md)
- [Playing Gamebuino META Games on Arcada](https://learn.adafruit.com/playing-gamebuino-meta-games-on-arcada.md)
- [How to use the Puppet Module in the Bluefruit Playground App](https://learn.adafruit.com/how-to-use-the-puppet-module-in-the-bluefruit-playground-app.md)
