Microchip Technology DM164130-7 Data Sheet

Page of 60
The Unipolar Stepper Add-on Board
 2012 Microchip Technology Inc.
DS41629A-page 43
FIGURE 5-1:
THE UNIPOLAR STEPPER MOTOR CONTROL ADD-ON 
ARCHITECTURE
5.3.2
Attaching the Motor
The unipolar stepper add-on kit includes the two-phase Leadshine 42HS03 unipolar 
stepper motor. Since this motor is a hybrid stepper, it can be configured as a unipolar 
or bipolar stepper motor, by connecting its eight leads in different ways. The motor is 
supplied pre-wired in the unipolar configuration to a connector that mates with J3 of the 
add-on board. For bipolar series and parallel connections, please refer to the motor 
data sheet. The Unipolar Add-on Board, however, supports only the unipolar 
configuration. 
5.3.3
Power-Up
Power is supplied through either the J2 2.5 mm power jack, or the power pins of J3. 
The default motor parameters assume that the supply voltage is 9 V
DC
. Changing the 
supply voltage will require re-optimizing the motor parameters. Monitoring the supply 
current during optimization is highly recommended to prevent over-driving the motor.
The F1 LV Evaluation Platform must be configured to use expansion board power by 
inserting the power jumper on J6. See the F1 LV Evaluation Platform User’s Guide for 
more detail.
5.3.4
Power Stage
The unipolar stepper add-on incorporates the classic two H-bridges drive consisting of 
four N-type and four P-type MOSFETs. The maximum current rating is 8A on each 
MOSFET. Please keep this in mind when designing your application or modifying the 
add-on hardware. 
The stage contains four PWM (ECCP1_A, ECCP2_A, ECCP1_B, ECCP2_B, 
ECCP1_C, ECCP2_C, ECCP1_D, ECCP2_D) inputs and four drive outputs (W, X, Y, 
Z) to be attached to the end of each phase of the unipolar stepper motor. 
The current on each phase is measured using the R3 shunt resistor, placed in between 
the common lowside of all the drivers and ground, and connected to the PIC16F1947 
through the J1 connector.
PIC16LF1947
J1
R3
J3
V_MOTOR
Vin
Vout
U1
3.3V
1K 
EEPROM
Detect add-on type
read/write parameters
I1
_
+
DAC
A
M
B
C
D
Current
control
V_MOTOR