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

ARC Pro will give you immediate updates and new features needed to unleash your robot's potential!

#9  

OK, I will try this. You are magnificent!

It is telling me I have no port definitions. Should I just ignore this?

#10  

Have you set the port to D0 in the sabertooth movement panel?

United Kingdom
#11  

Mel,

I think you need to read through the tutorial pages again, PWM is not speed control. Read what PWM is on the tutorial page. It would also pay to search the forums for Sabertooth as there is already a lot of useful information posted.

Add the Sabertooth Control Panel, set up the port in the configuration and adjust the values to set the speed you need.

The Sabertooth is different to other H-Bridges in that it is Simple Serial not logic controlled. Speed control is not native to the movement panel. EZ-Script movement commands (Forward, Reverse, Left, Right) do not work for speed control either. As Richard pointed out you would need to use SendSerial commands to adjust the speed.

For more complex actions such as speed ramping you will require scripts to be written. I have previously posted some simple example scripts however their usage may be rather complex (depending on how they are used).

If it's just slowing the motors down to a speed that's more suited to your robot then follow Richard's advice and adjust the values. If it's ramping and better control over the motors then you may wish to look in to the Kangaroo as a very valuable accessory to the Sabertooth.

#12  

I Just completed installing my 2nd Sabertooth 2x12 into my B9. This one controls the radar and will leave one side of the board open with no motor to control. I also added a Kangaroo X2 because this is exclusively for position control with the ability to move a different speeds. I'm very happy with the results. The old setup used ADC pot feedback and an H-bridge to locate and move the DC motor. ADC loops really bog down the computer and this way all the extra work is places on the Kangaroo. I simply send a serial command through a script to move to a certain point on the radius as a defined speed. The Position command looks like this:

SendSerial(D0, 9600, "1,p2450 s100", 0x0d)

#13  

OK, Rich and Rich R , I thought that PWM was the speed control.

OK, then I just need D0 sent to S1 on Sabertooth with send serial commands.

That is simple enough.

Thanks!