Go to Post Focus on solving the problem, not on being deliberately creative. If you effectively solve the problem, creativity is naturally leveraged as part of finding a great solution. - Jim Zondag [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #20   Spotlight this post!  
Unread 28-04-2005, 12: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,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: limit switches

Quote:
Originally Posted by stephenthe1
actually, limit switches are the opposite of that. They are normally 0, or true, then once pressed, turn to 1...
Using the word "pressed" when talking about how the RC digital inputs work is probably a bad idea. Some switches are normally open and close the contacts when activated, while others are normally closed and open the contacts when activated. Some are built with both options at the same time, and you can choose which contacts to use when you connect the wires. They give different results when "pressed", and can be a source of great confusion for people trying to understand how to program for the digital inputs.

The RC digital inputs have a pullup resistor to +5 volts. Reading them will return a 1 when the switch is open, and a 0 when the switch is closed to ground.
 


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
Common Ground on Limit Switches Gary Bonner Electrical 4 18-02-2005 13:24
Robot Controller File Size Limit ?? RoboGeek Programming 1 17-01-2005 19:59
material cost limit haverfordfords Fundraising 3 06-12-2004 19:21
Limit Switches help. Xufer Programming 9 21-04-2004 21:21
Need help with custom switches archiver 2001 3 24-06-2002 00:35


All times are GMT -5. The time now is 13:10.

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