Microchip Technology DM183021 User Manual

Page of 46
PICDEM™ MC LV
DEVELOPMENT BOARD
© 2006 Microchip Technology Inc.
 
DS51554B-page 15
Chapter 3.  Getting Started with PIC18FXX31 MCUs
3.1
INTRODUCTION
This chapter provides instructions on how to set up the PICDEM MC LV Development 
Board using the PIC18FXX31 devices. 
3.2
HIGHLIGHTS
This item discussed in this chapter is:
3.3
PICDEM MC LV DEVELOPMENT BOARD SETUP
The following procedure describes how to set up the PICDEM MC LV Development 
Board to run with a PIC18FXX31 device.
1.
Place the PICDEM MC LV Development Board on a sturdy platform. 
2.
Make sure the PIC18F2331 or the PIC18F2431 is mounted in the “PIC” socket on U1.
3.
Connect the 24V power supply to J20.  
LED D7 (red) should turn on. If it does not turn on, check the polarity of the power 
supply connector. If it is correct and the LED D7 still does not turn on, disconnect 
power to the board and contact Microchip’s local office or distributor. 
4.
Determine the algorithm you want to run the motor. The following two options are 
available:
• Speed control using Hall sensors 
• Sensorless control
5.
Program the part with the desired algorithm. For generating a project and pro-
gramming using MPLAB
®
 ICD 2, refer to the 
“MPLAB
®
 ICD 2 In-Circuit Debugger 
User’s Guide” (DS51331).
6.
Disconnect the power supply and complete jumper settings and motor connec-
tions as given in the following table. The wire colors mentioned in the brackets 
are for the Hurst NT Dynamo motor, available from Microchip as an accessory, 
part number AC300020. 
WARNING
The PICDEM MC LV Development Board is intended to drive 3-phase BLDC motors. 
Before connecting the motor, make sure that the power rating of the motor is equal 
or less than the power rating of the board, as given in Appendix B. “Electrical Spec-
ifications”. A
lso, make sure that the jumper settings are correct for the  firmware 
programmed into the target PIC
®
 MCU mounted on the socket. Failure to comply 
with this warning could lead to malfunction of the board and/or the motor and could 
possibly be hazardous to the development staff. 
Before beginning the start-up procedure, do a visual check of the board and the 
motor to be connected for any mechanical damage. If damage is found, 
DO NOT 
power-up the board. Otherwise, you may further damage the equipment. 
Immediately contact Microchip’s local office or distributor for information. 
Note:
DO NOT connect the motor wires to the board.