Asked — Edited
Resolved Resolved by Dunning-Kruger!

Is It Possible To Run The H-Bridge Pwm Movement With The Sabertooth.

Is it possible to run the H-Bridge PWM Movement without adding any more parts. Do I just use this panel on the sabertooth instead of the sabertooth driver. I am confused. I do have the Sabertooth and the EZB3 running on wheelchair motors.

The sabertooth works fine but always on high speed.


ARC Pro

Upgrade to ARC Pro

With Synthiam ARC Pro, you're not just programming a robot; you're shaping the future of automation, one innovative idea at a time.

#1  

Why would you want to?... Use the sabertooth control panel, that is what it's for... And use simple serial commands in scripts to drive the sabertooth as well... You are making this way harder than it actually is...

#3  

SendSerial(D0, 38400, 255) # motor 1 full forward SendSerial(D0, 38400, 127) # motor 2 full forward

SendSerial(D0, 38400, 128) # motor 1 full reverse SendSerial(D0, 38400, 1) # motor 2 full reverse

Motor 1 any number between 193 and 255 is progressively forward and any number between 128 and 191 is reverse...192 is stop

Motor 2 any number between 65 and 127 is progressively forward and any number between 1 and 63 is reverse...64 is stop

Also sendserial(D0,38400,0) Will stop both motors...

#4  

OK, I go into ADD and added a Sabertooth movement panel. Then I said ADD and created a PWM slider. I went to adjust them and it looked like they were already setup.

So, Now, I can use the Send Serial Commands? Is this correct? I did not have a lot of ports to adjust or anything.

Is this right? or do I simply use the send serial commands with ONLY the sabertooth panel?

Thanks!

#5  

OK, I think I understand now. Just setup the sabertooth and use the send serial. Not necessary to use the PWR slider.

If that is all there is to it, it IS Simple. Am I doing this correctly?

Thanks,

#6  

@Mel,

What are you using this on? Are you running two motors in tandem like a the axle of a car where you will be turning, starting and stopping and moving at different speeds?

How do you have your dip switches set and in what mode are you running it in? I think I remember you saying you bought a 2X25 Sabertooth. I just peeked at the manual and see it has ramping abilities that are native in certain modes. You may have to get into the firmware with the DEScribe Software to turn that on. I know that when I was messing around with my Kangaroo X2 I saw that the Ramping setting was by fault set to Off.

Today I'll be replacing one of my H-Bridges with a Sabertooth 2X12 and haven't decided if I'll be using the Kangaroo with it. I'm going to install it first without the Kangaroo to see how it acts. This will be operating the radar section on my B9 that has a relatively short turning radius and small motor. If I find anything along the way I think will help I'll let you know. I also may be checking in with a question or two for Richard if I get stuck. ;)

#7  

My dip switches are set to 38 hundred baud. I am running two wheelchair motors and want to ramp them so they are not in high all of the time. I need to control them individually so I can steer the robot. I understand I should run in the send serial mode. I have the sabertooth 2X25 or 2X12, I forget. It is the one with the Large Heat Sink and it is wired with a simple S1 going to D0. No kangaroo. The Sabertooth control panel is working properly, but it is always in high speed.

thanks, DAVE.

#8  

If you want the motors to run slower just change the numbers in the sabertooth movement panel...

Change Left forward value from 127 (full power) to 96 (50% power) Change Right forward value from 255 (full power) to 223 (50% power)