Go to Post I guess true innovation is when you can actually harness physics to do what you want. Heck -- that sounds suspiciously like engineering. - JVN [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 31-01-2006, 19:23
st1nkm4n st1nkm4n is offline
Registered User
FRC #1357
 
Join Date: Jan 2006
Location: Artict wilds
Posts: 2
st1nkm4n is an unknown quantity at this point
Camera not working

Hello
Our camera tracking was working, but alas it has stopped.
By working, I mean that I loaded Kevin Watson's default code (from www.kevin.org/frc) and plugged my camera's power into Analog 1, the Pan servo on the camera into PWM1 and the Tilt servo on the camera into PWM2. And it magically moved the servos to track the object, as Kevin's code did. Oh, and I also plugged the serial port into the robot controller and the camera. (And did not plug in the DB9 cable at the same time). Is there a special condition to activate the PWMs? (And the COM1 terminal window would report the position and stop "searching...")

Oh, and on Labview the camera performs all functions, including servo tracking.

I suspect a special condition must be achieved that I had before (A 12 volt battery that our team electricians hooked up)? Would this matter?
  #2   Spotlight this post!  
Unread 31-01-2006, 19:26
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: Camera not working

Quote:
Originally Posted by st1nkm4n
Hello
Our camera tracking was working, but alas it has stopped.
By working, I mean that I loaded Kevin Watson's default code (from www.kevin.org/frc) and plugged my camera's power into Analog 1, the Pan servo on the camera into PWM1 and the Tilt servo on the camera into PWM2. And it magically moved the servos to track the object, as Kevin's code did. Oh, and I also plugged the serial port into the robot controller and the camera. (And did not plug in the DB9 cable at the same time). Is there a special condition to activate the PWMs? (And the COM1 terminal window would report the position and stop "searching...")

Oh, and on Labview the camera performs all functions, including servo tracking.

I suspect a special condition must be achieved that I had before (A 12 volt battery that our team electricians hooked up)? Would this matter?
Have you consulted the frequently-asked-questions document?

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #3   Spotlight this post!  
Unread 31-01-2006, 22:21
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Camera not working

BACKUP BATTERY.

Sorry for caps, but that is the answer.
  #4   Spotlight this post!  
Unread 01-02-2006, 21:20
Oumonkey's Avatar
Oumonkey Oumonkey is offline
Master of the If statement
AKA: Josh Tyus
FRC #1555 (Pulse)
Team Role: Programmer
 
Join Date: Jun 2005
Rookie Year: 2005
Location: Monon, IN
Posts: 50
Oumonkey has a spectacular aura aboutOumonkey has a spectacular aura about
Re: Camera not working

Quote:
Originally Posted by Abwehr
BACKUP BATTERY.

Sorry for caps, but that is the answer.
Idiotic question here, but I just want to make sure, Are you talking about the blue one that hooks up to the rc controller? Mine is doing the samething and I just tried to fix it for 2 hours without it wanting to work
Thanks.
__________________
  #5   Spotlight this post!  
Unread 01-02-2006, 21:28
bush's Avatar
bush bush is offline
Registered User
AKA: Aaron
FRC #0710 (Pine Crest School)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Fort Lauderdale, Florida
Posts: 42
bush has a spectacular aura aboutbush has a spectacular aura about
Send a message via AIM to bush
Re: Camera not working

Yes that's the blue one - the one that connects with spade wires in to the part of the RC that says backup battery
  #6   Spotlight this post!  
Unread 01-02-2006, 22:14
Oumonkey's Avatar
Oumonkey Oumonkey is offline
Master of the If statement
AKA: Josh Tyus
FRC #1555 (Pulse)
Team Role: Programmer
 
Join Date: Jun 2005
Rookie Year: 2005
Location: Monon, IN
Posts: 50
Oumonkey has a spectacular aura aboutOumonkey has a spectacular aura about
Re: Camera not working

[quote=bush]Yes that's the blue one - the one that connects with spade wires in to the part of the RC that says backup battery [/QUOTE
Yay, Thank you, I just wanted to make sure
__________________
  #7   Spotlight this post!  
Unread 01-02-2006, 22:22
penguinsrock234 penguinsrock234 is offline
Registered User
AKA: Rachel
FRC #0234 (Cyber Blue 234)
Team Role: Electrical
 
Join Date: Feb 2006
Location: Indiana
Posts: 1
penguinsrock234 is an unknown quantity at this point
Re: Camera not working

Our camera had the same problem for awhile. Check your PWM connections; they tend to jar loose. I would suggest zip tying the cables to the holes that are pre-drilled into the camera mount. They stay in much better that way. Also, we discovered that you can get power to the camera through the first Digital port on the RC. FYI: The 7.2 V backup battery can drain fairly quickly, so make sure you charge it regularly. If the camera still isn't working, try restarting the RC and OI completely. Our camera worked fine once we did that.
  #8   Spotlight this post!  
Unread 02-02-2006, 08:22
Donut Donut is offline
The Arizona Mentor
AKA: Andrew
FRC #2662 (RoboKrew)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Goodyear, AZ
Posts: 1,292
Donut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond repute
Re: Camera not working

In addition, check all your connections. Ours stopped moving because the serial port cable came loose.
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
CMU Camera kills robot controller if not found. Chris_Elston Programming 21 27-03-2006 14:30
How To Use the Google Camera generalbrando Kit & Additional Hardware 2 07-02-2006 16:00
Scripting Setup and the Camera + Serial Port Drivers CJO Programming 22 11-01-2006 17:42
Unresponsive camera neilsonster Programming 9 17-02-2005 08:51
Camera stops working when we use camera_set_servos()... SeanCassidy Programming 16 13-02-2005 03:08


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

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