Go to Post For those who don't have snow in the forecast - i.e., not New England - just send me your shipping address and I'll FedEx some snow to you right away. We have extra. :p - DonRotolo [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 08-02-2009, 15:57
finman's Avatar
finman finman is offline
Programmer
AKA: Chris Finley
FRC #0888 (Robotiators)
Team Role: Programmer
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Glenelg, MD
Posts: 16
finman is an unknown quantity at this point
drivers station digital input trouble

on our control board, we have several switches that i have wired to digital inputs on the drivers station console. in labview i have made an indicator light that should light when the circuit is open. when the circuit is closed, the light goes off as it should, but when it is open, it flashes on and off. even when i connect a pwm cable with NOTHING on the opposite end, the light still continues to flash. any ideas why this is happening?
__________________


"Red goes to black, right guys?" ~Mike Mascaro: Our Fearless Leader
  #2   Spotlight this post!  
Unread 08-02-2009, 16:16
kevin.li.rit's Avatar
kevin.li.rit kevin.li.rit is offline
Imaginary Friend
AKA: Kevin Li
FRC #0596 (SciClones)
Team Role: Student
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Hopkinton, Massachusetts
Posts: 936
kevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond repute
Send a message via Yahoo to kevin.li.rit
Re: drivers station digital input trouble

How are your inputs wired? The inputs of the drivers station contain no pull up or pull downs so you have to wire them yourself or you might get some in between state when they are open.
__________________
Kevin Li

596 - Sciclones
1405 - Finney Falcons
2262 - Holliston Panthers
  #3   Spotlight this post!  
Unread 08-02-2009, 20:30
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 251
BitTwiddler is on a distinguished road
Re: drivers station digital input trouble

Here's how I've been telling our electronics team to wire up switches connected to the Driver Station digital inputs.
It shows how to hook it up when your switch has two terminals or three terminals.
Normal convention is that when a switch is in the "off" position, the signal line provides +5 volts and ground when "on" so you may see the opposite of what you expect in your programming but its usually easy to invert the sense of the switch.
Attached Thumbnails
Click image for larger version

Name:	Driver Station switch wiring.jpg
Views:	279
Size:	17.5 KB
ID:	7369  
  #4   Spotlight this post!  
Unread 08-02-2009, 22:02
Wylie99998 Wylie99998 is offline
Registered User
FRC #0871
 
Join Date: Oct 2007
Location: ny
Posts: 12
Wylie99998 is an unknown quantity at this point
Re: drivers station digital input trouble

something similar happened to us : [ we found that using pullup resisters on our buttons that were connected to the digital inputs fixed the problem
  #5   Spotlight this post!  
Unread 09-02-2009, 07:22
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,792
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: drivers station digital input trouble

Chris,
Without the pullup resistors, the high input impedance of the devices used, can respond to anything including your hand, a closeby radio station, even a CFL or a plasma TV screen.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #6   Spotlight this post!  
Unread 10-02-2009, 22:43
Andrew Y.'s Avatar
Andrew Y. Andrew Y. is offline
FunYun
AKA: Andrew Yun
FRC #2415
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Marietta, GA
Posts: 304
Andrew Y. has much to be proud ofAndrew Y. has much to be proud ofAndrew Y. has much to be proud ofAndrew Y. has much to be proud ofAndrew Y. has much to be proud ofAndrew Y. has much to be proud ofAndrew Y. has much to be proud ofAndrew Y. has much to be proud ofAndrew Y. has much to be proud of
Re: drivers station digital input trouble

is there a special resistor i need to use or will any 1k resistor do?
  #7   Spotlight this post!  
Unread 10-02-2009, 23:46
kevin.li.rit's Avatar
kevin.li.rit kevin.li.rit is offline
Imaginary Friend
AKA: Kevin Li
FRC #0596 (SciClones)
Team Role: Student
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Hopkinton, Massachusetts
Posts: 936
kevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond repute
Send a message via Yahoo to kevin.li.rit
Re: drivers station digital input trouble

I've been using 10k ohms. 1kohms should be ok.
__________________
Kevin Li

596 - Sciclones
1405 - Finney Falcons
2262 - Holliston Panthers
  #8   Spotlight this post!  
Unread 11-02-2009, 14:55
finman's Avatar
finman finman is offline
Programmer
AKA: Chris Finley
FRC #0888 (Robotiators)
Team Role: Programmer
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Glenelg, MD
Posts: 16
finman is an unknown quantity at this point
Re: drivers station digital input trouble

we got it, thanks everyone
__________________


"Red goes to black, right guys?" ~Mike Mascaro: Our Fearless Leader
  #9   Spotlight this post!  
Unread 15-02-2009, 12:11
kushvp kushvp is offline
Registered User
FRC #0467 (Shrewsbury Colonials)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2000
Location: MA
Posts: 5
kushvp is an unknown quantity at this point
Re: drivers station digital input trouble

how exactly did you solve your problem? we are have the same issue.
  #10   Spotlight this post!  
Unread 16-02-2009, 08:06
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,792
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: drivers station digital input trouble

You must use and external pullup resistor for digital inputs on the DS.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
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
Trouble Reading Drivers Station Digital Inputs Mike Mahar C/C++ 3 03-02-2009 23:37
Drivers Station Magical Current 3DWolf Electrical 5 25-01-2009 21:52
Drivers' Station Camera Feed dhawk085 Technical Discussion 4 25-01-2009 19:12
Flashing Driver Station Digital Input MacGyver1718 FRC Control System 3 15-01-2009 19:22
Interrupt on driver station digital input Nameless Programming 9 04-12-2008 16:55


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

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