Thread: Camera Pinouts?
View Single Post
  #1   Spotlight this post!  
Unread 08-04-2006, 21:23
kiettyyyy's Avatar
kiettyyyy kiettyyyy is offline
Registered User
FRC #1538 (The Holy Cows)
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2005
Location: San Diego, CA
Posts: 181
kiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond repute
Send a message via AIM to kiettyyyy
Camera Pinouts?

Hey all!

I just finally updated my code in order to use the camera (procrastination is bad). After reading through the code, it shows that Default_Routine(); is commented out.

Above it shows that the PWM1,2 are used for the camera PAN/TILT. I don't remember if the camera has the servos plugged into that board, or if it were plugged into the robot controller.

If it was plugged into the camera board, how would I make the camera work if I changed (tracking.h's)

// By default, PWM output one is used for the pan servo.
// Change it to another value if you'd like to use PWM
// output one for another purpose.
#define PAN_SERVO pwm01

// By default, PWM output two is used for the tilt servo.
// Change it to another value if you'd like to use PWM
// output two for another purpose.
#define TILT_SERVO pwm02

to become


// By default, PWM output one is used for the pan servo.
// Change it to another value if you'd like to use PWM
// output one for another purpose.
#define PAN_SERVO pwm09

// By default, PWM output two is used for the tilt servo.
// Change it to another value if you'd like to use PWM
// output two for another purpose.
#define TILT_SERVO pwm10


Isn't the Camera board controlling the servos? If the PWM09 and 10 are used, doesn't the cam board only use 1 and 2?

Kind of seems weird to me.. I haven't got my hands on the cam yet..

Thanks!!
__________________
-Kiet Chau

2004-2008 - Software Developer/Driver on Team #968
2008-2011 - Software Developer/Coach/Mentor/"Engineer" on Team #968
2011-Present - Mentor & Engineer on Team #1538
www.team1538.com