Go to Post I have postulated a theory that it is due to a resonance between gravity waves and the color purple. - petek [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 02-03-2009, 19:50
Dr. Manhattan Dr. Manhattan is offline
Atomic Reconstruction
AKA: Joe Bakke
FRC #2521
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Eugene, OR
Posts: 21
Dr. Manhattan is on a distinguished road
Send a message via AIM to Dr. Manhattan
Wiring a boolean switch.

We have a basic toggle switch on our bot, wired to the DIO. The switch bridges the power and signal lines, is this how it should be wired?
  #2   Spotlight this post!  
Unread 02-03-2009, 19:59
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,718
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Wiring a boolean switch.

No.
It should connect ground and signal one way and nothing at all the other way.

+5v power is not used for a basic switch.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #3   Spotlight this post!  
Unread 08-03-2009, 11:26
Integral Integral is offline
Registered User
AKA: Ross
FRC #1130 (Robo Rebels)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Albany, Or
Posts: 22
Integral is an unknown quantity at this point
Re: Wiring a boolean switch.

On our DS I found that I could not get a reliable signal if I just let the signal line float. You need to hold the signal high through a pull up resistor. Solder a 1k resistor to the 5V line, then the free end of the resistor to the signal and 1 side of the switch. Ground the other side of the switch. When the switch is open you will have a solid High signal, when the switch is closed a good low.
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
Pressure Switch Wiring idahorobot Electrical 1 27-01-2007 11:18
IR Switch Wiring sgsdragons Electrical 2 14-02-2006 03:26
Need Help Wiring Micro Switch/Limiting Switch Windward Electrical 2 07-02-2006 18:26
Wiring Nasson switch ten3brousone Pneumatics 4 19-02-2005 17:16
Wiring a switch stevex Electrical 3 16-02-2005 08:31


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