51557B

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: C or 9-12 VDC. This is the supply reference for the drive stage. If the FAULT LED (D8) is on, the drive stage is disabled. Press the CLR FAULT button (SW5) to enable the drive stage. 3.2.3 FAULT LED Stays On Or Continues To Trip When SW5 Is Pressed Verify that the motor is not drawing over 1.2 amps. Check the voltage at CURRENT SENSE (J15) before the FAULT LED turns on again. Voltage is equal to the current at J15, therefore, if the voltage is 1.2V or greater, the drive is drawing too much current or possibly shorted. Verify the motor is being driven properly. The N-channel and P-channel MOSFETs on any given Drive (DRIVE 1, DRIVE 2, etc.) should not be turned on simultaneously. (See note). J2 connects the MOSFET control lines for DRIVE 1 and DRIVE 2 and J3 connects the control lines for DRIVE 3 and DRIVE 4. If shunts are present on J2 and J3, verify that they are connected intentionally and not from a previous design. Note: © 2005 Microchip Technology Inc. Hardware is in place to ensure the N-channel and P-channel MOSFETs on a given Drive are not turned on at the same time. However, if you are switching the N-channel MOSFET rapidly, it is possible for both MOSFETs to be on at the same time. DS51557B-page 47 PICDEMTM Mechatronics Demo Board User’s Guide 3.2.4 Microcontroller Does Not Run After Programming By The ICD-2 When using the ICD-2 as a programmer, the microcontroller will not run unless you disconnect the ICD-2 or release the ICD-2 from Reset. Figure 3-1 shows the “Release From Reset” button. FIGURE 3-1: 3.2.5 RELEASE FROM RESET BUTTON 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. DS51557B-page 48 © 2005 Microchip Technology Inc. PICDEMTM MECHATRONICS DEMO BOARD USER’S GUIDE Appendix A. Hardware Schematics A.1 INTRODUCTION This appendix contains the PICDEM™ Mechatronics Board Hardware Schematic Diagram. © 2005 Microchip Technology Inc. DS51557B-page 49 PICDEMTM Mechatronics Demo Board User’s Guide PICDEM™ MECHATRONICS DEMO BOARD HARDWARE SCHEMATIC DIAGRAM (PAGE 1 OF 7) M FIGURE A-1: DS51557B-page 50 © 2005 Microchip Technology Inc. Hardware Schematics PICDEM™ MECHATRONICS DEMO BOARD HARDWARE SCHEMATIC DIAGRAM (PAGE 2 OF 7) M FIGURE A-2: © 2005 Microchip Technology Inc. DS51557B-page 51 PICDEMTM Mechatronics Demo Board User’s Guide PICDEM™ MECHATRONICS DEMO BOARD HARDWARE SCHEMATIC DIAGRAM (PAGE 3 OF 7) M FIGURE A-3: DS51557B-page 52 © 2005 Microchip Technology Inc. Hardware Schematics PICDEM™ MECHATRONICS DEMO BOARD HARDWARE SCHEMATIC DIAGRAM (PAGE 4 OF 7) © 2005 Microchip Technology Inc. 12 9 13 8 GND 15 10 7 6 V- 11 14 16 VCC 2 V+ C1+ C1C2+ C2- 1 3 4 5 M FIGURE A-4: DS51557B-page 53 PICDEMTM Mechatronics Demo Board User’s Guide PICDEM™ MECHATRONICS DEMO BOARD HARDWARE SCHEMATIC DIAGRAM (PAGE 5 OF 7) M FIGURE A-5: 3 1 7, 8 2 6 4 6 5 4 3 2 1 3 2 5 3 5, 6 4 2 5, 6 4 7, 8 1 1 DS51557B-page 54 © 2005 Microchip Technology Inc. Hardware Schematics PICDEM™ MECHATRONICS DEMO BOARD HARDWARE SCHEMATIC DIAGRAM (PAGE 6 OF 7) M FIGURE A-6: 2 11 13 12 11 13 12 9 10 8 2 7, 8 3 5, 6 4 4 1 8 3 5, 6 9 7, 8 10 1 © 2005 Microchip Technology Inc. DS51557B-page 55 PICDEMTM Mechatronics Demo Board User’s Guide PICDEM™ MECHATRONICS DEMO BOARD HARDWARE SCHEMATIC DIAGRAM (PAGE 7 OF 7) M FIGURE A-7: DS51557B-page 56 © 2005 Microchip Technology Inc. PICDEMTM MECHATRONICS DEMO BOARD USER’S GUIDE Appendix B. LCD Segment Mapping Worksheet B.1 INTRODUCTION This appendix contains the LCD Segment Mapping Worksheet. © 2005 Microchip Technology Inc. DS51557B-page 57 © 2005 Microchip Technology Inc. LCDDATA0, 2 LCDDATA0, 3 LCDDATA0, 4 LCDDATA0, 5 LCDDATA0, 6 LCDDATA0, 7 LCDDATA1, 0 LCDDATA1, 1 LCDDATA1, 2 LCDDATA1, 3 LCDDATA1, 4 LCDDATA1, 5 LCDDATA1, 6 LCDDATA1, 7 LCDDATA2, 0 LCDDATA2, 1 LCDDATA2, 2 LCDDATA2, 3 LCDDATA2, 4 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 SEG9 SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 SEG17 SEG18 SEG19 SEG20 LCDDATA2, 5 LCDDATA0, 1 SEG1 LCDDATA2, 6 LCDDATA2, 7 SEG22 SEG23 1B 1A 2B S1 3B 2A 3A DH RC A LCD Segment LCDDATA5, 7 LCDDATA5, 6 LCDDATA5, 5 LCDDATA5, 4 LCDDATA5, 3 LCDDATA5, 2 LCDDATA5, 1 LCDDATA5, 0 LCDDATA4, 7 LCDDATA4, 6 LCDDATA4, 5 LCDDATA4, 4 LCDDATA4, 3 LCDDATA4, 2 LCDDATA4, 1 LCDDATA4, 0 LCDDATA3, 7 LCDDATA3, 6 LCDDATA3, 5 LCDDATA3, 4 LCDDATA3, 3 LCDDATA3, 2 LCDDATA3, 1 LCDDATA3, 0 LCDDATAx Address COM1 1G 1F 2G S2 3G 2F 3F RH BATT V LCD Segment LCDDATA8, 7 LCDDATA8, 6 LCDDATA8, 5 LCDDATA8, 4 LCDDATA8, 3 LCDDATA8, 2 LCDDATA8, 1 LCDDATA8, 0 LCDDATA7, 7 LCDDATA7, 6 LCDDATA7, 5 LCDDATA7, 4 LCDDATA7, 3 LCDDA...
View Full Document

This note was uploaded on 01/29/2014 for the course AA AA taught by Professor Aa during the Winter '10 term at ENS Cachan.

Ask a homework question - tutors are online