View Single Post
  #13   Spotlight this post!  
Unread 04-02-2011, 10:11
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Toggle switches to Analog board?

Quote:
Originally Posted by Al Skierkiewicz View Post
If you are going to the analog board, it does not have pull up resistors so you have to use the SPDT to switch between +5 and zero volts. If you use a digital input, the pullup would allow you to simply open or close a connection to the common to give two states.
Sorry, Al, but I have to disagree. If you put a 10k pullup resistor between the analog signal and +5 power pins, a simple SPST switch between signal and ground will give the desired results. The schematic Darren posted is exactly how I would do it.

Last edited by Alan Anderson : 04-02-2011 at 10:28. Reason: fixed name