This guide will give you a brief overview of the Pixy CMUcam5 and how to use with with InterbotiX/RobotGeek robots.
This guide is under construction. Check back for even more information!
Before you start hooking the Pixy up to your robot, we highly reccomend that you look at the Official Pixy Quick Start Guide. You can attach the ArbotiX-M or the Geekduino directly to the Pixy using the 10-pin to 6-pin ISP connector. Just plug the cable right into the ISP port on the ArbotiX/Geekduino. You can learn even more about the Pixy here.
Once you are comfortable with the Pixy, we reccomend that you use the newest verion of the Pixy Firmware and PixyMon (1.0.2 beta as of this writing). This firmware supports color codes that will be used by our examples.
This link will have instructions on downloading and installing PixyMon and the new firmware for your Pixy. It will also have a link for the nessasary Arduino Libraries for the Pixy (copy the 'Pixy' folder into the 'libraries' folder in your 'Arduino' folder, usually found in your documents folder.
Connecting the Pixy
The best way to connect the Pixy to the ArbotiX-M is to use the defualt 10-pin to 6-pin cable. This cable will plug in from the Pixy to the ISP port on the ArbotiX-M. You can use jumper wires to make the connection longer if you need to.
The defualt 10-pin to 6-pin cable will plug directly into the Geekduino, but it will not plug directly into the Sensor Sheild. You will need to use the Breakout Cable to connect the Pixy to the Sensor Shield.
The 10-pin breakout cable individually breaks out the Pixy's various pins. Access to these pins is very useful for access to alternate control methods (Like I2C) or for connecting to boards without a standard ISP port (like the RobotGeek Sensor Shield).
When using the breakout cable take special care when plugging the Pixy in. Reversing the 5v/Ground pins will damage your Pixy
All configurations will need the Pixy attached to 5v power and ground. We reccoemend that the Pixy be attached to the Black ground pin, though there are also 2 other cable pins that can serve as ground.
|5V||5v (Side Rail)||Red (2)|
|GND||Gnd(Side Rail)||Black (10)|
This is the default interface used by the Pixy. This is equivalent to attaching the Pixy to the Geekduino/Arduino through the defualt 10-pin to 6-pin SPI connector. The Pixy uses pins 11, 12 and 13 on the Geekduino/Arduino.
The Pixy does not need access to the Reset Pin or the SS(Save Select) Pin / Pin 10
|SPI Port||Geekduino Port #||Cable Color (#)|
Other Control Methods
It is possible receive data from the Pixy
Pixy Mounting Plates
The Pixy Can be mounted in a variety of ways.