<< return to Pixycam.com

Pixy compatibility with arduino due

Ok, so, i have been working around the pixy and Due and it seems my success with reading data from pixy with i2c is rather random. When i am successful in reading data and push reset on the arduino, i only get the starting Text in serial. Also happens when i restart the arduino even with pixy running.Am i missing something please?

Hey guys, we just posted new Arduino code that works with Due – download it here:

http://cmucam.org/attachments/download/1054/arduino_pixy-0.1.3.zip

We recommend that you use the included Arduino cable and SPI communication mode.

thanks!

Hi Rich, many thanks. I just tried using the new libraries, the SPI version returns this error:

Arduino: 1.5.6-r2 (Mac OS X), Board: “Arduino Due (Programming Port)”

hello_world.ino: In function ‘void setup()’:
hello_world:32: error: ‘class Pixy’ has no member named ‘init’

Michael,

Try re-importing the Arduino Pixy library.

MAC OS X Procedure:

  1. Delete your currently installed Arduino Pixy library:

Remove the folder Pixy in the following folder:
/Users/<YOUR_USERNAME>/Documents/Arduino/libraries

  1. Import the Arduino Pixy library.

John

Hi guys, has any one had any success with the new Due library for Pixy. I am unable to get any data stream in SPI mode. I have checked and the Arduino cable is fully functional. Al i get using the hello world example, is the starting text in serial.

Hi Michael,
We’ve had good success from many customers. You should go through the debug steps here:

http://cmucam.org/projects/cmucam5/wiki/My_Arduino_isn’t_receiving_data_from_Pixy

It may not be Due related. But make sure you’re using Arduino code version 0.1.3 (which is the latest).

thanks!

Thanks Rich. I checked with another board and it seems the problem is from the SPI port on my first board. It is not functioning for some reason.

Thanks again.