Go to Post Please no reboots. I'm so sick of reboots. Hollywood has ruined them for me. I don't even reboot my computer anymore. - Michael Hill [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-02-2010, 09:50
DaSavageJ DaSavageJ is offline
Registered User
FRC #3011
 
Join Date: Jan 2009
Location: Wiesbaden
Posts: 3
DaSavageJ is an unknown quantity at this point
Normal IO Push Button on the Digital Sidecar

Does anyone know of a way I can connect a normal open close push button, using only power (negative and positive) connectors, to the Digital Sidecar?
  #2   Spotlight this post!  
Unread 07-02-2010, 09:56
gbf1991 gbf1991 is offline
Registered User
FRC #3011
 
Join Date: Jan 2010
Location: Wiesbaden, Germany
Posts: 6
gbf1991 is an unknown quantity at this point
Re: Normal IO Push Button on the Digital Sidecar

I'm from the same team, and we're trying to set up an auto shutoff for a motor based on a sensor switch. In order to simulate this, since we don't have the switch yet, we're using a pushbutton. Any help would be appreciated.
  #3   Spotlight this post!  
Unread 07-02-2010, 10:13
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,847
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Normal IO Push Button on the Digital Sidecar

To connect a button or switch to the Digital Sidecar you use the ground (-) and signal pins, not the power (+) pin.

Anything you want your code to know about MUST use the signal pin to "signal" the cRIO. That's the only way your code can "hear" anything.

So connect the switch ground to (-) on the Sidecar and the switch (+) to the signal pin on the Sidecar.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 07-02-2010 at 10:16.
  #4   Spotlight this post!  
Unread 07-02-2010, 17:28
DaSavageJ DaSavageJ is offline
Registered User
FRC #3011
 
Join Date: Jan 2009
Location: Wiesbaden
Posts: 3
DaSavageJ is an unknown quantity at this point
Re: Normal IO Push Button on the Digital Sidecar

Thanks a lot man, I'll try this out first thing in the morning.
  #5   Spotlight this post!  
Unread 07-02-2010, 17:43
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Normal IO Push Button on the Digital Sidecar

Make sure you connect it to the digital I/O pins - the same place you'd plug in an encoder.
Closed Thread


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
Relay Ports on the Digital sidecar have no Power 10uhingp Electrical 6 30-01-2010 14:00
Attaching a standard car relay to the Digital sidecar KillerGardevoir Electrical 4 02-08-2009 21:26
Driver Station Push Button coolperson987 General Forum 6 12-03-2009 22:17
Push Button System Rob2713g Programming 5 08-08-2006 21:20
push-button switch on robot Conan Electrical 4 10-02-2006 22:03


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

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