STEPPER-MOTOR-RD
STEPPER MOTOR R EFERENCE D ESIGN KIT U SER’S G UIDE
1. Kit Contents
The Stepper Motor Reference Design Kit contains the following items:
Stepper Motor Reference Design Board
Stepper Motor
Universal AC to DC Power Adapter
USB Debug Adapter
USB Cable
Serial Cable
Reference Design Kit Tools & Documentation CD
2. Kit Overview
This reference design demonstrates a high-performance stepper motor system using the C8051F300/1. The
reference design provides for both stand-alone demo operation and UART control. The reference design may also
be used as a platform for stepper motor code development.
This User's Guide provides a step-by-step guide for getting your system up and running. Refer to the application
note “AN155: Stepper Motor Reference Design“ for complete documentation of the Stepper Motor Reference
Design.
Figure 1. Stepper Motor Reference Design Board
Rev. 0.1 5/06 Copyright © 2006 by Silicon Laboratories STEPPER-MOTOR-RD
STEPPER-MOTOR-RD
3. Stepper Motor Reference Design Demonstration
The Stepper Motor Reference Design includes everything you need to set up a stepper motor demonstration.
Connect the stepper motor to the stepper motor control board following the wiring chart for the 42BYG205 motor as
shown in Table 1.
Table 1. GBM 42BY201 Stepper Motor Wiring Diagram
Color Name
red A+
yellow Ac
blue A–
green B+
orange Bc
brown B–
Connect the universal ac/dc power adap tor to the dc supply (P1) on the Stepper Motor Reference Design Board.
Press the Function (FUNC) button on the Stepper Motor Reference Design Board. The motor will turn in one
direction. Notice that the moto r accelerates smoothly up to the maximum speed, moves at a constant speed, and
then decelerates smoothly to a standstill. Press the function button again and the motor will turn the other direction.
Stepper
Motor
RS232
J3
J1
Stepper Motor
Reference
Design Board
Debug
FUNC
P1
AC/DC
Adapter
Figure 2. Stepper Motor Reference Design Demonstration Setup
2 Rev. 0.1
STEPPER-MOTOR-RD
4. HyperTerminal Demonstration
Sta rt with the Demo Setu p above and add an RS- 232 cable conn ection to your computer as shown in F igure 3. The
RS-232 connection is used with a terminal program to provide a basic terminal interface for the stepper motor. If
your PC has USB and does not have a serial port, you may use the Silicon Laboratories CP2102 EK to provide a
virtual COM port connection.
Stepper
Motor
Serial Cable
PC
RS232
Stepper Motor
J3
Reference Design
J1
Board
Debug
P1
AC/DC
Adapter
Figure 3. Stepper Motor Reference Design Terminal Setup
Open the HyperTerminal application. The HyperTerminal program may be launched on most Windows XP systems
from the Start Menu:
→Programs→Accessories→Communications→HyperTerminal
Start
Enter any name into the "Connection Description" dialog box is shown in Figure 4. In the "Connect To" dialog box,
choose the COM port corresponding to the Serial connection on your PC. In the Port Settings dialog box select
57600 baud and no flow control. Use the default settings of 8 data bits, no parity, and one stop bit.
Figure 4. Setting Up HyperTerminal
Rev. 0.1 3