Using Pixy or Pixy2 on ev3dev

29 Nov 2019

I have updated my tutorial about using the Pixy camera on ev3dev for the new Pixy2. Now you will find information and sample code (in Python) for both cameras.

On ev3dev there is a difference in using Pixy or Pixy2: ev3dev does contain a driver for Pixy, but not for Pixy2. But it’s easy to use Pixy2 by setting up direct I2C communication between the EV3 and Pixy2. Both methods are explained.

You can find my tutorial on GitHub, but you can also find a brief tutorial on the ev3dev website.