<< return to Pixycam.com

My Pixy doesn't work with Arduino example

My Pixy is working with PixyMon, showing a live video and detecting object now.

But it doesn’t work with Arduino example at all.
Serial monitor showed “Starting…” and noting happening.
I tried “Hello_world” and “i2C” examples, it didn’t work.

I followed all instructions in the Wiki page.

What problem do you think with my pixy now?

Please comment about this.

Hi Peter,

Are you connecting Pixy to Arduino using the included Arduino cable? What do you have “Data out port” set to in Pixymon?

Scott

Yes, I used Arduino cable.
Data out port set is ‘0’ in Pixymon.

I tested i2C example with ‘data out port’ set ‘1’, and ‘Hello_world’ with set ‘0’.
It is based on wiki page information.
It didn’t work both cases.

Which arduino do you have? I know these questions aren’t very helpful to you (yet), but I’m just trying to eliminate possible problems.

Scott

I’m having same results…

Using Pixy + Arduino UNO (Compiling & uploading with Arduino 1.0, Ubuntu 12.10)

No block info received or shown while Pixy is detecting them for sure.

Please advice.

I think your pixy isn’t in “Run default program”. Look at the attached printscreen.

Greetings,
Bart

I think your pixy isn’t in “Run default program”. Look at the attached printscreen.

Greetings,
Bart

Thakns for your repply.

Pixy is in “Run default program” mode and led blinks when an object is detected. I tried everything, i think (powering from arduino, from USB, from power source…)

All seems OK using PixMon, colors (signatures) are detected as expected… i’m using Pixmon (0.1.4.8) under linux… not sure if firmwware included is OK or latest

I hope this will be fixed… for sure Pixy is amazing… but anxious awaiting a more powerful API (and color codes) for Arduino or/and other microcontrollers (as i know you’ll do) because this sensor is really needed and interesting for robotics & automation!

Hmmm. The only other thing I can think of is the cable. We test these, but can you “ring it out” with an ohm-meter? Also, scrutinize the cable, make sure pin 1 goes to pin 1. It should look like the pictures below, note the polarization tabs at the top of the connector and the red wire on the right.

!http://i74.photobucket.com/albums/i241/cmucam/d5b7d752-0999-4525-9459-4b48ee4de9fd_zpse174d668.jpg?t=1398889721!

!http://i74.photobucket.com/albums/i241/cmucam/e2b72f3e-9c8c-4a20-ba54-c8972d128a30_zpsc2611a11.jpg?t=1398889688!

My Pixy still doesn’t work with Arduino UNO.

With PixMon does work well, detecting object and show video images, everything.

No response with Arduino code.

My Pixy has problem, or not?

Please advice.

Tried also on XP, uploaded last firmware (44) but it si still not working. Cables checked also

Hello all,

That’s related to SPI bug on Arduino 1.0.1 and previous versions, it works out of the box on Arduino 1.0.5

So, simply upgrade Arduino IDE to 1.0.5 and it will work.

Thanks for all comments & suggestions and sorry because i did not checked that before to post

Hi Josep— nice find!!!

Thank you for many suggestion and comments.

But my Pixy has a different story.

I am already using Arduino IDE 1.0.5.

Please check the attached image.

You can see my Pixy with Arduino and PixyMon program working and setting.

Please advice if I have something missed or wrong.

Same thing is happenind to me!

I’m on Mavericks if this is any help…

With the pixymon everything works, when I use the Arduino example, just got a printed “Starting…”, nothing else.

Hi Ivan,
Please go through these steps in this page:
http://cmucam.org/projects/cmucam5/wiki/My_Arduino_isn’t_receiving_data_from_Pixy

thanks!

Same thing is happenind to me!

I already follow the steps in the page: http://cmucam.org/projects/cmucam5/wiki/My_Arduino_isn’t_receiving_data_from_Pixy

But just got a printed “Starting…”, nothing else.

Please advice.

Anyone solve this ? It happens to me too, after one year time !!

Hello Simple Pig,
Please see my other message:

http://cmucam.org/boards/9/topics/7307

Edward