Americas
Atlanta - 678-957-9614
Boston - 774-760-0087
Chicago - 630-285-0071
Cleveland - 216-447-0464
Dallas - 972-818-7423
Detroit - 248-538-2250
Indianapolis - 317-773-8323
Los Angeles - 949-462-9523
Phoenix - 480-792-7200
Santa Clara - 408-961-6444
Toronto - 905-673-0699
Europe
Austria - Wels - 43-7242-2244-39
Denmark - Copenhagen - 45-445 0-2828
France - Paris - 33-1-69-53-6 3-20
Germany - Munich - 49-89-627-144-0
Italy - Milan - 39-0331-742611
Netherlands - Drunen - 31-416-690399
Spain - Madrid - 34-91-708-08-90
UK - Wokingham - 44-118-921-5869
Asia/Pacific
Australia - Sydney - 61-2-9868-6733
China - Beijing - 86-10-8569-2 100
China - Chengdu - 86-28-8665-5511
Asia/Pacific (Continued)
China - Chongqing - 86-23-8980-9588
China - Hangzhou - 86-571-2819-3180
China - Hong Kong SAR - 852-2401-1200
China - Nanjing- 86-25-8473-246 0
China - Qingdao - 86-532-8502-7355
China - Shanghai - 86-21-5407-5533
China - Shenyang - 86-24-2334-2829
China - Shenzhen - 86-755-8203-2660
China - Wuhan - 86-27-5980-5300
China - Xiamen - 86-592-2388138
China - Xian - 86-29-8833-7252
China - Zhuhai - 86-756-3210040
India - Bangalore - 91-80-3090-4444
India - New Delhi - 91-11-4160-8631
India - Pune - 91-20-2566-1512
Japan - Yokohama - 81-45-471-6166
Korea - Daegu - 82-53-744-4301
Korea - Seoul - 82-2-554-7200
Malaysia - Kuala Lumpur - 60-3-6201-9857
Malaysia - Penang - 60-4-227-8870
Philippines - Manila - 63-2-634-9065
Singapore - 65-6334- 8870
Taiwan - Hsin Chu - 886-3-6578-300
Taiwan - Kaohsiung - 886-7-213-7830
Taiwan - Taipei - 886-2-2500-6610
Thailand - Bangkok - 66-2-694-1351
05/02/11
Microchip Technology Inc. • 2355 West Chandler Blvd. • Chandler, AZ 85224-6199
www.microchip.com
The Microchip name and logo, the Microchip logo, and MPLAB are registered trademarks of Microchip Technology
Incorporated in the U.S.A. and other countries. All other trademarks mentioned herein are property of their respective
companies. © 2011, Microchip Technology Incorporated, Printed in the U.S.A. All Rights Reserved. 08/10
DS51991A
*DS51991A*
Motor Control Starter Kit Inform ation Sheet
The Motor Control Starter Kit is designed to facilitate the development of low-cost motor control
applications using PIC24 microcontrollers and dsPIC33F digital signal controllers. The kit includes
a BLDC motor, a three-phase inverter, an on-board Debugger/Programmer, a user-configurable
switch, a two-channel mTouch™ slider with LED indicators for motor speed display, and a 9V
power supply.
Installing MPLAB® IDE and C Compilers
The MPLAB Integrated Development Environment (IDE) should be installed prior to using the
Motor Control Starter Kit. While MPLAB IDE provides the assembler tools for development, most
of the demos and code examples are written in the C language and require a C compiler to be
installed. Microchip’s MPLAB C Compiler seamlessly integrates into MPLAB IDE. Both the MPLAB
IDE and MPLAB C compiler are free (see the note below) and are available for download at
www.microchip.com/MPLAB and www.microchip.com/compilers, respectively.
Code Examples and More Information
For code examples and more informa tion, please visit http://www.microchip.com/motor. From the
Development Tools menu, click Development and Evaluation Boards and from the list select dsPIC
Motor Control Starter Kit DM330015. Then, from the Download section, select code for the starter
kit. You can also visit http//www.microchip.com/16bit: from the left navigation menu select Find
Development Tools and then choose Motor Control Starter Kit from the list. From the Download
section, select the code for the starter kit.
Running and Debugging Applications
After downloading the code example and installing the development tools, please use the following
procedure to build and run your software:
1. Ensure the BLDC motor is proper ly connected to the Motor Control Starter Kit board and that
the rotor is able to move freely.
2. Connect the 9V power supply to the Motor Control Starter Kit.
3. Connect the USB port on the board to a USB port on the development computer using a USB
cable. This will power up the on-board Deb ugger/Programmer and connect it to the develop-
ment computer.
4. Extract the Motor Control Starter Kit software from the archive file and load the software project
into the development environment.
5. If using MPLAB 8.xx IDE, do the following; otherwise, skip to step 6:
a) Select Programmer > Select Tool and then choose the appropriate tool.
b) Build the project by selecting Project > Build All.
c) Download your code to the DSC or MCU by selecting Programmer > Program.
6. If using the MPLAB X IDE, do the following:
a) Select Run > Set Project Configuration > Customize.
b) Select the required tool under Hardware Tools, and then click Apply followed by OK.
c) Select Run > Run Project to downloa d the code to the target device, and then click the
Reset Release icon.
7. After the code is downloaded to the device, the USB connection can be removed. In Release
mode, only the 9V power supply is needed. In Debug mode, both the 9V power supply and the
USB connection must be used.
8. By pressing the S1 button, the motor will toggle between Run and Stop modes. If the rotor
stops without pressing the button (due to external mechanical factors), it will try to restart on
its own without requiring another button press.
9. Use the Capacitive Touch Slider to change the motor speed. The speed magnitude will be
indicated by the three user LEDs on the board.
Note: S tandard Evaluation (Free) – All optimization levels are enabled for 60 days, but then
revert to optimization level 1 only.
DS51991A
Motor Control Starter Kit Information Sheet
Application Hardware Schematics
GND2
PWM1L3
R71
4.7k
PWM1H3
PWM1L2
R59
4.7k
R57
4.7k
PWM1L1
PWM1H1
R39
51k
VIN1
C21
0.1uF
L1
10uH
D4
Green
R40
118k
C35
0.1uF
C18
4.7uF
R68
50m
R38
10k
1K
R66
0R
R62
100K
R72
C15
0.1uF
C37
33pF
C14
10uF
R36
10k
M1_V R47
330R R53
1.74k
R49
330R
M3_V
R45
470R
D6
RED
4
3
2
1
S1
R55
1.74k
R46
470R
R63
4.7k
R73
4.7k
PWM1H2
R56
4.7k
R42
330R
R41
13.3k
MBR0520L
D3
C28
0.1uF
C25
0.1uF
+12V1
100K
R64
1K
R70
0.1uF
C32
R37
10k
R48
10k
R51
10k
5
2
1
3
4
6
J4
GND3
0.1uF
C36
10uF
C17
4 5
U10:B
TC4428A
C34
1uF
+12V +12V
6
3
2 7
TC4428A
U8:A
+12V +12V
6
3
2 7
TC4428A
U7:A
+12V
+12V
C22
10uF
22uF
C19
C33
56pF
1K
R65
0R
R61
1R
R58
GND4
MOTOR_CURRENT1
1K
R67
C16
0.1uF
R52
330R
M2_V
R54
1.74k
R44
470R
D7
RED
D5
RED
R43
10k
0.1uF
C23
0.1uF
C29
0.1uF
C26
C38
10uF
SI4532DY
Q6:B
SI4532DY
Q6:A
4 5
U8:B
TC4428A
6
3
2 7
TC4428A
U10:A
C27
1uF
SI4532DY
Q4:A
SI4532DY
Q5:B
4 5
U7:B
TC4428A
C24
1uF
+12V
C20 220pF
4SHDN
5VIN
2
GND 3
FB
1
SW
U5
LM27313
1K
R69
3+
4-
1
2
VSS
5
VDD
U9
MCP6021
0.1uF
C30
R60
DNP 0.1uF
C31
R50
10k
SI4532DY
Q4:B
SI4532DY
Q5:A
5
2
1
3
4
6
* - Internal connection for comparator using PPS
U6
Motor Socket
10 VDD
5VSS
29 GND_Pad
15
TDO/RP9/CN21/RB9
18
PWM1H3/RP10/RB10
21
PWM1L2/RP13/RB13
23
PWM1L1/RP15/RB15
26
MCLR
16
VSS
17
VCAP
19
PWM1L3/RP11/RB11
20
PWM1H2/RP12/RB12
24
AVSS
25
AVDD
22
PWM1H1/RP14/RB14
27
PGED2/AN0/CN2/RA0
28
PGEC2/AN1/CN3/RA1
14 TCK/RP8/CN22/RB8
11 FLTB1 /RP5/CN27/RB5
8PGED3/RP4/CN1/RB4
6OSC1/CLKI/CN30/RA2
3AN4/RP2/CN6/RB2
9PGEC3/T1CK/CN0/RA4
12 FLTA1 /RP6/CN24/RB6
13 INT0/RP7/CN23/RB7
4AN5/RP3/CN7/RB3
7OSC2/CLKO/CN29/RA3
1AN2/RP0/CN4/RB0
2AN3/RP1/CN5/RB1
DSPIC33FJ16MC102_28QFN
U4
DS51991A
Motor Control Starter Kit Information Sheet
Debugger Schematics
0R
R13
C10
0.1uF R10
2.2K
+3.3V
D1
MBR0520L
R12
330R
C9
2.2uF R11
200K
C12
0.01uF
C11
2.2uF
J1
USB MINI-B
GND1
Green
D2
MCP1727
U2
USB_D-
USB_D+
Debugger
Circuit
POWER_GOOD_PICKIT3
ICSP_MCLR_VPP_TARGET
ICSP_PGEC_TARGET
ICSP_PGED_TARGET
Debugger Circuit
Mouser Electronics
Authorized Distributor
Click to View Pricing, Inventory, Delivery & Lifecycle Information:
Microchip:
DM330015