Thread: CMU Camera
View Single Post
  #2   Spotlight this post!  
Unread 27-02-2008, 22:11
Chris_Elston's Avatar
Chris_Elston Chris_Elston is offline
Controls Engineer
AKA: chakorules
FRC #1501 (Team THRUST)
Team Role: Engineer
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Huntington, Indiana
Posts: 751
Chris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond repute
Re: CMU Camera

Quote:
Originally Posted by kevin View Post
Quick question, the serial port on the CMU camera is made only to test the camera not to connect to the Robot Control, correct?
please help, anything. yes I sound stupid for not knowing this.
The CMU camera has in fact TWO serial "connections" but only ONE SERIAL PORT.

It has a DB-9 serial interface, and a TTL serial interface. They are infact one. That's why you MUST unconnect the TTL serial when you program or look at the screen captures using the DB-9 port. Then when done connect the TTL serial interface back up.

You CAN in theory connect the DB-9 port of the camera to the DB-9 port of the robot controller.

Couple of things...If you have ANY PRINTF's you'll need to turn them off or reconfigure your RC to printF to another port, like the TTL serial port.

Also you'll have to configure the camera driver to read from the DB-9 port on the RC instead of the TTL serial port.

Generally, most people I assume use a PWM cable, TTL board to connect the camera, then HOT GLUE the crap out of the TTL PWM cable end at the camera and hot glue the TTL board down at the RC end....at least that's what we do.
__________________
Team T.H.R.U.S.T. 1501
Download all of our past robot's source code here:Repository

Favorite CD quote:
"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~RogerR: Team #1369