Go to Post It truly is a Merry Vexmas! - Ginger Power [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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
  #5   Spotlight this post!  
Unread 17-02-2009, 20:26
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,112
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: How sensitive are the driver station digital inputs?

Quote:
Originally Posted by FRC4ME View Post
I'm confused. It seems to me like you're saying:

When switch is off, signal should be connected to ground.
When switch is on, signal should be connected to 5V going through 10K resistor.

That's a little difficult to do with a SPST switch...
You're close, but backwards and incomplete.

When switch is off, signal should be connected to 5V going through 10K resistor (this will be read as true).
When switch is on, signal should be connected to ground -- and still connected to 5V going through 10K resistor. The resistor will keep the 5V and ground on opposite sides of itself (this will be read as false).

When done as Doug suggests, there is always a 10K resistor from +5V to the signal line. The switch leaves the signal alone when open, and pulls it to ground when closed.
Reply With Quote
 


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
Inputs on Driver Station z2daj C/C++ 8 16-02-2009 04:12
using digital inputs from the driver station SL8 NI LabVIEW 2 04-02-2009 15:53
Programming Digital Inputs from Driver Station spooncwru Programming 8 01-02-2009 13:14
Digital Outputs on the Driver Station with C/C++ Bongle C/C++ 6 26-01-2009 15:45
Using driver station digital inputs Japper FRC Control System 6 19-01-2009 20:01


All times are GMT -5. The time now is 05:45.

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