Go to Post Where's my hammer? I need a bigger hammer. - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 11-02-2005, 01:31
Calvin Calvin is offline
Registered User
no team
 
Join Date: Feb 2005
Location: Portland OR
Posts: 105
Calvin has a spectacular aura aboutCalvin has a spectacular aura about
Question Quick test, help!

I want to do a quick test, (the CMUcam2) and after reading a post here about a camera exploding I don't want to do anything wrong.

1) I have connected a serial cable from the RS232 Port to the computer.
2) Using a PWM wire, I connected the wire from the "Power Input" (on camera) to PWM0? (on the RC Controller) set to 127.
3) Using a PWM wire I connected a wire from the RS232 (3-pin) to a TTL-232 adapter.
4) Turned the Robot on.
5) Turned the Power Switch on (on the camera).

6) Ran the program on the computer.

I'm most concerned about step #2, What must the PWM be set to?
pwm0? = 127; or pwm0? = ?????

Please reply as soon as possible, am I missing something, am I doing something wrong?
  #2   Spotlight this post!  
Unread 11-02-2005, 03:52
Calvin Calvin is offline
Registered User
no team
 
Join Date: Feb 2005
Location: Portland OR
Posts: 105
Calvin has a spectacular aura aboutCalvin has a spectacular aura about
Re: Quick test, help!

Replying to my own question, I believe the connection between "Power Input" (on camera) and a PWM output (on RC controller). Is just a simple connection between the 7.2v backup battery and and the "Power Input" on the camera. So as long as that pwn is not used, it does not matter what the pwn0? is defined as.

(I hope I'm right.)

And so the TTL-232 sends a signel to the RC controller through air?

Last edited by Calvin : 11-02-2005 at 03:55.
  #3   Spotlight this post!  
Unread 11-02-2005, 09:40
Anton's Avatar
Anton Anton is offline
Anton Povzner
#1581 (Element)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Israel
Posts: 51
Anton can only hope to improve
Re: Quick test, help!

the ttl litle thingie connects to the rc trough some 4 pins titled ttl(near the relay outputs)
our electronics team actually thought it was supposed to emit a radio signal of its own, but they were proven wrong(I didn't actually get it working, but withought conecting it definetly refuses to communicate with the rc)

Last edited by Anton : 11-02-2005 at 09:47.
  #4   Spotlight this post!  
Unread 12-02-2005, 00:34
Calvin Calvin is offline
Registered User
no team
 
Join Date: Feb 2005
Location: Portland OR
Posts: 105
Calvin has a spectacular aura aboutCalvin has a spectacular aura about
Re: Quick test, help!

Again, Replying to my own Question...

I have been able to test the camera on the computer, so the steps taken to test the camera were correct.

Concerning...
Quote:
And so the TTL-232 sends a signel to the RC controller through air?
There is a TTL port located on the RC controller.
I believe a four pin wire should be connected from the "TTL-232" to the TTL port located on the RC Controller. (From "CMUcam2 RS232 3pin" to "TTL-232" to "RC Controller TTL port")

"Connect the PWM cable connected to the RS232 PORT, (3-pin) connection of the Camera to the TTL-232 Adapter observing the position of the black wire of the PWM cable in relation to the label on the TTL-232 Adapter printed circuit board.
Lay the adapter on top of the RC for the time being. This will connect to the TTL data port on the RC."

Warning? "Be sure to have only one RS232 port cable attached to the camera at a time." (From what I understand I am not suppose to have a serial cable attached to the computer from the Cam, and the TTL-232 device connected to the RC at the same time.)
  #5   Spotlight this post!  
Unread 12-02-2005, 13:10
Calvin Calvin is offline
Registered User
no team
 
Join Date: Feb 2005
Location: Portland OR
Posts: 105
Calvin has a spectacular aura aboutCalvin has a spectacular aura about
Re: Quick test, help!

Quote:
I believe a four pin wire should be connected from the "TTL-232" to the TTL port located on the RC Controller.
OK, after reading around I have came across this:
"The RS-232 converter board is design to mount directly onto the Robot Controller, no cable is required."

I believe the "RS-232 converter board" is refering to the "TTL-232."
So... Just connect the "TTL-232-CONVERTER" directly to the RC controller.
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
Help me test scoring software? devicenull FIRST Lego League 4 06-10-2004 21:11
AP test results RudimentaryPeni Chit-Chat 29 19-07-2004 18:06
Metro teens put robot to test Brandon Martus FIRST In the News... 1 24-03-2004 17:06
Extra ramp and platform outside the field at each event to test and practice? Digo General Forum 4 19-01-2003 21:39
Test Track- Ride A Thon!! Joe Matt Championship Event 19 14-04-2002 22:53


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

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