<< return to Pixycam.com

User Tools

Site Tools


My Arduino isn't receiving data from Pixy

0. Teach Pixy2 an object.

If you haven't already, go ahead and teach Pixy2 an object! Otherwise the Arduino will give an error like this: “Starting…error: no response”

1. Check the Arduino cable.

Make sure the Arduino cable is plugged into the ICSP connector on your Arduino correctly. It's possible to plug in the cable backwards and/or shifted over forward/backward or left/right. Make sure the cable is plugged in as shown in the picture below. .

2. If you have a pan/tilt mechanism, unplug the servos, just in case.

The servos don't affect Arduino communications, but a defective servo might. Unplug the servos from your Pixy just to make sure they are not causing problems.

The recommend setup is:

  • Pixy plugged into USB
  • Arduino plugged into USB
  • Both USB cables plugged into your computer
  • Arduino and Pixy connected by the supplied Arduino cable

With this configuration both your Pixy and Arduino are being powered over USB and no other power sources are being used. There are lots of ways to power Arduino and Pixy, but use this setup until your Arduino and Pixy are communicating nicely together.

4. Run the "ccc_hello_world" example on your Arduino.

Use Arduino code that is known to work. The ccc_hello_world example is a good, simple program for testing communications between Pixy and Arduino.

5. Make sure you're running the Arduino IDE version 1.0.5 or later.

Previous versions have issues with SPI communication.

6. Make sure the "Data out port" in the Config Parameters dialog under "Interface" is set to "Arduino ICSP SPI".

See the picture below.

7. Inspect the Arduino cable.

We test all Arduino cables, but it may be worthwhile to inspect it and make sure the it's correct or not damaged. Compare your cable to the pictures below.


wiki/v2/my_arduino_isn-27t_receiving_data_from_pixy.txt · Last modified: 2018/12/12 22:39 by jfrench