<< return to Pixycam.com

Source code and changing it - Pan/Tilt

Hello,
i recently bought pixy and i wanna make pan/tilt demo to work as forward/backward moving small platform (left and right motor servos)
i have found source code for this demo (here https://github.com/charmedlabs/pixy/blob/master/src/host/pantilt_in_c/pan_tilt.cpp) and have changed some lines but i don’t know how can i put it into my pixy cam
can you help me?

Hello Marcin,
There is also this thread:

http://cmucam.org/boards/8/topics/7689?r=7695#message-7695

Are you using Arduino with your Pixy? The source code you found is for libpixyusb (Linux).

Edward

Acually i don’t want to use microcontroller for this. Is there anyway to change pixy code and apply it?
My idea is to make it powered from powerbank or batteries with 2 small servo motors and only pixy on it.

Hello Marcin,
Here is some info on building your own firmware:

http://cmucam.org/projects/cmucam5/wiki/Building_Pixy_Firmware

Edward