Go to Post FIRST competitions are a microcosm of real world engineering projects. - KenWittlief [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-01-2009, 17:49
MacGyver1718 MacGyver1718 is offline
Registered User
FRC #1718 (The Fighting Pi)
Team Role: Alumni
 
Join Date: Mar 2008
Rookie Year: 2008
Location: USAFA (Armada, MI)
Posts: 3
MacGyver1718 is an unknown quantity at this point
Exclamation Flashing Driver Station Digital Input

We've wired some on/off switches to our driver's station, wiring the signal and ground to the switch.

Instead of getting on/off, we are seeing off and flashing inputs instead of on.

Any ideas why this is happening?

Thanks,
Team 1718
Reply With Quote
  #2   Spotlight this post!  
Unread 15-01-2009, 17:54
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Flashing Driver Station Digital Input

The Driver Station lacks pull up resistors on its digital inputs. If you do not actively terminate the pin, it will essentially behave like a random bit generator. Either add a pull up resistor or have your switch actively toggle between power and ground.
Reply With Quote
  #3   Spotlight this post!  
Unread 15-01-2009, 18:05
MacGyver1718 MacGyver1718 is offline
Registered User
FRC #1718 (The Fighting Pi)
Team Role: Alumni
 
Join Date: Mar 2008
Rookie Year: 2008
Location: USAFA (Armada, MI)
Posts: 3
MacGyver1718 is an unknown quantity at this point
Re: Flashing Driver Station Digital Input

I am not sure what you mean by "toggle between power and ground." Can you please explain?

Also, what value resistor would we need to use?

Thank you for your quick response.
Reply With Quote
  #4   Spotlight this post!  
Unread 15-01-2009, 19:22
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Flashing Driver Station Digital Input

Your current set up either connects the pin to ground or it doesn't. I meant to set it up so it connects to ground or power.

Not all switches can do this. As a quick check, if it has 3 pins it probably can. The technical term is "double pole", meaning that it has two inputs it can toggle between.

As for the pullup method:
I like 10kOhms, but there is nothing magic about this number. You want it to be high enough that you are not drawing too much power through it, but low enough so that it does its job.
Take what ever you have laying around, make sure it is between 1k and 100k and give it a shot. You could probably get away with higher or lower, but I wouldn't bother with it.

EDIT: For reference, the digital side car uses 10kOhms on all of its GPIO pins and 3.17k on its I2C pins. We needed a stronger (lower resistance) pull up on the I2C so it could pull hard enough to hit the maximum data rate. Since you are probably working at human data rate (SLOW), you can get away with a lot of slop.
Reply With Quote
Reply


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
Dead Driver Station? tdeprince FRC Control System 3 12-02-2009 12:14
Driver Station Login Mr-Shutter FRC Control System 2 12-01-2009 23:36
2nd Driver Station bcharbonneau General Forum 2 09-01-2009 14:19
Driver Station Help.. 1708xMr.Roboto FRC Control System 8 22-12-2008 15:24
Interrupt on driver station digital input Nameless Programming 9 04-12-2008 16:55


All times are GMT -5. The time now is 02:42.

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