<< return to Pixycam.com

User Tools

Site Tools


wiki:v2:my_arduino_isn-27t_receiving_data_from_pixy

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. .
ce5166e65a245cce097741efef288fe09b08da8a.jpg

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.
3504e33ebabfe17e9a77f3cc8aedcdbf511c6398.jpg

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.

3906926e918e39ebb99a516f782229ed46f95182.jpg
5c7d9dae86b5eda59aecd8a7888021fb125d3777.jpg

This topic does not exist yet

You've followed a link to a topic that doesn't exist yet. If permissions allow, you may create it by clicking on “Create this page”.

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