Go to Post Perfection is less about effort or skill than it is about having a clear and limited goals. - SoftwareBug2.0 [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 15-02-2004, 17:46
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Speed Controller brake/coast setting

Is it possible to control the brake/coast setting on the 884s with the digital out pins? I didn't want to try anything, as I believe a 1 is +5v. Will I damage anything by using this to select between brake and coast on the fly?

Thanks,
Steven
  #2   Spotlight this post!  
Unread 15-02-2004, 18:45
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,582
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Speed Controller brake/coast setting

I have no idea about the actual anser to your question, but when don't you control it with a relay? I'm fairly certain that would work, though not a spike relay.

I say get a miniature 5V relay, hook the coil up to the digital output, and hook the other side up to the brake/coast jumper. I'm assuming this will work, except I have no clue how much current the digital outputs can supply on the signal pins. Or even if that's how they work. IFI doesn't have much information on digital outputs on the website. The realy should work, however, as FIRST talks about using a microswith to control the brake/coast setting.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #3   Spotlight this post!  
Unread 15-02-2004, 19:56
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: Speed Controller brake/coast setting

I dont know the correct answer, but I would not connect them to the digital output pins

try searching the forum, im sure someone has done it before - seach on 'victor brake' and see what comes up
  #4   Spotlight this post!  
Unread 15-02-2004, 20:43
Biff Biff is offline
Registered User
AKA: Tom Cooper
#1227 (Techno Gremlins)
Team Role: Mentor
 
Join Date: Jan 2004
Location: Grand Rapids MI
Posts: 214
Biff is a jewel in the roughBiff is a jewel in the roughBiff is a jewel in the roughBiff is a jewel in the rough
Re: Speed Controller brake/coast setting

A dip relay would do the trick for the "jumper" side, The current the coil draws is a published thing and a long time ago they were avialable from Digi-key. I would talk to the folks at Innovation First If the digital outs can sink the current. If you get dip relays get the ones with internal diodes, without diodes, the back emf can fry things, else put a diode as clsoe to the coil wireing as you can. If all is a go in terms of the rules you may have to use a driver transistor to keep the current to what the controler can do, OR Use a spike with diodes like called out in the <5.6.3> to drive two relays and avoid the whole asking permission about hooking directly. Also the information you seek may be in the user guide for the full size controler. Good luck
  #5   Spotlight this post!  
Unread 15-02-2004, 20:59
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: Speed Controller brake/coast setting

if the rules allow it, the easiest thing to do would be to have a contact switch that you close with one of the little servos they gave us.
  #6   Spotlight this post!  
Unread 15-02-2004, 21:02
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: Speed Controller brake/coast setting

yeah and if your not into servos and contact swiches.... just get a 5v dpdt relay, hook it up to (1) digital output and *vwala* perfect switching. the Victor 884 uses a pic microprosseser to control the fets in the HBridge, and its not going to be exsessive current at all. just remember to put it all in a box
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
  #7   Spotlight this post!  
Unread 15-02-2004, 21:54
velocipenguin velocipenguin is offline
Registered User
#0246 (Overclocked)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Boston, MA
Posts: 77
velocipenguin is on a distinguished road
Send a message via AIM to velocipenguin
Re: Speed Controller brake/coast setting

The officially-sanctioned method, as suggested by IFI in the Victor 884 User's Guide, involves using servos and SPDT switches. I'm not sure if there are other methods that would be safe and successful, but that seems to be the one they encourage.
  #8   Spotlight this post!  
Unread 15-02-2004, 21:59
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: Speed Controller brake/coast setting

okay.

servos are $30 bucks each. relays are free.
servos and switches are exsesivly prone to failure.
servos eat up power...
servos are huge compared to relays.

with all that said, yes its the "offical" way to go. will our team do it? uh no
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
  #9   Spotlight this post!  
Unread 15-02-2004, 22:05
velocipenguin velocipenguin is offline
Registered User
#0246 (Overclocked)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Boston, MA
Posts: 77
velocipenguin is on a distinguished road
Send a message via AIM to velocipenguin
Re: Speed Controller brake/coast setting

I'm not saying that other methods are wrong. I'm just saying that the servo method is the one suggested by IFI.

For the record, you can draw 1 ampere total from all of the analog output and digital I/O Vcc pins. If you're not powering a lot of other stuff from those, using small relays should be fairly safe.
  #10   Spotlight this post!  
Unread 15-02-2004, 22:47
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,766
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: Speed Controller brake/coast setting

The suggested method is one we have used over the years. A servo with the cross attachment is mounted in such a way that when it turns it bumps into a microswitch that is wired across the brake pins on the speed controller. Controlled from software the servo either closes the switch or opens it.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #11   Spotlight this post!  
Unread 15-02-2004, 23:09
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,582
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Speed Controller brake/coast setting

The servo method does have one thing going for it. The servo should stay in position after power is cut to your robot. I think. I'm not an electronics guy on the robot, but if the power to the servo gets cut then it will definitely stay in position.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #12   Spotlight this post!  
Unread 15-02-2004, 23:19
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: Speed Controller brake/coast setting

where do you get these free relays from?

I will take 10 million please :c)

if you are talking about the relay spikes that are in the KOP - you cannot use those to control the brake pins - the spikes put out 12V switched plus or minus, and they need power on their input (+12V) to work. they dont get their power from the PWM cables.
  #13   Spotlight this post!  
Unread 16-02-2004, 01:18
velocipenguin velocipenguin is offline
Registered User
#0246 (Overclocked)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Boston, MA
Posts: 77
velocipenguin is on a distinguished road
Send a message via AIM to velocipenguin
Re: Speed Controller brake/coast setting

Quote:
Originally Posted by KenWittlief
if you are talking about the relay spikes that are in the KOP - you cannot use those to control the brake pins - the spikes put out 12V switched plus or minus, and they need power on their input (+12V) to work. they dont get their power from the PWM cables.
Yes. Wiring a Spike to the brake/coast jumper on a Victor would probably cause an unwanted release of magic smoke. If you intend to use something to control the jumpers for the Victors that drive your robot, then you'd probably be switching both at the same time and would only need one servo. Controlling the braking mode of your speed controllers with a servo and a pair of microswitches is a lot cheaper than destroying them by feeding 12 volts to the I/O lines of the speed controllers' logic circuitry.
  #14   Spotlight this post!  
Unread 16-02-2004, 02:27
telkanuru's Avatar
telkanuru telkanuru is offline
Generic Carbon Unit
#0246 (Overclocked)
Team Role: Engineer
 
Join Date: Feb 2004
Location: Amherst, MA
Posts: 27
telkanuru is an unknown quantity at this point
Send a message via AIM to telkanuru
Re: Speed Controller brake/coast setting

I forget, do servos requre spikes? 'cause that would just be lovely in a painful sort of way.
  #15   Spotlight this post!  
Unread 16-02-2004, 02:30
velocipenguin velocipenguin is offline
Registered User
#0246 (Overclocked)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Boston, MA
Posts: 77
velocipenguin is on a distinguished road
Send a message via AIM to velocipenguin
Re: Speed Controller brake/coast setting

Quote:
Originally Posted by telkanuru
I forget, do servos requre spikes? 'cause that would just be lovely in a painful sort of way.
No. They are powered by the Robot Controller and accept a signal directly from a PWM port.
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
How do you connect the speed controller fans? Iain Electrical 7 31-01-2003 07:05
Speed controller fan replacement Rickertsen2 Electrical 11 16-01-2003 08:46
Speed Controller Limits yaman Technical Discussion 11 15-01-2003 18:40
Ugh...PWM pin vs. Speed Controller archiver 2001 1 24-06-2002 00:27
making speed controller digital CharlieWilken Electrical 4 01-03-2002 20:15


All times are GMT -5. The time now is 11:32.

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