<< return to Pixycam.com

Detecting a color and controlling 2+ motors

I would like to drive a robot forward until it detects green. I would then like the robot to stop moving, power motors (not responsible for driving) for x time and then continue forward doing the same thing. I am using an Arduino Uno and a Pixy2. I am not sure how to integrate the Pixy2 signatures into Arduino in order to do this. Any suggestions?

Hi, have you seen our Arduino examples? https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:hooking_up_pixy_to_a_microcontroller_-28like_an_arduino-29

They should help get you set up with this.

Hope this helps!