Pixy2 Quick Links
Basics
Connecting Pixy2 to…
Pixy2 Modes / Programs
Software and Support
Basics
Connecting Pixy2 to…
Pixy2 Modes / Programs
Software and Support
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. .
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:
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.
Use Arduino code that is known to work. The ccchelloworld example is a good, simple program for testing communications between Pixy and Arduino.
Previous versions have issues with SPI communication.
There are lots of Arduino variants out there. The Arduino Uno and its variants and the Due are known to work.