Go to Post In theory, this should work... Oops. - Eldarion [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 10-02-2006, 20:39
Conan Conan is offline
Registered User
FRC #1137
 
Join Date: Feb 2006
Location: virginia
Posts: 7
Conan is an unknown quantity at this point
push-button switch on robot

Hello, for autonomous mode, we were thinking about putting a momentary push-button switch on the front of the robot so we would know if we hit an obstacle (wall, robot, etc.). So, I went down to Radio Shack and picked up a button. The button (like most switches) has two leads that are connected when the button is pushed. How would be attach this to the robot controller? Doesn't the controller have three leads (power, signal, ground)? Thanks.
  #2   Spotlight this post!  
Unread 10-02-2006, 21:10
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: push-button switch on robot

In general, connect one leg of the switch to ground and the other to signal. The RC has internal pullups on inputs 1-6 at least - I believe for some of the higher ones you have to provide external pullups. Check the RC docs.
__________________
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
  #3   Spotlight this post!  
Unread 10-02-2006, 21:16
Conan Conan is offline
Registered User
FRC #1137
 
Join Date: Feb 2006
Location: virginia
Posts: 7
Conan is an unknown quantity at this point
Re: push-button switch on robot

Quote:
Originally Posted by steven114
In general, connect one leg of the switch to ground and the other to signal. The RC has internal pullups on inputs 1-6 at least - I believe for some of the higher ones you have to provide external pullups. Check the RC docs.
Thank you. I'm pretty sure we'll only have two switches, so the use of higher inputs should be unneccessary. So, for the red wire, do we just not hook it up to anything?
  #4   Spotlight this post!  
Unread 10-02-2006, 21:55
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: push-button switch on robot

Nope, just make sure it doesn't touch anything
__________________
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
  #5   Spotlight this post!  
Unread 10-02-2006, 22:03
Conan Conan is offline
Registered User
FRC #1137
 
Join Date: Feb 2006
Location: virginia
Posts: 7
Conan is an unknown quantity at this point
Re: push-button switch on robot

Thank you very much.
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
Robot songs Alex Burman Chit-Chat 19 24-01-2006 08:07
[moderated]: A call for an end to inconsistency (sticking up for G25) Travis Hoffman General Forum 48 28-03-2005 14:14
2005 FRC Team Update 14 Jeffrafa General Forum 43 01-03-2005 15:52
serious problem found - robot controller resets when jarred! KenWittlief Electrical 23 19-03-2003 13:30
about how Drive Train push the robot... shouldn't the force accelerate the robot? Ken Leung Technical Discussion 12 26-11-2001 09:39


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

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