Go to Post I believe it is healthy to leave FIRST at some point and carry on with a well-rounded life (family, fun, school, & work). Focus your creative energy on developing your skills as a professional; then, come back to FIRST as a mentor later down the line. - Erin Rapacki [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 07-02-2006, 11:41
Max Brin Max Brin is offline
Registered User
FRC #1943 (Neat Team)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Israel
Posts: 52
Max Brin has a spectacular aura aboutMax Brin has a spectacular aura aboutMax Brin has a spectacular aura about
Connecting our cam motors

How can we connect our cam servo motors via the cam's board without wiring all the cables to the rc?

Thanks!
  #2   Spotlight this post!  
Unread 07-02-2006, 11:57
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,071
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: Connecting our cam motors

yes.
  #3   Spotlight this post!  
Unread 07-02-2006, 12:00
Unholy Unholy is offline
electrical / makeshift programmer
AKA: Daniel
FRC #1402
Team Role: Programmer
 
Join Date: Feb 2006
Rookie Year: 2002
Location: Orlando, FL
Posts: 21
Unholy is an unknown quantity at this point
Send a message via AIM to Unholy
Re: Connecting our cam motors

Quote:
Originally Posted by Max Brin
How can we connect our cam servo motors via the cam's board without wiring all the cables to the rc?

Thanks!
What you can do is run your servos to the cam main control, and the main control should go connected into the TTL port of your controller. GThis means that you will have to rewrite your code, but it saves you some trouble.
-Unholy
  #4   Spotlight this post!  
Unread 07-02-2006, 12:04
Max Brin Max Brin is offline
Registered User
FRC #1943 (Neat Team)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Israel
Posts: 52
Max Brin has a spectacular aura aboutMax Brin has a spectacular aura aboutMax Brin has a spectacular aura about
Re: Connecting our cam motors

Yes, but how can we do this?
What are the procedures and how will it infect our code?

10x!
  #5   Spotlight this post!  
Unread 07-02-2006, 12:14
kaszeta's Avatar
kaszeta kaszeta is offline
Registered User
FRC #0095 (Grasshoppers)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Lebanon, NH
Posts: 334
kaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of light
Re: Connecting our cam motors

Quote:
Originally Posted by Max Brin
Yes, but how can we do this?
What are the procedures and how will it infect our code?
This isn't a simple procedure. What you need to do is:

1. Instead of using tracking.h/c (the tracking code that Kevin provides for running the pan/tilt servos), you need to have the CMUcam2 provide it's own tracking (see the camera documentation on kevin.org/frc).
2. Enable internal powering of servos on the CMUcam2.
3. Enable pan/tilt control of the servos on the CMUcam2.
4. Enable pan/tilt reporting of the servo values on the CMUcam2.
5. Modify the camera.c/h code in Kevin's code to recognize that the camera tracking packets will now include two additional values (the pan and tilt servo values).

This isn't all that hard if you understand how the existing camera code works. I don't recommend it, however, since you have a lot more control over the tracking code if you use Kevin's tracking.c/h.
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
Drill Motors Removed? Illegal this year? Chris_Elston Motors 12 12-01-2005 09:04
Connecting FP Motors to stuff Matt Krass Motors 5 28-07-2003 17:40
Looking for practice motors & extra tape drive parts? archiver 2000 1 23-06-2002 22:54
"Motors and Drive train edition" of Fresh From the Forum Ken Leung CD Forum Support 6 29-01-2002 12:32
Drill Motors TF8 Motors 19 12-12-2001 13:13


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

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