MSDxx Manual v30

Cc-Smart Technology Co., Ltd
6. UART Command Feature:
Discription:
This driver support ASCII UART command line. User can use UART interface to
communicate with the driver by ASCII. So they can work well with MCU, Arduino,
Raspberry… by the UART interface.
Any MSD_XX is addressed in the manufacture (the user can reconfigure by the button
or by the DcTurnerPro App) and work as Slave Mode in the UART Network. A MCU
can work as Mater mode and communicate to many slave (Msd_xx Driver)
UART Parameter
Baud Rate 1 (C7=0): 115200
Baud Rate 2 (C7=1): 57600
Baud Rate 3 (C7=2): 19200
Word Length: 8 Bit
Stop Bits: 1
Parity: None
Configuration by the Button:
Use button to config
C5=1; C6=1; C7=2 -> Reset
UART Command:
Host Send Format:
N0 ? \n : Help
Nx $xxx= Parameter_Value \n : Parameter Setting Group;
$001=20; Address of the Driver is: 20
$002=200; Encoder Line (Encoder resolution per Round)
$003=400; The main Motor Saft will run 1/400 circle per One Pulse from
External Pin (Pul/Dir).
$004=4; Model Close Loop Type (0: Turning, 1: None, 2: PID Position,
3: PI Velocity (recommend), 4: Smart Position (recommend), 5: None, 6: H-Bridge
mode (Working as H-Bridge))
$005=0; Communicate Methode (0: PULSE/DIR, 1: UART Network, 2:
None, 3: Analog (Just for velocity Mode))
RX Pin
GND Pin
Driver 1
TX Pin
RX PIN
GND
MCU
TX
RX Pin
GND Pin
Driver n
TX Pin
…………
…………