<< return to Pixycam.com

connecting two pixy to arduino

hello,

im a automation and robotic engineering student.

i want to connect two unit pixy to arduino uno using i2c connection.

  • is it possible to do that?
  • what are the meanings of “The I2C interface operates as an I2C slave and requires polling.” and “There are weak 4.7K pullups to 5V on SDA and SCL signals” ?
  • how to connect them?

thank you very much

Hello Jack,
This guide has lots of good information:

http://cmucam.org/projects/cmucam5/wiki/Porting_Guide

It should be possible to hook up more than 1 Pixy over I2C. It is more advanced because it requires custom cables and some custom configuration. We don’t have a guide that describes how to do this specifically.

  • what are the meanings of "The I2C interface operates as an I2C slave and requires polling.

The I2C interface has 1 master and N slaves. Your Arduino will act as the I2C master and the Pixys will act as slaves.

and “There are weak 4.7K pullups to 5V on SDA and SCL signals” ?

Pixy’s I2C interface has weak pullup resistors. There are lots of references on the internet about I2C, and why pullups are necessary.

Hope this helps!

Edward