I Need to control 2 ea. 24v 50 amp DC reversible motors. Has anyone done this?
OK, I'm using a BS2 and using a sabertooth (Dimension Engineering) servo mode drive power unit for differential control of 2 brush type 24 v dc motors.· I've got code to control 2 servomotors with a joystick, but need to "mix" it.· Any suggestions?
Post Edited (bildobob) : 12/8/2009 11:21:41 AM GMT
Post Edited (bildobob) : 12/8/2009 11:21:41 AM GMT
Comments
A H-Bridge is Ideal but is not super easy to make ..
Attached is a simple relay controller with MOSFET Motor control..
If You PWM the Drive FET you can vary the speed of the motor ...
What is the Motor runnning ??
Peter KG6LSE
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Carpe Ducktum" "seize the tape!!"
peterthethinker.com/tesla/Venom/Venom.html
Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway. —Tanenbaum, Andrew S.
LOL
"Completed Projects" is limited to descriptions of just that and any new threads should include a complete description of the project and any schematics and program sources as attachments to the description. The intention is for people to have enough information to be able to duplicate the project or a modification of it.
·· When you say control it do you mean speed or direction also are you using a microcontroller like a basic stamp? How do you you plan to use themotors for may help out.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
50 72 6F 6A 65 63 74 20 53 69 74 65
·
http://www.tncscooters.com/YK48-2.php
more at http://tncscooters.com/partsdb.php?type=ES
I built an electric bike with one of their 36V, 250W gearmotors. Those are nice units with internal gearing already.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
Post Edited (erco) : 12/7/2009 10:04:26 PM GMT
Sabertooth dual 25A regenerative motor driver.
Rich H
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Simple Servo Tester, a kit from Gadget Gangster.
' {$STAMP BS2}
' {$PBASIC 2.5}
'ControlServoWithJoystick.bs2
'Use Analog Joystick To Control 2 Servomotors for differential steering
'Scale time by factor and offset by 500 for the servos
'Servos to stay between 500 to 1000
'*/ operator offset = Y18/X19, need caps for 100K pots
'12/7/2009
'DEBUG "Program Running"
timeY·· VAR··· Word·············· 'This is the Y channel FWD/REV
timeX·· VAR··· Word·············· 'This is the X channel LT/RT
DO
· HIGH 7······························ 'This is for the Y channel
· HIGH 8·······························'This is for the X channel
· PAUSE 10
· RCTIME 7, 1, timeY············· 'This is the Y channel FWD/REV
· RCTIME 8, 1, timeX············· 'This is the X channel LT/RT
· timeY = timeY */ 18············ 'Gain/Scale by .0703 (X 256 for */).
· timeY = timeY + 500············ 'Offset by 500.
· timeX = timeX */ 19············ 'Gain/Scale by .0742 (X 256 for */).
· timeX = timeX + 500············ 'Offset by 500.
· PULSOUT 14, timeY·············· 'send pulse to Y servo.
· PULSOUT 15, timeX·············· 'send pulse to X servo.
· DEBUG HOME,······················ 'Display on computer screen servotimer values
· " FWD/REV ", DEC5 timeY, CR,··· 'Servotimer Y
· " LEFT/RIGHT ", DEC5 timeX····· 'Servotimer X
LOOP
You'll need to limit the MIN/MAX values going to the PULSOUT with some more code but it ought to be pretty easy to do that.
Rich H
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Simple Servo Tester, a kit from Gadget Gangster.