Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Speed Controller brake/coast setting (http://www.chiefdelphi.com/forums/showthread.php?t=25353)

steven114 15-02-2004 17:46

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

Kevin Sevcik 15-02-2004 18:45

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.

KenWittlief 15-02-2004 19:56

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

Biff 15-02-2004 20:43

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

KenWittlief 15-02-2004 20:59

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.

jacob_dilles 15-02-2004 21:02

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 :P

velocipenguin 15-02-2004 21:54

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.

jacob_dilles 15-02-2004 21:59

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

velocipenguin 15-02-2004 22:05

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.

Al Skierkiewicz 15-02-2004 22:47

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.

Kevin Sevcik 15-02-2004 23:09

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.

KenWittlief 15-02-2004 23:19

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.

velocipenguin 16-02-2004 01:18

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.

telkanuru 16-02-2004 02:27

Re: Speed Controller brake/coast setting
 
I forget, do servos requre spikes? 'cause that would just be lovely in a painful sort of way.

velocipenguin 16-02-2004 02:30

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.


All times are GMT -5. The time now is 00:35.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi