Go to Post OUR CNC machine is named Joe, and he has this week of school off. He eats candy instead of electricity. Not so accurate or repeatable, but very easy to re-program. - Not2B [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 09-02-2014, 16:28
tgross35 tgross35 is offline
Registered User
FRC #4810 (I Am Robot)
Team Role: Electrical
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Michigan
Posts: 23
tgross35 is an unknown quantity at this point
How to wire a digital input device

Hello everyone,

Our team is looking to use limit switches this year on our robot, and are wondering how exactly they should be wired. We have it working by connecting one side of the switch to the +5v and the other side to the ground of one of the digital pins, however this does not seem correct. When the switch is pressed (so a normally open connection becomes closed,) the 5V light on the digital sidecar turns off, and I am wondering if this is because of a short circuit, since we are connecting the power and ground pins. It seems to me that we should be able to connect the terminals of the switch to the 5v and the signal port instead, but this hasn't worked for us. If anyone knows for sure, please let me know. Thanks,

T
 


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


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

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