Welcome to Synthiam!

Program robots using technologies created from industry experts. EZ-Builder is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.
Get Started

Netherlands
Asked — Edited

Does Anyone Have A Cytron Smartdrive Duo 30 And What Are The Diffrences?

Does anyone have a Cytron Smartdrive Duo 30 and what are the diffrences with a sabertooth in settings?

https://www.cytron.io/p-30amp-7v-35v-smartdrive-dc-motor-driver-2-channels

Folowing the manual and comparing it... I came to these settings... Still have to test it... But maybe someone has some conformation?:) 


# Stop
SendSerial(D0,9600,0)
SendSerial(D0,9600,128)


# Forward
# Motor 1, 63 is full speed forward.
SendSerial(D0,9600,63)
# Motor 2, 191 is full speed forward.
SendSerial(D0,9600,191)


# Differential Turn Right
# Motor 1
SendSerial(D0,9600,63)
# Motor 2
SendSerial(D0,9600,255)


# Differential Turn Left
# Motor 1
SendSerial(D0,9600,127)
# Motor 2
SendSerial(D0,9600,191)


# Reverse
# Motor 1, 127 is full speed reverse.
SendSerial(D0,9600,127)
# Motor 2, 255 full speed reverse.
SendSerial(D0,9600,255)

And what about the Speed Changed setting?


Related Hardware EZ-Robot EZ-B v4
Related Control Sabertooth Serial
Synthiam
#1  
The commands look right - but you'd have to test.

If you want speed control, there's two ways to go about it

1) Create a behavior control 

2) Use a custom movement panel

If you choose #2, there's a $speedleft and $speedright variable which you can use. You'd have to use a little math to determine the speed for each direction.