![Microchip Technology dsPICDEM MCSM User Manual Download Page 15](http://html1.mh-extra.com/html/microchip-technology/dspicdem-mcsm/dspicdem-mcsm_user-manual_1785939015.webp)
dsPICDEM™ MCSM
DEVELOPMENT BOARD
USER’S GUIDE
©
2009 Microchip Technology Inc.
DS70610A-page 15
Chapter 2. Getting Started
This chapter describes how to set up the dsPICDEM MCSM Development Board
hardware and software; and how to run the included demonstration software. Refer to
Chapter 3. “Hardware”
for detailed information on the board and its components.
Topics in this chapter include:
• Board Setup
• Programming and Debugging Application Code
2.1
BOARD SETUP
The following procedure describes how to set up the dsPICDEM MCSM Development
Board to run with the demonstration software. The stepper motor used for the
demonstration is the Leadshine Stepping Motor (P/N 42HS03).
1. Place the dsPICDEM MCSM Development Board on a sturdy insulated platform.
2. Make sure that the dsPIC33FJ32MC204 device or an appropriate PIM is
mounted in the respective socket.
3. Connect the stepper motor (42HS03) to J8. Connect the motor phases in a bipo-
lar series connection as described in Table 2-1.
WARNING
The
ds
PICDEM MCSM Development Board is intended to drive bipolar or unipolar step-
per motors. Before connecting the motor, make sure that the power rating of the motor
is equal to or less than the power rating of the board, as shown in Appendix
B. “Electrical Specifications”. Also, make sure the configuration resistors are correct
for the firmware and the specific dsPIC DSC device mounted on the socket. Failure to
comply with this warning could lead to malfunction of the board and the motor, and
could result in physical harm.
Before beginning the start-up procedure, complete a visual check of the board and the
motor for connectivity and mechanical damage. If damage is found, DO NOT power-up
the board. Otherwise, you may further damage the equipment. Contact Microchip’s
local office or distributor immediately.
TABLE 2-1:
MOTOR CONFIGURATION TABLE
J8 Pin Number
J8 Pin Name
Bipolar
Series
Bipolar Parallel
Bipolar Half-winding
Unipolar
1
NC
Green+Yellow
—
Yellow
—
2
M1
Black
Black+Yellow
Black
Black
3
DC+
—
—
Orange
Green+Yellow
4
M2
Orange
Green+Orange
Green
Orange
5
M3
Red
Red+White
Red
Red
6
DC+
—
—
White
Blue+White
7
M4
Brown
Blue+Brown
Blue
Brown
8
NC
Blue+White
—
Brown
—
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from