User manual
PICDEM™ MC LV Development Board
DS51554B-page 26 © 2006 Microchip Technology Inc.
5. Disconnect the power supply and ensure that the jumper settings and motor
connection match Table 6-1 and Table 6-2 respectively.
TABLE 6-1: JUMPER SETTINGS
TABLE 6-2: MOTOR CONNECTIONS
6. Keep the potentiometer “REF” on the 50% or center position. Turn the pot
marked “R60” to the full clockwise position.
7. Connect the 24V power supply to the board. The red LED D7 will turn on.
8. To start the motor, press S2.
9. To increase the speed of the motor, turn the potentiometer marked “REF”
clockwise.
10. If the motor stops, press S2 once to reset the process and repeat steps 9-11.
11. The debug information will be relayed via the serial port. Connect Hyperterminal
at 19200 baud to view the speed of the motor, or any Fault which occurs during
the execution of the code.
WARNING
Note 1: When programming the dsPIC device on the PICDEM MC LV Develop-
ment Board, the two DIP switches must be in the PRGM position. This
will ensure the programming pins are connected to the programmer. If the
user has generated independent code, the user must select
EMUC2/EMUD2 pins for emulation in the MPLAB Configuration menu.
These alternate pins will then be programmed and will be used for the
debugging or run phase.
2: After programming the dsPIC device, the user can disconnect the pro-
grammer from the ICD 2 plug J6 and run the device in Stand-Alone mode.
Alternatively, if the ICD 2 is being used in the Emulator mode, then the
DIP switches have to be switched to the DEBUG position. Then, the
EMUC2/EMUD2 pins will be connected to the ICD 2, and assuming the
configuration was done as described above, the user will be able to run
the firmware using the ICD 2 as an emulator.
Jumper Sensored Control Sensorless Control
J7, J11, J13 Open Short between 2-3
J15 Don’t care Don’t care
J8, J10, J12, J14 Open Open
J19 Short Open
J16, J17 Short Short
Label on Connector J9 Sensored Control Sensorless Control
M1 Phase C (red) Phase C (red)
M2 Phase B (black) Phase A (white)
M3 Phase A (white) Phase B (black)
G Ground (green) Ground (green)
+5V Power-on Hall Sensor (red) No Connection
Return (symbol) Power Return for Hall Sensor (black) No Connection
HA Hall S1 (white) No Connection
HB Hall S2 (brown) No Connection
HC Hall S3 (green) No Connection