background image

GP13

GP12

GP11

VCC

AGND

Green

1

2

D1

Green

1

2

D2

Green

1

2

D3

Green

1

2

D4

VCC

AGND

AGND

VCC

3

5,6,8

4,7

1,2,

Q1

CSD17571Q2

DGND

0.1

µ

F

C3

IN1

0

R14

TP1

TP2

TP3

TP4

IN1

IN2

IN3

IN4

IN5

IN6

IN7

IN8

IN1

IN2

IN3

IN4

1B

1

2B

2

3B

3

4B

4

5B

5

6B

6

7B

7

GND

8

COM

9

7C

10

6C

11

5C

12

4C

13

3C

14

2C

15

1C

16

U2

ULN2003ADR

1
2
3
4
5
6

J7

1
2
3
4
5
6

J8

M1_CH1

M1_CH2

M1_CH3

M1_CH4

M2_CH5

M2_CH6

M2_CH7

M2_CH8

COM

AGND

VCC

0

R5

DGND

0

R15

COM

1

µ

F

C1

D7

DB2W 40200L

D6
DB2W 40200L

VIN

1
2

J9

12V

D5

5V

D8

DB2W 40200L

1.0k

R1

1.0k

R7

1.0k

R3

1.0k

R4

     Copyright © 2016, Texas Instruments Incorporated      

GP10

GP9

GP8

GP6

GP2

560

R8

0

R6

0

R2

0

R9

0

R10

560

R13

560

R12

560

R11

La

u

n

ch

p

a

d

 I

n

p

u

ts

M

o

to

r/

P

e

rip

h

e

ra

l O

u

tp

u

ts

X

X

X

X

DNP

DNP

DNP

DNP

www.ti.com

Functional Modes

19

SLCU002 – September 2016

Submit Documentation Feedback

Copyright © 2016, Texas Instruments Incorporated

BOOSTXL-ULN2003 Dual Stepper Motor Driver BoosterPack Hardware

4.3

8-pin Parallel Mode

4.3.1

Enabling 8-pin Mode

The BoosterPack has the required components to run ONLY 4 pins of the 8-pin Mode out of the box.
Ultimately, this allows control of a single stepper motor in a parallel control mode, so additional
components are required to enable control of all 8 outputs in parallel mode. To use 8-pin mode, the four
dip switches should be in the upper position. Each switch works as defined in

Table 2

.

To enable all 8 pins for this mode of operation, a 0-

Ω

resistor or solder bridge should be populated on the

pads for resistors R6, R2, R9, and R10 to enable IN5, IN6, IN7, and IN8 respectively.

NOTE:

The 560-

Ω

resistors exist on IN1, IN2, IN3, and IN4 to help protect against bus contention if

the IN1, IN2, IN3, and IN4 pins are being driven by both the SN74HC595 and the
microcontroller. This should only happen if the dip switches are in the wrong position. If the
intent is to use the device in the 8-pin mode, and the switches are set properly, then there
should be no potential for bus contention, and therefore 560-

Ω

resistors are not required for

R6, R2, R9, and R10.

4.3.2

8-pin Mode of Operation

Figure 25

shows the effective schematic for the 8-pin mode of operation. Inputs GP11, GP12, GP13, GP8,

GP6, GP2, GP9, and GP10 from the microcontroller are used to drive the inputs of the ULN2003A device
directly. For example software to drive unipolar stepper motors using the ULN2003A, see

Section 5.2

.

Figure 25. 8-Pin Mode Abbreviated Schematic (Zoom for Higher Resolution)

Summary of Contents for BOOSTXL-ULN2003

Page 1: ...BOOSTXL ULN2003 Dual Stepper Motor Driver BoosterPack Hardware User s Guide Literature Number SLCU002 September 2016 ...

Page 2: ...ram 7 2 4 Connector Switch and LED Descriptions 8 2 5 Powering the BOOSTXL ULN2003 11 2 6 Other Hardware Highlights 13 3 Interfacing With External Hardware 15 3 1 Connecting to a LaunchPad 15 3 2 Connecting a Motor or Other Peripherals 15 3 3 Connecting to Other Development Boards 16 4 Functional Modes 17 4 1 Modes of Operation Overview 17 4 2 3 pin Serial Mode 18 4 3 8 pin Parallel Mode 19 5 Addi...

Page 3: ...upply Connected to Motor Supply Pins 11 12 On Board Power OR ing 11 13 USB Powering a Single Motor See NOTE 12 14 BoosterPack With ULN2003A 13 15 BoosterPack With ULN2803A 13 16 Board Image of LED Section 14 17 LED Section With R5 Depopulated 14 18 Board Image of COM Diode Section 14 19 COM Diode Section With R14 Depopulated 14 20 BoosterPack Connected to MSP430F5529 LaunchPad 15 21 BoosterPack Wi...

Page 4: ...6 Submit Documentation Feedback Copyright 2016 Texas Instruments Incorporated List of Tables List of Tables 1 J1 and J2 Connector Pinout Description 8 2 Dip Switch Description 9 3 LED Description 10 4 Description of Hardware Changes 20 ...

Page 5: ...controlled either through a serial 3 pin or parallel 8 pin mode Using the BOOSTXL ULN2003 in serial 3 pin mode allows for control of two unipolar stepper motors while only requiring 3 General Purpose Input Output GPIO pins ultimately allowing for flexibility in design and reduction in the number of GPIO pins required The BOOSTXL ULN2003 can not only be used to provide an interface to unipolar step...

Page 6: ...rPack Hardware 2 Hardware Description 2 1 Top and Bottom View Figure 2 is a top view of the BOOSTXL ULN2003 and Figure 3 is a bottom view of the BOOSTXL ULN2003 Figure 2 Top View of BOOSTXL ULN2003 Figure 3 Bottom View of BOOSTXL ULN2003 2 2 Board Overview Figure 4 shows an overview of the BOOSTXL ULN2003 BoosterPack The main features such as devices switches connectors and LEDs are highlighted Se...

Page 7: ...d ecosystem See ti com launchpad for a list of all available MSP430 LaunchPads A row of four switches allow the user to choose between a parallel direct drive 8 pin mode and a serial 3 pin mode of control of the ULN2003A The ULN2003A is a 7 channel Darlington pair array that is used to drive motors solenoids LEDs or relays See the ULN2003A product folder for additional overview regarding this devi...

Page 8: ... other development boards See Section 3 3 for details regarding connecting to other development boards 1 Pins with no name description are not connected Pins with the same name description are shorted together 2 These pins are not required for BoosterPack operation 3 These pins are not connected out of the box To enable control of this board through these pins see Section 4 3 1 4 This pin is conne...

Page 9: ...Parallel Mode S1 GP12 This SPDT switch directs the signal from BoosterPack header input GP12 If the switch is down it connects GP12 to the RCLK input of the SN74HC595 If the switch is up it connects GP12 directly to IN2 ultimately connected to 1B of the ULN2003A device Switch Down 3 pin Serial Mode Switch Up 8 pin Parallel Mode S2 GP13 This SPDT switch directs the signal from BoosterPack header in...

Page 10: ...Image of LEDs Figure 10 Schematic View of LEDs Table 3 LED Description Reference Description D1 D1 is connected to the signal IN1 D1 is on when IN1 is high and is off when IN1 is low When IN1 is high M1_CH1 is activated ultimately being pulled to AGND as the CSD17571Q2 inverts the logic signal D2 D2 is connected to the signal IN2 D2 is on when IN2 is high and is off when IN2 is low When IN2 is hig...

Page 11: ...For higher current or voltage applications the external motor supply pins should be connected to an external supply as shown in Figure 11 The maximum voltage supplied through these pins should not exceed 30 V or permanent damage to components may occur While there is some protection against reverse polarity included on the board note the correct orientation of the motor supply pins to avoid perman...

Page 12: ...when this can be used See the following NOTE The 5 V stepper motor used in Figure 13 below has the following Digi Key Part Number 1528 1366 ND A 12 V version of this stepper motor has the following Digi Key Part Number 1528 1367 ND Figure 13 USB Powering a Single Motor See NOTE NOTE When using the 5 V pin USB Power to provide power to an external peripheral TI does not recommend to exceed 250 mA a...

Page 13: ...own in Figure 14 the Boosterpack has the landing pattern for both the 16 pin D SOIC as well as the 18 pin DW WIDE SOIC package Figure 15 shows the Boosterpack populated with the ULN2803A device If the ULN2003A device is depopulated the following list of devices can be populated in order to be evaluated ULQ2003A 40 C to 105 C Temperature Range ULQ2003 Q1 Automotive Qualified Variant ULN2003LV FET b...

Page 14: ...rge The ULN2003A has internal flyback diodes to suppress voltage spikes due to inductive kickback Stepper Motors and relays have inductive kickback that is suppressed by these internal diodes The rate of discharge of the inductor is also directly proportional to the voltage across the inductor when discharging Figure 18 shows the section of the board near the COM pin of the ULN2003A device Diode D...

Page 15: ...ge to the BoosterPack Figure 20 BoosterPack Connected to MSP430F5529 LaunchPad 3 2 Connecting a Motor or Other Peripherals The Boosterpack provides two standard 100 mil spacing female receptacles to interface two unipolar stepper motors or other peripherals such as relays solenoids or LEDs Each receptacle provides a six pin interface Four pins are dedicated to the outputs of the ULN2003A and CSD17...

Page 16: ... Male Expansion Header 3 3 Connecting to Other Development Boards The BoosterPack is compatible with Arduino development boards but some additional hardware is required beyond what is supplied in the box The following list shows the additional required materials These must be populated on the BoosterPack to enable a hardware interface with the development board J0 Male Pin Header J5 Male Pin Heade...

Page 17: ...ly 1 There are NO resistors populated for pins GP6 GP2 GP9 and GP10 therefore there will be no direct connection to IN5 IN6 IN7 and IN8 respectively 0 Ohm or solder bridge connections can be made to connect these pins in order to enable the full functionality of 8 pin mode See Section 4 3 1 for additional details 2 There IS a resistor populated for pin IN4 therefore it can be used in 8 pin mode wi...

Page 18: ... Inputs Motor Peripheral Outputs Functional Modes www ti com 18 SLCU002 September 2016 Submit Documentation Feedback Copyright 2016 Texas Instruments Incorporated BOOSTXL ULN2003 Dual Stepper Motor Driver BoosterPack Hardware 4 2 3 pin Serial Mode 4 2 1 Enabling 3 pin Mode The BoosterPack has all of the required components to run 3 pin Mode out of the box To enable this mode of operation the four ...

Page 19: ... single stepper motor in a parallel control mode so additional components are required to enable control of all 8 outputs in parallel mode To use 8 pin mode the four dip switches should be in the upper position Each switch works as defined in Table 2 To enable all 8 pins for this mode of operation a 0 Ω resistor or solder bridge should be populated on the pads for resistors R6 R2 R9 and R10 to ena...

Page 20: ... Resource Explorer dev ti com tirex The schematic for the design is also attached as Figure 26 to the end of the document for quick reference 5 2 Software For software examples including the out of box experience 3 pin mode driving and 8 pin mode driving see dev ti com BOOSTXL ULN2003 For additional information regarding stepper motor driving patterns including half step full step and wave drive s...

Page 21: ...SRCLK RCLK 5 4 1 2 3 6 7 8 J0 5 4 1 2 3 J6 0 1µF C2 IN4 IN1 IN2 IN3 IN4 IN5 IN6 IN7 IN8 IN1 IN2 IN3 IN4 IN6 IN5 IN7 IN8 3V3 DGND OE OE DGND 3V3 1B 1 2B 2 3B 3 4B 4 5B 5 6B 6 7B 7 GND 8 COM 9 7C 10 6C 11 5C 12 4C 13 3C 14 2C 15 1C 16 U2 ULN2003ADR 5 4 1 2 3 6 7 8 9 10 J5 IN1 IN2 IN3 IN4 IN5 IN6 IN7 IN8 AGND COM M2_CH8 M2_CH7 M2_CH6 M2_CH5 M1_CH4 M1_CH3 M1_CH2 M1_CH1 1 2 3 4 5 6 J7 1 2 3 4 5 6 J8 M1...

Page 22: ...22 SLCU002 September 2016 Submit Documentation Feedback BOOSTXL ULN2003 Dual Stepper Motor Driver BoosterPack Hardware ...

Page 23: ... in connection with the development of applications that include the TI product s identified in such TI Resource NO OTHER LICENSE EXPRESS OR IMPLIED BY ESTOPPEL OR OTHERWISE TO ANY OTHER TI INTELLECTUAL PROPERTY RIGHT AND NO LICENSE TO ANY TECHNOLOGY OR INTELLECTUAL PROPERTY RIGHT OF TI OR ANY THIRD PARTY IS GRANTED HEREIN including but not limited to any patent right copyright mask work right or ...

Page 24: ... TI Resource NO OTHER LICENSE EXPRESS OR IMPLIED BY ESTOPPEL OR OTHERWISE TO ANY OTHER TI INTELLECTUAL PROPERTY RIGHT AND NO LICENSE TO ANY TECHNOLOGY OR INTELLECTUAL PROPERTY RIGHT OF TI OR ANY THIRD PARTY IS GRANTED HEREIN including but not limited to any patent right copyright mask work right or other intellectual property right relating to any combination machine or process in which TI product...

Reviews: