Go to Post "You fogot the gears!!!!" - The_Gman [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
  #4   Spotlight this post!  
Unread 28-01-2010, 15:04
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Mentor, LRI, MN RPC
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,813
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Limit switch to solenoid problem

How you hooked it up is key here. It sounds to me like you may have wired the limit switch to short power and ground - this is bad. The Digital Sidecar contains an internal pull-up resistor on the digital IO ports - this means if you send no signal to the input, it will read as if 5V was sent. See page 19 of http://usfirst.org/uploadedFiles/Com...Rev1_enc .pdf

To wire a limit switch, take a standard PWM cable and wire the Black and the White wires to the switch in your preferred method (normally closed or normally open). The method used doesn't really matter - normally closed means you would see a 0 in the code when the switch is not pressed, a 1 when it is pressed. normally open is reverse. Do NOT hook up the red wire from the PWM. It's not needed (due to the pull up resistor), and if you mess up your wiring you could risk shorting it. It's better all around not to use it with the limit switches.
 


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
Limit Switch problem Zellboy Programming 5 12-02-2009 19:38
Limit Switch Problem Boydean Programming 3 13-02-2008 16:32
Using a limit switch to limit motion ManicMechanic Programming 16 20-12-2007 00:54
limit switch wedellm Electrical 4 16-02-2007 13:01


All times are GMT -5. The time now is 07:48.

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