background image

 

ROBOT . HEAD to TOE 

                                                                    

Product User’s Manual – 

MDS160A

 

 

 

7.0 INPUT MODE 
 

When the

SmartDrive160

is powered up, the input mode will be read from the DIP switch

 

 

   

 

 

 

 

 

   

 

 

 

 

 

and retained as long as the driver is powered. If you wish to change the input mode, you will

 

   

   

 

   

   

 

   

 

 

 

 

 

 

need to change the setting on the DIP switch and power cycle the driver (Turn it off and turn

   

 

 

   

 

 

 

 

 

 

 

 

   

 

 

 

it on again). 
 
In RC or Analog/PWM Input mode, two units of SmartDrive160 may be used together to

 

   

 

 

 

 

   

 

   

 

   

control two motors in mixed mode. This is useful to control the robot with differential drive

 

 

   

 

 

   

   

 

 

 

 

 

 

system where one input controls the speed and forward/backward direction of the robot,

 

 

 

 

 

 

 

 

 

   

 

 

while another input controls the left/right direction of the robot.  
 
SmartDrive160 supports four different types of input mode. The DIP switch settings for each

 

 

 

 

   

 

 

 

 

 

 

 

 

mode and the function for input pin are summarized as below: 
 

Input 
Mode 

DIP Switch 

(SW1 ­ 

SW4) 

DIP Switch 

(SW5 ­ 

SW8) 

Description 

Input 1 

Input 2 

RC 

0000XXXX 

SW5:6 
 
 
 
 
SW7 
 
SW8 

Single/Mix Mode 
0X ­ Single 
10

­ Mix (Left)* 

11

­ Mix (Right)* 

 
Exponential Mode 
 
MCU Mode 

Speed 

Steering (Mix 
Mode) 

Analog / 

PWM 

XX01XXXX 

SW1:2 
 
 
 
SW5:6 
 
 
 
 
SW7 
 
SW8 

Analog/PWM Mode 
00

­ Analog 

11

­ PWM 

 
Single/Mix Mode 
0X ­ Single 
10

­ Mix (Left)* 

11

­ Mix (Right)* 

 
Exponential Mode 
 
Sign­Magnitude Mode 
(Single Mode only). 
SW2 must be 0. 

Speed 

Steering (Mix 
Mode) 
 
Direction 
(Sign­Magnitude)  

Simplified 

Serial 

0010XXXX 

SW5 
 
SW6:8 

N/A 
 
UART Baud Rate 
000 ­ 1200 
001 ­ 2400 
010 ­ 4800 
011 ­ 9600 
100 ­ 19200 
101 ­ 38400 
110 ­ 57600 
111 ­ 115200 

UART Rx 

Slave Select 

Packetized 

Serial 

0011XXXX 

SW5:8 

UART Slave Address

 

 

 

(0x00 – 0x0f) 

UART Rx 

N/A 

0 – OFF

1 – ON

X – Don’t Care 

* Left/Right is just for reference. Actual side of the motor may depends on the RC transmitter or analog/PWM  
input. 

Created by Cytron Technologies Sdn. Bhd. – All Rights Reserved

 

10 

 

Summary of Contents for MDS160A

Page 1: ...ROBOT HEAD to TOE Product User s Manual MDS160A MDS160A SmartDrive160 User s Manual V1 0 Aug 2014 Created by Cytron Technologies Sdn Bhd All Rights Reserved 1...

Page 2: ...view 2 Packing List 3 Product Specifications 4 Board Layout 5 Power Supply 6 Safety Features 7 Input Modes 7 1 RC Input Mode 7 2 Analog PWM Input Mode 7 3 Simplified Serial Mode 7 4 Packetized Serial...

Page 3: ...driving a robot with differential drive a truly plug and play experience Some of the features for SmartDrive160 are summarized as below Bi directional control for a single brushed DC motor Support in...

Page 4: ...rts and components according to the packing lists If there are any parts missing please contact us at sales cytron com my immediately 1 1 x MDS160A SmartDrive160 2 User s Manual can be downloaded from...

Page 5: ...otor Current 160 A 3 I PEAK Peak Motor Current 190 A 4 V IOH Logic Input High Level 3 5 5 V 5 V IOL Logic Input Low Level 0 0 0 5 V 6 5V Output Current 1 A Depends on the room temperature Not applicab...

Page 6: ...otor Terminal B Connect to the moto Swap with Motor Terminal A if the direction is incorrect 5 LED A Turns on when the Motor Terminal A is high and Motor Terminal B is low Indicates the current flows...

Page 7: ...from Motor Terminal B to A and motor will turn CCW or CW depending on the connection 11 Test Button A When this button is pressed current flows from Motor Terminal A to B and motor will turn CW or CC...

Page 8: ...t to connect a battery with same voltage in parallel with the power supply to absorb the current generated by the motor Else the input voltage might rise to a level where SmartDrive160 will be destroy...

Page 9: ...b Overvoltage Protection Error LED blinks 4 times When the motor is slowing down current will be generated and flow back to charge the battery However if the power source cannot absorb the current ge...

Page 10: ...ettings for each mode and the function for input pin are summarized as below Input Mode DIP Switch SW1 SW4 DIP Switch SW5 SW8 Description Input 1 Input 2 RC 0000XXXX SW5 6 SW7 SW8 Single Mix Mode 0X S...

Page 11: ...ROBOT HEAD to TOE Product User s Manual MDS160A Created by Cytron Technologies Sdn Bhd All Rights Reserved 11...

Page 12: ...the right motor of the robot differential drive system Input 1 controls the overall speed as well as forward backward movement of the robot Input 2 controls the left right or pivot movement of the rob...

Page 13: ...tch Mode 00000000 RC Mode Single Channel Mode Exponential Off MCU Mode Off 00000010 RC Mode Single Channel Mode Exponential On MCU Mode Off 00001000 RC Mode Left Mix Mode Exponential Off MCU Mode Off...

Page 14: ...e SW3 SW4 01 Analog PWM Input Mode Single Mix Mode SW5 SW6 0X 10 11 Single Channel Mode The motor speed and direction are controlled by a single channel connected to Input 1 Motor stops when the input...

Page 15: ...Right is just for reference only Actual side of the motor may depends on the Input signal For Watanabe revision the center value is 3V and motor stops if 0 8V Input 2 must be low to enable the driver...

Page 16: ...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 1...

Page 17: ...the header byte the error LED will blink and indicate that there is input error 2 SmartDrive160 may take up to 500ms to start up after power is applied Sending the header byte for auto baud during th...

Page 18: ...miss use is not covered under warranty Warranty does not cover freight cost for both ways Prepared by Cytron Technologies Sdn Bhd 19 Jalan Kebudayaan 1A Taman Universiti 81300 Skudai Johor Malaysia T...

Reviews: