Microchip Technology PICDEM Mechatronics Demo Board DM163029 DM163029 User Manual

Product codes
DM163029
Page of 64
PICDEM
TM
 Mechatronics Demo Board User’s Guide
DS51557C-page 48
©
 2006 Microchip Technology Inc.
3.2.4
Microcontroller Does Not Run After Programming By The 
MPLAB ICD 2
When using the MPLAB ICD 2 as a programmer, the microcontroller will not run unless 
you disconnect the MPLAB ICD 2 or release the MPLAB ICD 2 from Reset. Figure 3-1 
shows the “Release From Reset” button.
FIGURE 3-1:
RELEASE FROM RESET BUTTON
3.2.5
Back EMF At J16 Is Floating
Check that a Fault has not occurred by checking that the FAULT LED is off. Verify the 
Brushed DC motor is connected between DRIVE 1 and DRIVE 2. In order to measure 
Back EMF, DRIVE 1 must float and DRIVE 2 must be grounded (i.e., the N-channel 
MOSFET for Drive 2 is the only MOSFET turned on).
3.2.6
Board Is Non-Functional When Microcontrollers Are Installed In 
Both U1 And U2
Only one microcontroller should be installed on the board at any given time.
3.2.7
Optical Interrupter Is Not Providing The Expected Feedback
The optical interrupter circuit is susceptible to interference from outside infrared light 
sources (i.e., incandescent lights, sunlight, etc.). It may be necessary to block this 
source or turn off the light source when using the optical interrupter.
3.2.8
Serial Communication Does Not Appear To Be Working
If using the USART on the PIC16F690 or PIC16F917, note that the TX and RX pins are 
already connected. Make sure there is no shunt present on JP2.