ROBOT . HEAD to TOE
Product User’s Manual – MDDS10
8.3 SERIAL SIMPLIFIED MODE
In Simplified Serial mode, SmartDriveDuo-10 is controlled by using the UART interface.
DIG1 pin is the UART Rx. DIG2, AN1 and AN2 pins are not used in this mode.
A single byte of data is all you need to control the speed and direction for each motor. First
MSB bit is to select which motor to control, and the rest bits is to control.
Bit 7 (Channel): 0 - motor LEFT, 1 - motor RIGHT.
Bit 6 - 0: Control motor direction and speed.
Example: Value in Decimal
● 0 or 64 - motor LEFT stop.
● 63 - motor LEFT full forward.
● 127 - motor LEFT full reverse.
● 128 or 192 - motor RIGHT stop.
● 191 - motor RIGHT full forward.
● 255 - motor RIGHT full reverse.
Simplified Serial mode is selected by setting SW1, SW2 to 1 (Up) and SW3 to 0 (Down).
SW4 – SW6 are used to select the UART baud rate.