This list is focused on the mplab ide mplab sim

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: 000. • In-Circuit Debuggers – The latest information on the Microchip in-circuit debugger, MPLAB ICD 2. • MPLAB® IDE – The latest information on Microchip MPLAB IDE, the Windows® Integrated Development Environment for development systems tools. This list is focused on the MPLAB IDE, MPLAB SIM simulator, MPLAB IDE Project Manager and general editing and debugging features. • Programmers – The latest information on Microchip programmers. These include the MPLAB PM3 and PRO MATE® II device programmers and the PICSTART® Plus and PICkit™ development programmers. DS51557B-page 4 © 2005 Microchip Technology Inc. Preface CUSTOMER SUPPORT Users of Microchip products can receive assistance through several channels: • • • • • Distributor or Representative Local Sales Office Field Application Engineer (FAE) Technical Support Development Systems Information Line Customers should contact their distributor, representative or field application engineer (FAE) for support. Local sales offices are also available to help customers. A listing of sales offices and locations is included in the back of this document. Technical support is available through the web site at: DOCUMENT REVISION HISTORY Revision A (May 2005) • Initial Release of this Document. Revision B (June 2005) • Changed PIC® Communicator to PIC® MCU Communicator. TROUBLESHOOTING See Chapter 3 for information on common problems. © 2005 Microchip Technology Inc. DS51557B-page 5 PICDEMTM Mechatronics Demo Board User’s Guide NOTES: DS51557B-page 6 © 2005 Microchip Technology Inc. PICDEMTM MECHATRONICS DEMO BOARD USER’S GUIDE Chapter 1. PICDEM™ Mechatronics 1.1 INTRODUCTION The PICDEM™ Mechatronics is intended to be a learning tool for individuals interested in Mechatronic design. Mechatronics refers to integrating electronic controls into mechanical systems or replacing mechanical components with an electronic solution. PICmicro® microcontrollers are ideal for use in Mechatronic systems due to their small size, high efficiency, speed and abundance of peripheral configurations. Mechatronic systems range in complexity from a simple electromechanical switch with output multiplexing to the complex stabilizer control of a supersonic jet. The appliance and automotive markets are notable markets in which mechatronic designs are becoming more common place. The modern washing machine, for instance, once an entirely mechanical design, incorporates microcontrollers to manage cycle times, read human inputs and regulate the speed of the agitate and spin cycles. This chapter introduces the PICDEM™ Mechatronics development board. It describes the PCB layout, parts and electrical connection to the PICkit™ 2 Flash Programmer and MPLAB ICD 2 In-Circuit Debugger. 1.2 HIGHLIGHTS This chapter discusses: • • • • • • Quick Start Guide The PICDEM™ Mechatronics Development Kit Contents The PICDEM™ Mechatronics Layout Required Tools PICDEM™ Mechatronics Setup General PICDEM™ Mechatronics Information © 2005 Microchip Technology Inc. DS51557B-page 7 PICDEMTM Mechatronics Demo Board User’s Guide 1.3 QUICK START GUIDE The PICDEM Mechatronics Demo Board is programmed at the factory with a demonstration program. The board must be configured as described in this chapter in order to use the demonstration program. Once the board is configured and powered up, the speed of the Brushed DC (BDC) motor on the board may be varied using the potentiometer (POT1). The 8-bit hexadecimal interpretation of the position of POT1 is displayed on the LCD. Board Setup Using the provided wire jumpers, screwdriver and shunts (2-pin black hard plastic jumpers), configure the board as shown in Figure 1-1. 1. Attach the leads of the brushed DC motor to Drive 1 and Drive 2 using the screwdriver. 2. Connect POT1 (on J4) to AN0 (on J13) using a wire jumper. 3. Connect P1 (on J1) to RD7 (on J10) using a wire jumper. 4. Connect N2 (on J2) to RD2 (on J10) using a wire jumper. 5. Connect the right and center pins on JP8 using a shunt. Board Power-Up Supply power to the board in one of the following ways: • Connect a 9-12 VDC (0.75 amp minimum) supply using J9 (see note below) • Connect a 9-12 VDC (0.75 amp minimum) supply to the P21 and P20 screw terminals. • Connect a 9 VDC battery to the battery connector. • Connect a 5 VDC (1.2 amp minimum) supply to TP2 or TP3. Note: The power supply part number is AC162039 (see Packaged with the MPLAB ICD 2, the part number is DV164007. Demonstration Program Press CLR FAULT (SW5), which is near the bottom right corner of the board. Turn POT1 clockwise to increase the speed of the motor. Note that the number displayed on the LCD increases as you turn the potentiometer clockwise. Try experimenting with the other sensors on the board: • Move the jumper wire on POT1 (J4) to Light (J4). Vary the intensity of light shining on the light sensor located near the top left corner of the board. No...
View Full Document

Ask a homework question - tutors are online