User Manual
ROBOT.HEADtoTOE
ProductUser’sManual–MDDS60
8.3SERIALSIMPLIFIEDMODE
In Simplified Serial mode, SmartDriveDuo60 is controlled by using the UART interface.
DIG1pinistheUARTRx.DIG2,AN1andAN2pinsarenotusedinthismode.
A single byte of data is all you need to control the speed and direction for each motor. First
MSBbitistoselectwhichmotortocontrol,andtherestbitsistocontrol.
Bit
7(MSB)
6
5
4
3
2
1
0(LSB)
Function
Channel
Direction
Speed
Bit7(Channel):0motorLEFT,1motorRIGHT.
Bit60:Controlmotordirectionandspeed.
Example:ValueinDecimal
● 0or64motorLEFTstop.
● 63motorLEFTfullforward.
● 127motorLEFTfullreverse.
● 128or192motorRIGHTstop.
● 191motorRIGHTfullforward.
● 255motorRIGHTfullreverse.
Simplified Serial mode is selected by setting SW1, SW2 to 1 (Up) and SW3 to 0 (Down).
SW4–SW6areusedtoselecttheUARTbaudrate.
InputMode
SW1SW3
110
SimplifiedSerialMode
UARTBaudRate
SW4SW6
000
001
010
011
100
101
110
111
BaudRate
1200
2400
4800
9600
19200
38400
57600
115200
0OFF 1ON XDon’tCare
CreatedbyCytronTechnologiesSdn.Bhd.–AllRightsReserved 21