Product User’s Manual –
8.3 SIMPLIFIED SERIAL MODE
In Simplified Serial mode,
is controlled by using the UART interface. Input 1
is the UART Rx pin and Input 2 is the Slave Select pin.
The Slave Select must be HIGH in order for the driver to receive the UART command. If the
Slave Select pin is set to LOW, all the UART data will be ignored. This feature allows
multiple SmartDrive40 to be connected together to a single microcontroller UART port. The
Slave Select pin is internally pulled high and it may be left unconnected if not used.
A single byte of data is all you need to control the speed and direction of the motor. Sending
byte 127 stops the motor, 0 is full reverse and 255 is full forward.
Simplified Serial mode is selected by setting
SW1, SW2 and SW4 to 0 (Down) and SW3
to
1 (Up)
. SW5 is not used in this mode and SW6 – SW8 are used to select the UART baud rate.
Input Mode
SW1 SW4
0010
Simplified Serial Mode
UART Baud Rate
SW6 SW8
000
001
010
011
100
101
110
111
Baud Rate
1200
2400
4800
9600
19200
38400
57600
115200
0 OFF
1 ON
X Don’t Care
Figure below shows the connection to multiple SmartDrive40 in Simplified Serial Mode.
Created by Cytron Technologies Sdn. Bhd. – All Rights Reserved
29