This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:v2:my_arduino_isn-27t_receiving_data_from_pixy [2018/05/20 14:27] pixycam [5. Run the ccc_hello_world example on your Arduino.] |
wiki:v2:my_arduino_isn-27t_receiving_data_from_pixy [2018/12/12 22:39] jfrench |
||
---|---|---|---|
Line 4: | Line 4: | ||
====== My Arduino isn't 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 [[wiki:v2:teach_pixy_an_object_2|teach Pixy2 an object]]! Otherwise the Arduino will give an error like this: "Starting...error: no response" | ||
Line 29: | Line 33: | ||
- | ===== 5. Run the "ccc_hello_world" example on your Arduino. ===== | + | ===== 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. | 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. | ||
- | ===== 6. Make sure you're running the Arduino IDE version 1.0.5 or later. ===== | + | ===== 5. Make sure you're running the Arduino IDE version 1.0.5 or later. ===== |
Previous versions have issues with SPI communication. | Previous versions have issues with SPI communication. | ||
- | ===== 7. Make sure the "Data out port" in the Config Parameters dialog under "Interface" is set to "Arduino ICSP SPI". ===== | + | ===== 6. Make sure the "Data out port" in the Config Parameters dialog under "Interface" is set to "Arduino ICSP SPI". ===== |
See the picture below.\\ | See the picture below.\\ | ||
Line 45: | Line 49: | ||
- | ===== 8. What Arduino flavor are you using? ===== | + | ===== 7. Inspect the Arduino cable. ===== |
- | + | ||
- | There are lots of Arduino variants out there. The Arduino Uno and its variants and the Due are known to work. | + | |
- | + | ||
- | + | ||
- | ===== 9. 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. | 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. |