Cytron 3A Motor Driver Shield SHIELD-3AMOTOR User s Manual Rev 1.0 April 2017 Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. No representation or warranty is given and no liability is assumed by Cytron Technologies Incorporated with respect to the accuracy or use of such information or infringement of patents or other intellectual property rights arising from such use or otherwise. Use of Cytron Technologies s products as critical components in life support system is not authorized except with express written approval by Cytron Technologies. No licenses are conveyed, implicitly or otherwise, under any intellectual property rights.
Back to INDEX 1
INDEX ROBOT.HEAD to TOE PAGES 1. INTRODUCTION 2. PACKING LIST 3. PRODUCT SPECIFICATIONS 4. BOARD LAYOUT 5. POWER SUPPLY 6. HARDWARE CONNECTION 6.1. Motor Controlled IO Pins 6.2. Auto_Calibrating Line Sensor IO Pins 7. WARRANTY 2 3 4 5 7 8 11 13 15 Back to INDEX 2
1. INTRODUCTION Cytron 3A Motor Driver Shield ( Code: SHIELD-3AMOTOR ) is an Arduino shield for controlling dual DC motor up to 3A for each channel. This product is improvement from our previous Cytron 2A Motor Driver Shield. It is compatible with most of Arduino boards like Uno, Leonardo, Mega, Due, Zero, 101 and possibly other pin compatible main boards like CIKU, CT UNO and CT ARM. SHIELD-3AMOTOR uses DRV8871 SMD IC and support for both signed magnitude and locked anti-phase. Compare to previous shield, SHIELD-3AMOTOR can handle higher current up to 3A together with limit current protection. Some of the features for SHIELD-3AMOTOR are summarized as below: Bi-directional control for dual brushed DC motor. Support motor voltage from 7V to 30V*. Maximum current up to 3A peak and 1.2A continuously, each channel. Current limit protection. Support 3.3V and 5V logic level input. Stackable I/O header pin. Selectable DIP switch mode for Signed Magnitude and Locked Anti-Phase. Quick test switch for both channel. NO POLARITY PROTECTION FOR V MOTOR. *For voltage more than 12V, please refer to section 5. Power Supply. Back to INDEX 3
2. PACKING LIST Please check the parts and components according to the packing list. If there are any parts missing, please contact us at sales@cytron.com.my immediately. No ITEMS QUANTITY 1 Cytron 3A Motor Driver (Code: SHIELD-3AMOTOR ) 1 Back to INDEX 4
3. PRODUCT SPECIFICATIONS Dimension (unit in mm): Absolute Maximum Rating of SHIELD-3AMOTOR: No PARAMETERS Min Typ Max Unit 1 Input Voltage (Motor Supply Voltage) 7 30 V 2 I MAX (Max Continuous Motor Current) * 1.2 A 3 I PEAK (Peak Motor Current) ** 3 A 4 V IOH (Logic Input HIGH Level) 1.5 5 V 5 V IOL (Logic Input LOW Level) 0 0.5 V * Depends on the room temperature. **Must not exceed 1 second. NOTE For Input Voltage more than 12V, please refer to section 5. Power Supply. Back to INDEX 5
4. BOARD LAYOUT Top view Bottom view Back to INDEX 6
LABEL A B C D E F G H I J K L M N O P FUNCTION LSS05 CONNECTOR Connector for Auto-Calibrating Line Sensor (Code: LSS05 ). User can connect LSS05 directly to this shield and can be interfaced with Arduino. MOTOR 2 TERMINAL BLOCK Connect to DC motor. User can screw to lock the wire to the terminal block. MOTOR 1 TERMINAL BLOCK Connect to DC motor. User can screw to lock the wire to the terminal block. POWER SUPPLY TERMINAL BLOCK Connect to battery power source. User can screw to lock the wire to the terminal block. NO POLARITY PROTECTION, please double check the connection before power up. MOTOR 2 LED INDICATOR Indication for current flow and direction for motor LEFT. If LED M2A turns on, means current flows from output M2A to M2B. Vice versa. MOTOR 1 LED INDICATOR Indication for current flow and direction for motor LEFT. If LED M1A turns on, means current flows from output M1A to M1B. Vice versa. POWER LED INDICATOR Indication for board s power. RESET BUTTON Press this button will restart the system. ARDUINO STACKABLE HEADER PIN Other Arduino shield can be stacked on top of this shield. MODE SELECTION DIP SWITCH User can select either sign magnitude or locked anti-phasemode by setting the DIP switch. MOTOR 2 TEST BUTTON Fast test to check driver functionality for motor 2. If A is pressed, current flows from output M2A to M2B. Vice Versa. MOTOR 1 TEST BUTTON Fast test to check driver functionality for motor 1. If A is pressed, current flows from output M1A to M1B. Vice Versa. MOTOR CONNECTION PADS For ADVANCED user who want to change the motor control pins connection. DIP SWITCH SETTING EXAMPLE Example DIP switch setting for Sign Magnitude and Locked Anti-Phase. LSS05 CONNECTION PADS For ADVANCED user who want to change LSS05 connection. PWRIN VIN CONNECTION PAD In case want to supply more than 12V, please disconnect this pad. For more detail, please refer to section 5. Power Supply. Back to INDEX 7
5. POWER SUPPLY SHIELD-3AMOTOR supports battery with input voltage ranges from 7V to 30V. For voltage more than 12V, Vin and PWRIN must be supply with different source and this connection (please refer to the pictures below) must be cut. NOTE Left and right photos shows the PWRIN Vin connection before and after cut. PWRIN comes from SHIELD-3AMOTOR power connector, while Vin is from Arduino adapter. Arduino Uno recommendation input voltage is 12V (max) and this is the reason why PWRIN Vin must be disconnected (if user would like to supply more than 12V to SHIELD-3AMOTOR). WARNING THERE IS NO POLARITY PROTECTION ON SHIELD-3AMOTOR, PLEASE DOUBLE CHECK THE CONNECTION BEFORE CONNECTING TO POWER SOURCE. ONCE THE TRACE IS BEING CUT, WARRANTY IS VOID. Back to INDEX 8
6. HARDWARE CONNECTION This section shows the example of using SHIELD-3AMOTOR with Arduino Uno as the main controller to control dual brush DC motor. However, other Arduino main board controller can be used (Leonardo, Mega, Due). Arduino Uno with SHIELD-3AMOTOR Arduino Mega with SHIELD-3AMOTOR Back to INDEX 9
CIKU with SHIELD-3AMOTOR CT UNO with SHIELD-3AMOTOR Back to INDEX 10
Example of line following robot with SHIELD-3AMOTOR Back to INDEX 11
6.1 Motor Controlled IO Pins User can set mode on SHIELD-3AMOTOR to Signed Magnitude or Locked Anti-Phase mode by moving the 4 mini switches on DIP switch mode. By default, connection between SHIELD-3AMOTOR control pins and Arduino pins is shown as table below. SHIELD-3AMOTOR Control Pin Name Sign Magnitude Arduino Pins Locked Anti-Phase DIR1 4 5 EN1 5 4 EN2 6 7 DIR2 7 6 To set SHIELD-3AMOTOR to Sign Magnitude mode, move mini switch labeled 5, 6, 7, 8 to ON. While, for Locked Anti-Phase mode, set mini switch 1, 2, 3, 4 to ON. DIP Switch for Sign Magnitude DIP Switch for Locked Anti-Phase NOTE Please set either Sign Magnitude or Locked Anti-Phase at a time. Mix up the setting will cause to unexpected result. Back to INDEX 12
For ADVANCED user, If you would like to change the default connection for motor control pins, you can cut the connection (please refer the photo below) at the back of the board, solder a jumper and connect to any IO. WARNING ONCE THE TRACE IS BEING CUT, WARRANTY IS VOID. Back to INDEX 13
6.2 Auto-Calibrating Line Sensor IO Pins Auto-Calibrating Line Sensor (LSS05) can be connected directly to SHIELD-3AMOTOR and can be interfaced with Arduino. Below is a table showing the default connection between LSS05 and SHIELD-3AMOTOR Arduino pins. Auto-Calibrating Line Sensor Pins Arduino Pins O1 13 O2 12 O3 11 O4 10 O5 9 Calibrate 8 Back to INDEX 14
For ADVANCED user, If you would like to change the default connection for LSS05 pins, you can cut the connection (please refer the photo below) at the back of the board, solder a jumper and connect to any IO. WARNING ONCE THE TRACE IS CUT, WARRANTY IS VOID. Back to INDEX 15
7. WARRANTY Product warranty is valid for 12 months. Warranty only applies to manufacturing defect. Any damage caused by misuse is not covered under warranty. Warranty does not cover freight cost for both ways. Prepared by: Cytron Technologies Sdn Bhd www.cytron.com.my No. 1, Lorong Industri Impian 1, Taman Industri Impian, 14000 Bukit Mertajam, Penang, Malaysia. Tel: +604-548 0668 Fax: +604-548 0669 Email: support@cytron.com.my sales@cytron.com.my Back to INDEX 16