Asked — Edited

Sabertooth And Ezb V4

(Newbie here)..... lol I have been fighting for the past two days now to get my robot to move with no luck. I have a sabertooth 2x25 that works fine if I hook it to a RC receiver but when I hook it to the ezb it will not control the motors. I have used the sabertooth plug in and it has no speed control. I have tried to use the servo control it filed under my newbieness to the ezb. Can someone make a plugin that will work like the sabertooth plugin but give the user speed control. but for now can someone take me step by step on how to set this up so I can use my ezb only and not have to continue to use a RC receiver. Thanks for any and all help... confused confused:(


ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

#17  

No that's to speed up while moving forward only.


Turn right
SendSerial(1.D0,9600,235) #255
SendSerial(1.D0,9600,20) #1

Turn left
SendSerial(1.D0,9600,107) #127 up
SendSerial(1.D0,9600,148) #128 dn

Reverse (speeding up)
SendSerial(1.D0,9600,20) # motor 1 127 is full speed
SendSerial(1.D0,9600,148) # motor 2 255 is full speed
sleep(2000)
SendSerial(1.D0,9600,15) # motor 1 127 is full speed
SendSerial(1.D0,9600,143) # motor 2 255 is full speed

Stop
SendSerial(1.D0,9600,0)


#18  

@ Djsures @ bhouston The codes works thanks so much. Is there a way to change the speed by like hitting LB on the Joystick to change the rate of speed from slow to max ?:D

#19  

I have no experience with using a joystick, I control my robot with voice commands. I'm sure that someone here will be able to answer your question.

#20  

Does anyone know how to add speed control to the code that Bhouston wrote me. I see int the movement script there is a place for Speed changed I don't know enough to write a code for it. Anyone know how to do this?:):D