<< return to Pixycam.com

change servo direction

I have a different pan/tilt mechanism but the pan direction are opposite, can anyone assist to change the pixy code so it works independently. Thanksyou

Hi Roshen,

What kind of assistance are you looking for? I can help guide you through the process, but you’ll have to actually implement this yourself (unless someone else codes it up for you). Let me know what you need. Good luck!

Scott

Hi Scott,

I am using a different pan/tilt mechanism (http://www.robotshop.com/en/lynxmotion-pan-and-tilt-kit-aluminium2.html) and the panning servo will move in the opposite direction as the pixycam’s panning servo is facing downwards. I have been looking through pixy-master folder from github and found a couple of places i could update the panning servo. I am unsure of how i could upload my new code onto the pixycam to make it move correctly for me. if you could guide me through that process it would be very helpful.

Thankyou,

Roshen

Hi Roshen,

Do you have a copy of the Keil IDE? You can make your changes in there, compile, and upload the resulting hex file to Pixy. Otherwise you can wait for the GCC compiler to be ready (around the end of January) and compile the changes that way. Let me know which you will be using and I can give more guidance.

Scott

Hi Scott,

I am using Keil IDE now, i am trying to build “video” but i have one error:

.\spifi\video.axf: error: L6050U: The code size of this image (68034 bytes) exceeds the maximum allowed for this version of the linker.

I am using the free version. Will i need to get the full verison to build the firmware?