|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
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.
|
|
#3
|
|||
|
|||
|
Re: push-button switch on robot
Quote:
|
|
#4
|
|||
|
|||
|
Re: push-button switch on robot
Nope, just make sure it doesn't touch anything
![]() |
|
#5
|
|||
|
|||
|
Re: push-button switch on robot
Thank you very much.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |