Go to Post Here, and in general, avoid jumping to conclusions without research. This will serve you well in life. - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-11-2007, 19:21
ruddy ruddy is offline
Registered User
FRC #1261
 
Join Date: Nov 2007
Location: Georgia
Posts: 16
ruddy is a splendid one to beholdruddy is a splendid one to beholdruddy is a splendid one to beholdruddy is a splendid one to beholdruddy is a splendid one to beholdruddy is a splendid one to behold
TTL CMUcam2 2004 eduRC bug... HALP PLZ

Basically I'm using the 2004 edu RC, and I'm trying to get the camera working. I plugged in everything (to the best of my knowledge), and nothing really happens except it turns on and the camera goes to its default position. When I upload the code, the camera doesn't even search. I think I narrowed the situation down to the TTL not working, but would that prevent the camera from going into "search" mode? Also, can someone help me configure the TTL adapter... I'm drawing .5v from one of the PWMs into the spare slot on the TTL adapter. Thanks in advance guys
  #2   Spotlight this post!  
Unread 23-11-2007, 21:04
Phalanx's Avatar
Phalanx Phalanx is offline
Formerly Team 1089 (Mercury)
AKA: Michael Reffler
FRC #5431 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jun 2005
Rookie Year: 1999
Location: Lewisville, TX (previously NJ)
Posts: 384
Phalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond repute
Re: TTL CMUcam2 2004 eduRC bug... HALP PLZ

Quote:
Originally Posted by ruddy View Post
I think I narrowed the situation down to the TTL not working, but would that prevent the camera from going into "search" mode?
Yes, if the camera is not present(It won't be if the TTL adapter is faulty) there will be no tracking information, and initialization will fail so no searching will take place.

Quote:
Originally Posted by ruddy View Post
Also, can someone help me configure the TTL adapter... I'm drawing .5v from one of the PWMs into the spare slot on the TTL adapter.
First I would download the 2007 CMUcam2 Setup and Initialization PDF and see page 5 for the TTL port pin outs. Looking at it they are left to right GND, TX out, +5V, Rx in with Rx in being closest to the 9-pin connector.

It should be wired it as follows:
+5V from one of the PWM's to +5V on the Camera TTL port
GND from the EDU TTL to GND on the Camera TTL port
TX out from the EDU TTL to RX in on the Camera TTL port
RX in from the EDU TTL to TX out on the Camera TTL port

*Yes you need to cross over TX and RX pins*
*You will not need a TTL to RS-232 adapter*
*This will both power the Camera and allow for data transfer*
__________________
Don't just ask the experts, become one!
Leadership is not about ability. It's about responsibility!
Diagonally Parked in a Parallel Universe. It's okay we do Quantum Physics



Last edited by Phalanx : 23-11-2007 at 21:07.
  #3   Spotlight this post!  
Unread 23-11-2007, 21:33
ruddy ruddy is offline
Registered User
FRC #1261
 
Join Date: Nov 2007
Location: Georgia
Posts: 16
ruddy is a splendid one to beholdruddy is a splendid one to beholdruddy is a splendid one to beholdruddy is a splendid one to beholdruddy is a splendid one to beholdruddy is a splendid one to behold
Re: TTL CMUcam2 2004 eduRC bug... HALP PLZ

i love you man.
  #4   Spotlight this post!  
Unread 21-12-2007, 22:26
neutrino15's Avatar
neutrino15 neutrino15 is offline
plɹoʍ ollǝɥ
AKA: Jordan Perr
FRC #0694 (Stuypulse)
 
Join Date: Feb 2007
Rookie Year: 2007
Location: New York City
Posts: 162
neutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really nice
Re: TTL CMUcam2 2004 eduRC bug... HALP PLZ

I am sure that the above works fine, and is probably better in the long run than the following. If you don't want to ruin a PWM cable or perform any sort of "hack" on the thing, plug stuff in as follows:

You will need:
•4 PWM cables. 3 pin each, male-female.
•1 TTL-RS-232 adapter (comes with CMUcam)
•Free TTL Port
•2-4 other free PWM ports on EduRC

What to do:
•Connect a PWM cable from the TTL port on the EduRC to the closest 3 of the 4 sockets on the TTL adapter towards the RS-232 out pins. (just follow Black to Black)
•Connect the black socket of one PWM cable to the middle pin (+5v) of a free digital in/out PWM on the 2004 eduRC. Yes, you have to plug it in sideways. I suggest taking up 2-3 ports so that the cable doesn't fall out.
•Connect the respective pin of that cable to the free socket on your TTL adapter (towards the edge, NOT the B. Again, you WILL have loose pins floating out in space.)
•Connect a PWM from the RS-232 out on the TTL Adapter to the RS-232 PWM in on the CmuCam2 board. Plug Black into B as always.
•For power, connect the last PWM cable from another free PWM socket on the EduRC to the cmucam. (to the port near the power switch).


Works for me. (and I didn't even have to risk loosing a PWM cable!)

Last edited by neutrino15 : 21-12-2007 at 22:29.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TTL Issues Bomberofdoom Programming 4 31-01-2007 09:23
2004 Edubot Serial String Help (TTL in) Josh Siegel Programming 6 10-12-2006 08:28
TTL Ports bludstayne Programming 3 02-03-2004 16:41
TTL pins Dave... Control System 3 07-02-2004 23:59
how do i tell to the edurc when the remote is on. Code\\Pilot Programming 4 28-01-2004 21:00


All times are GMT -5. The time now is 02:41.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi