<< return to Pixycam.com

Arduino PanTilt - which PWM Pins

I have the Arduino PanTilt sketch running and it is emitting information to the serial monitor as it should.

What I can not find is which PWM Pins to connect to my servos. I figured that they would be #defined in pantilt or even one of the header files but no luck.

Feeling silly…

  • Jim

Hi Jim,

The Arduino pan/tilt demo actually sends servo commands back to Pixy over SPI, so all you need to do is connect your pan/tilt module to Pixy’s servo connectors (see “these”:http://cmucam.org/projects/cmucam5/wiki/Assembling_pantilt_Mechanism instructions for help).

Thanks!

Scott