Go to Post Battle Bots and other robot fighting competitions is to First Like McDonalds to Hamburgers They get the idea, and have the taste, but they are bad for you in the long run. - Conor Ryan [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 22-02-2005, 21:03
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,721
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: General Q's

The Digital Ins can be used for any number of things. Most commonly, they are used for two things, limit switches and shaft encoders.

A limit switch is a microswitch attached to some part of the robot such that it closes or opens whenever the part reaches some point in its travel where you want it to stop. for instance, when a telescoping arm reaches maximum extension. Then you watch the value of the digital in and disable the motor in one direction when it changes.

Shaft encoders are small opto-electric devices that send n pulses everytime its shaft turns one revolution. This is useful for determining the distance your robot has traveled or its speed.

There's tons of other uses out there as well.

Also, you can easily use a victor like a spike. Write your program to set the particular PWM to 0, 128, or 255 for reverse, off, and forward, respectively.

Edit: also, also, you could use a digital out as a sort of PWM by pulsing it in the program. however, the current PWMs already have all that code taken care of for you, so you might as well use them.

Finally, the PWM cable is just a name. It could also be called a servo cable, etc. Most all the I/Os on the robot have +5(?)V, Ground, and Data pins of various sorts. The only thing that changes is the use of the data pin, so it's convenient to make them all standardized to the 3-pin PWM cable connectors.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter

Last edited by Kevin Sevcik : 22-02-2005 at 21:12.
 


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
General Dynamics? Mike Rush General Forum 1 31-01-2003 17:04
General Forum congestion archiver 2001 7 24-06-2002 03:32
general forum threads archiver 2001 8 23-06-2002 22:47
2 Useful Websites - And general tips and Ideas Robby O 3D Animation and Competition 0 13-01-2002 02:03


All times are GMT -5. The time now is 00: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