Microstep Driver Manual: Version 6/13/2006
Microstep Driver Manual: Version 6/13/2006
Microstep Driver Manual: Version 6/13/2006
Version 6/13/2006
Specifications:
Microchip PIC microcontroller based.
Drives 4,6 or 8 wire bipolar/unipolar stepper motors up to 3amps at 55volts per phase.
Can be flash programmed to support half/full steps plus 4,8 or 10 microstep modes.
Adjustable chopper current drive.
Standard TTL step and direction inputs.
Power connections.
The EAS Microstep driver board has a 55Volt maximum input voltage for powering
stepper motors. Power leads must be connected to correct terminal screw. Do not
reverse the power input or exceed 55volts, the LMD18245 drivers can be damaged by
this.
Connect your stepper power supply to the MOT PWR screw terminal located on the
right side of the board. Positive supply input connects to screw terminal labeled +.
If stepper motor power supply is far away from driver board, connect a 470uf 65volt
capacitor directly to MOT PWR screw terminals.
The driver board also requires a separate supply to power the low voltage section of the
driver board. Connect an 8-12volt supply to the screw terminals labeled PWR and
GND. The PWR terminal is +positive supply input. This terminal is located near the
front right side of the board. You can use the 12volt computer disk drive cable
connector to supply power to the board. This is the recommended way to hook up
power to the onboard 5volt regulator.
Always turn on the low voltage power supply/Computer before turning on the higher
voltage stepper motor power supply.
The LMD18245 driver chip is rated at 55volts maximum DC input. When using a power
supply that is over 45volts, there will be some motor back EMF, induced by stepper
motor deceleration, which may cause the voltage to rise above the rated 55volt limit.
For added protection, place a correctly rated zener diode to help clamp the voltage
below 55volts. We also recommend placing a fast blow 2.5amp fuse on the motor
supply input connector for each driver board.
Step/Direction connections.
If you are using the parallel port Breakout Board, connect the step, direction and ground
terminals to the corresponding step/dir/GND screw terminals on the Microstep driver
board.
If the Breakout Board isn’t used, you will need to connect the appropriate step and
direction I/O pins from the PC parallel port to the Microstep driver board. You will also
need to connect the parallel port ground, pin 25, to the terminal labeled GND on the
driver board. Please read the TurboCNC or MACH2 manual for more info on correct
step and direction pin I/O assignments.
The step and direction signals should be set to “Active Low” pin state with a pulse width
atleast 2 microseconds. Some external parallel port optoisolation boards invert the step
and direction signals. If this is the case, set the pin state to “Active High”.
The maximum step frequency rate is 45Khz. With 8 microstep mode, this is
approximately 1700rpm with a standard 1.8degree/step motor.
Brake Connection
One of the design features of the LMD18245 driver is a brake terminal pin. This can be
used to disable power to the stepper motors. A high signal will enable braking and will
stop the stepper motors. Normal operation, the brake terminal is low or grounded. If this
feature isn’t needed, you can solder the jumper pad J4 labeled BRAKE. This will
permanently ground the brake signal to disable it. If you do not plan to solder J4, the
BRAKE screw terminal should not be left floating. Use a short wire to connect this
terminal to one of the ground (GND) connectors.
We use a 6”x6”x1.5” thick heatsink and mounted 3 Microstep drivers on it. The current
setting is set to 3amps on all drivers and the heatsink does a good job cooling them. A
fan blowing directly on the heatsink is recommended if a smaller heatsink is used.
18,750 / A = R
R value is in ohms
A value is in amps
Both LMD18245 driver chips must be set to the same output current limit. Use the same
resistor value for R2 and R8. Do not set the drivers to output more than 3 amps, they
will fail.
Optional variable current output can be had by removing resistor R2/R8 and installing
the two 25K pots, R10/R11. The set resistance value must not be lower than 6.25K.
We recommend users to install R2 and R8 instead of the variable pots.
Adjust drive current setting to no more than motor rated current specification.
1
2
4
3
6 wire stepper motor, half winding connection.
Adjust drive current setting to no more than motor rated current specification.
This is the preferable way to hook up a 6 wire stepper motor to the driver. 6 wire half
winding mode has lower inductance than 6 wire full winding. The stepper motor will be
able to spin faster.
1
2
3
6
5
4
6 wire stepper motor, full winding connection.
Adjust drive current setting to half of the motor rated current specification. Please check
actual stepper motor datasheet for current setting, it may be slightly higher.
6 wire full winding mode can be used for stepper motors that have high nameplate
current specification. It will maximize the available torque at the expense of motor RPM
due to increased winding inductance.
1
2
3
6
5
4
8 wire stepper motor, half winding connection.
Adjust drive current setting to no more than motor rated unipolar current specification.
1
2
3
4
5
6
7
8
8 wire stepper motor, full winding connection. Also known as serial connection.
Adjust drive current setting to half of the motor rated parallel current specification.
1
2
3
4
5
6
7
8
8 wire stepper motor, parallel winding connection.
Adjust drive current setting to the motor parallel rated current specification.
8 wire parallel winding requires more current and may not be suitable for hookup to the
microstep driver board due to the 3 amp maximum current limitation.
1
2
3
4
5
6
7
8
Microstep Driver
Single Axis Wiring Diagram
Breakout Board
Microstep
Driver
11 10 17 16 14 1
Parallel Port
XDIR
WSTEP ZSTEP YSTEP XSTEP
6 BR
Cable
2B 1 B DN G
M B2
M B1
*
YDIR
EMC BREAKOUT BOARD
DN G
PWR
450
7 BR
Stepper Motor
C. 2003 EAS
MALE DB 25
1UF
1N4148
WDIR ZDIR
HOME VCC
10K(3)
100UF
GND
20k
2.2nf
27PF
GND
10K PACK
EAS REV 5
C. 2003
*
GNDVCC
LM18245
LIM+
MICRO STEPPER
PRGM
GND
OPT.
25k
B
20MHZ
LIM-
GND
500pf
6.6k
PIC16F84
STEP
SHORT
27PF
2.2nf
DIR
BRAKE
20k
.1uf
*BRAKE
LM18245
Disk Drive
OPT.
25k
RA0
A
HALF/FULL
1N4148
Power Cable
GND
500pf
VCC
6.6k
78L05
100UF
GND
10K
10UF
PWR
MOT 1N5817
1UF
-
MOTPWR
+
GND
M A2
M A1
MOT PWR A1 GND A2
+12volt
Stepper Power
Supply www.embeddedtronics.com
55volt max DC sales@embeddedtronics.com
copyright 2004
3 Amp Fuse
STANDARD LEGAL STUFF
Although all of the circuits and projects provided have been thoroughly tested by Embedded Acquisition
Systems (EAS). We cannot take responsibility for the circuits, nor will we take any responsibility for
anything happening as a result of using any of our designs.
PERFORMANCE INFORMATION: Performance tests and ratings are measured using specific computer
systems and/or components and reflect the approximate performance of EAS
products as measured by those tests. Any difference in system hardware or software design or
configuration may affect actual performance.
SINGLE COPY LICENSE: You may download copies of the information or software ("Materials") found on
EAS sites on a single computer for your personal, non-commercial internal use only. This is a license, not
a transfer of title, and is subject to the following restrictions: you may not: (a) modify the Materials or use
them for any commercial purpose, or any public display, performance, sale or rental; (b) decompile,
reverse engineer, or disassemble software Materials; (c) remove any copyright or other proprietary
notices from the Materials; (d) transfer the Materials to another person. You agree to prevent any
unauthorized copying of the Materials.
OWNERSHIP OF MATERIALS: Materials are copyrighted and are protected by worldwide copyright laws
and treaty provisions. They may not be copied, reproduced, modified,
published, uploaded, posted, transmitted, or distributed in any way, without EAS's prior written
permission. Other rights may be granted to you by EAS in writing or incorporated elsewhere in the
Materials.
TERMINATION OF THIS LICENSE: EAS may terminate this license at any time if you are in breach of the
terms of this Agreement. Upon termination, you will immediately destroy the Materials.
DISCLAIMER: The materials are provided "as is" without any express or implied warranty of any kind
including warranties of merchantability, noninfringement of intellectual property, or fitness for any
particular purpose. In no event shall EAS, or its suppliers be liable for any damages whatsoever
(including, without limitation, damages for loss of profits, business interruption, loss of information) arising
out of the use of or inability to use the materials, even if EAS has been advised of the possibility of such
damages.
EAS further does not warrant the accuracy or completeness of the information, text, graphics, links or
other items contained within these materials. EAS may make changes to these materials, or to the
products described therein, at any time without notice. EAS makes no commitment to update the
Materials.