<< return to Pixycam.com

I2C on Arduino

Hey, everyone

I’m trying to connect the Pixy to an Arduino board for Intel Edison using I2C and it doesn’t work, neither on SDA/SCL nor on A4/A5. Is there anything else I should do besides connecting the 5V, GND, SCL and SDA pins from Pixy to the board and changing the output data to 1 on Pixy Mon? I also tried connecting it to the Arduino Mega 2560 and the same thing happens. It prints “Starting…” and nothing happens after that. It works perfectly well using SPI though. I’m using the “Hello World” test code.

Thank you

Hello Luiz,
It sounds like you have the right idea. Which version of the firmware are you using? Please use the latest version:

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

Also, I believe the output port number for I2C is 2 (not 1).

Edward.