Article
Stepper Motors Uncovered (2)
a universal 4-channel unipolar stepper drive
Having covered the fundamentals to stepping motors and drive systems, this second and final part provides a comprehensive design to a fourchannel unipolar stepper drive with complete interface electronics for direct operation from a standard PC.This second part of the article includes full details to build, test and use a low-cost 4-channel stepper motor drive which can be tailored to your applications. The project includes the RS-232 interface for direct connection to the PC, a custom high-level control language for executing commands sent to the controller and the drive electronics to power the motors. In addition, the PC communication software will be explained in some detail allowing full customisation to your specific requirements. This software is compatible with all Microsoft Windows 32-bit platforms and was developed in Borland Delphi.
Materials
Extra info / Update
On the printed circuit board overlay, the symbols for FETs T1-T16 have been printed the wrong way around. The FETs devices should be mounted the other way around.
Component list
Resistors:
R1,R2 = 330?
R3,R4 = 100?
R5 = 1k?
R6-R10 = 220?
R11-R14,R17-R20,R23-R26,R29-R32 = 10k?
R15,R16,R21,R22,R27,R28,R33,R34 = 18? 5 watt (see text)
Capacitors:
C1-C5,C8,C9,C10 = 100nF
C6,C7 = 33pF
C11 = 1000µF 40V radial
Semiconductors:
D1-D4 = LED, green, 3mm
D5 = LED, red, 3mm
D6-D21 = MBR2060CT (Farnell # 247-157) (see inset)
IC1 = PIC16F873-20/SP (not available ready-programmed)
IC2 = MAX232CPE
IC3 = 7805CP
T1-T16 = Logic-level MOSFET, for example, RFD14N05L (Farnell # 516-399) (see inset)
Miscellaneous:
F1 = fuse, 3AF (fast) with PCB mount holder
K1 = 9-way sub-D socket (female), PCB mount
K2 = 2-way PCB terminal block, 5mm lead pitch
K3-K6 = 6-way SIL pinheader
X1 = 20MHz quartz crystal
PCB, order code 020127-1 from ThePCBShop
Disk, contains all source code files, order code 020127-11 or Free Download
R1,R2 = 330?
R3,R4 = 100?
R5 = 1k?
R6-R10 = 220?
R11-R14,R17-R20,R23-R26,R29-R32 = 10k?
R15,R16,R21,R22,R27,R28,R33,R34 = 18? 5 watt (see text)
Capacitors:
C1-C5,C8,C9,C10 = 100nF
C6,C7 = 33pF
C11 = 1000µF 40V radial
Semiconductors:
D1-D4 = LED, green, 3mm
D5 = LED, red, 3mm
D6-D21 = MBR2060CT (Farnell # 247-157) (see inset)
IC1 = PIC16F873-20/SP (not available ready-programmed)
IC2 = MAX232CPE
IC3 = 7805CP
T1-T16 = Logic-level MOSFET, for example, RFD14N05L (Farnell # 516-399) (see inset)
Miscellaneous:
F1 = fuse, 3AF (fast) with PCB mount holder
K1 = 9-way sub-D socket (female), PCB mount
K2 = 2-way PCB terminal block, 5mm lead pitch
K3-K6 = 6-way SIL pinheader
X1 = 20MHz quartz crystal
PCB, order code 020127-1 from ThePCBShop
Disk, contains all source code files, order code 020127-11 or Free Download
Discussion (0 comments)