I will not function if you break my heart.
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 13-02-2006, 18:07
vector023 vector023 is offline
Registered User
FRC #1168
 
Join Date: Jan 2006
Location: Malvern Prep
Posts: 7
vector023 is an unknown quantity at this point
In a Pickle: Servo's stay at 127

Hi all,

Our team's camera worked wonderfully 2 weeks ago with the default code - tracked the green thing and everytihng. Now, the servos don't cooperate - they turn to the position 127/127 in pan/tilt talk immediately, and I would have to break them to make them turn. Does anybody have a clue what happened to our camera?

Thanks a million!
  #2   Spotlight this post!  
Unread 13-02-2006, 18:10
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: In a Pickle: Servo's stay at 127

Someone moved their PWM's to the wrong ones.
  #3   Spotlight this post!  
Unread 13-02-2006, 18:12
vector023 vector023 is offline
Registered User
FRC #1168
 
Join Date: Jan 2006
Location: Malvern Prep
Posts: 7
vector023 is an unknown quantity at this point
Re: In a Pickle: Servo's stay at 127

I put the pwm cables to PWM1 and PWM2 just as always (always worked before). Also, I hook up the camera to the GUI Java Applet from last year, and the same thing occurs - even when the servos are hooked up to the camera board.
  #4   Spotlight this post!  
Unread 13-02-2006, 18:15
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: In a Pickle: Servo's stay at 127

Ah, what do you see in the terminal screen if you connect your computer to the RC?
If you see nothing at all, there's a pretty good chance the code can't communicate with the camera. If thats the case, check the batteries, and ensure that none of the cables are loose. It sounds like either the camera is not getting power (Does the camera have a light on?), or it cant communicate with the RC.
  #5   Spotlight this post!  
Unread 13-02-2006, 18:17
vector023 vector023 is offline
Registered User
FRC #1168
 
Join Date: Jan 2006
Location: Malvern Prep
Posts: 7
vector023 is an unknown quantity at this point
Re: In a Pickle: Servo's stay at 127

Quote:
Originally Posted by devicenull
Ah, what do you see in the terminal screen if you connect your computer to the RC?
If you see nothing at all, there's a pretty good chance the code can't communicate with the camera. If thats the case, check the batteries, and ensure that none of the cables are loose. It sounds like either the camera is not getting power (Does the camera have a light on?), or it cant communicate with the RC.
With the Java GUI thing, I can capture perfect pictures of what the camera sees, and the lights are blasting like none other. The terminal however refuses to commmunicate even "Searching..." How I would love to see those magical words: "searching..."
  #6   Spotlight this post!  
Unread 13-02-2006, 18:19
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: In a Pickle: Servo's stay at 127

Quote:
Originally Posted by vector023
With the Java GUI thing, I can capture perfect pictures of what the camera sees, and the lights are blasting like none other. The terminal however refuses to commmunicate even "Searching..." How I would love to see those magical words: "searching..."
So then, either your TTL->Serial board is loose, broken, or not there. Try changing the camera's serial wire. Do you have last years camera? You can try swapping the TTL board with last years.

As far as I can tell right now the problem is the RC and camera communicating.
  #7   Spotlight this post!  
Unread 13-02-2006, 18:21
vector023 vector023 is offline
Registered User
FRC #1168
 
Join Date: Jan 2006
Location: Malvern Prep
Posts: 7
vector023 is an unknown quantity at this point
Re: In a Pickle: Servo's stay at 127

I had the same idea...but last years thing is nowhere to be found. In the mean time, I have made a pwm cable with four pins, and conneccted the ttl of the camera to the RC...seems to still have no effect, tho I haven't tested it more than 5 times...

Plus, i gotta leave soon...
  #8   Spotlight this post!  
Unread 13-02-2006, 18:30
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: In a Pickle: Servo's stay at 127

Quote:
Originally Posted by vector023
I had the same idea...but last years thing is nowhere to be found. In the mean time, I have made a pwm cable with four pins, and conneccted the ttl of the camera to the RC...seems to still have no effect, tho I haven't tested it more than 5 times...

Plus, i gotta leave soon...
That won't work. The camera and TTL port on the RC use two different protocols, so that could definitely be part of the problem. You need the TTL board in there somewhere. It *might* be possible to use a Male to Male cable from the DB9 on the camera to the program port on the RC and use that as the serial link.

Take a look at the serial port diagnostics on http://kevin.org/frc/
  #9   Spotlight this post!  
Unread 13-02-2006, 22:41
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: In a Pickle: Servo's stay at 127

Quote:
Originally Posted by vector023
Hi all,

Our team's camera worked wonderfully 2 weeks ago with the default code - tracked the green thing and everytihng. Now, the servos don't cooperate - they turn to the position 127/127 in pan/tilt talk immediately, and I would have to break them to make them turn. Does anybody have a clue what happened to our camera?

Thanks a million!
Did you consult the magical CMUcam2 FAQ?

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #10   Spotlight this post!  
Unread 14-02-2006, 00:44
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,961
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: In a Pickle: Servo's stay at 127

Quote:
Originally Posted by vector023
... I have made a pwm cable with four pins, and connected the ttl of the camera to the RC...
That will work IF you only use three of the pins (drop the 5v), are using the completely separate TTL port on the camera, and have paid attention to the necessary RX/5v wire swap on the camera end.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #11   Spotlight this post!  
Unread 14-02-2006, 17:31
vector023 vector023 is offline
Registered User
FRC #1168
 
Join Date: Jan 2006
Location: Malvern Prep
Posts: 7
vector023 is an unknown quantity at this point
Re: In a Pickle: Servo's stay at 127

I paid attention to the change in pins...nothing wants to work still...

We ordered a new TTL converter chip thing, which will come in two days. I still don't think that will fix it. I need to find out what's wrong: do you think it may be something to do with the RC board at all? Nothing changes when I plug the TTL in. The camera stays at 127 regardless. Any ideas?
  #12   Spotlight this post!  
Unread 14-02-2006, 17:54
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: In a Pickle: Servo's stay at 127

Quote:
Originally Posted by vector023
I paid attention to the change in pins...nothing wants to work still...

We ordered a new TTL converter chip thing, which will come in two days. I still don't think that will fix it. I need to find out what's wrong: do you think it may be something to do with the RC board at all? Nothing changes when I plug the TTL in. The camera stays at 127 regardless. Any ideas?
See my post above on serial port diagnostics. let me know of the results.
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
Holonomic Drive Mathmatics Discussion robotaddict Programming 35 15-10-2005 13:29
variable? manodrum Programming 11 01-04-2003 17:20
programming gear switing Amadkow Programming 5 16-02-2002 18:07
Shifting Gears -- Anton Abaya Technical Discussion 26 22-01-2002 21:49
switching joystick axis????? team222badbrad Technical Discussion 9 16-01-2002 23:07


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

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