Summary of Contents for Microchip Technology PICDEM 2 Plus
Page 1
PICDEM ™ 2 Plus User’s Guide 2004 Microchip Technology Inc. DS51275B...
Page 2
PRO MATE and PowerSmart are registered trademarks of No representation or warranty is given and no liability is Microchip Technology Incorporated in the U.S.A. and other assumed by Microchip Technology Incorporated with respect countries.
Chapter 2. Getting Started 2.1 PICDEM 2 Plus as a Stand-Alone Board – Preprogrammed Device ................5 2.2 PICDEM 2 Plus Used with an In-Circuit Emulator or In-Circuit Debugger .................. 6 Chapter 3. Tutorial 3.1 Tutorial Program Operation ................7 3.2 Source Code and Application Notes ..............
Page 4
PICDEM™ 2 Plus User’s Guide NOTES: 2004 Microchip Technology Inc. DS51275B-page iv...
Technology Incorporated. The PICDEM 2 Plus is a simple board which demonstrates the capabilities of the 18, 28 and 40-pin PIC16 and PIC18 devices. The PICDEM 2 Plus can be used stand-alone with a programmed part, with an in-circuit ®...
PICDEM™ 2 Plus User’s Guide PICDEM 2 PLUS DEMONSTRATION BOARD The PICDEM 2 Plus demonstration board has the following hardware features: 1. 18, 28 and 40-pin DIP sockets. (Although three sockets are provided, only one device may be used at a time.) 2.
PIC16 and PIC18 40-pin DIP devices. SAMPLE PROGRAMS The PICDEM 2 Plus Kit includes a CD-ROM with sample demonstration programs. These programs may be used with the included sample devices, with an In-Circuit Emulator (ICE) or with an In-Circuit Debugger (ICD). For each type of device (PIC16 or PIC18), demo source code (several ASM files) and compiled code (one Hex file) are provided.
Chapter 2: Getting Started – This chapter goes through a basic step-by-step process for getting your PICDEM 2 Plus up and running as a stand-alone board or with an ICE or ICD. Chapter 3: Tutorial – This chapter provides a detailed description of the tutorial program.
PICDEM™ 2 PLUS USER’S GUIDE Chapter 2. Getting Started The PICDEM 2 Plus may be used as a stand-alone board with a preprogrammed device, with an In-Circuit Emulator (ICE) or with an In-Circuit Debugger (ICD). For a list of PICmicro microcontroller compatible ICEs or ICDs, please refer to the Development Systems Ordering Guide or the Microchip Third Party Guide.
ICE/ICD, as well as how to connect to target boards (e.g., Figure 2-1). FIGURE 2-1: PICDEM 2 PLUS CONNECTED TO MPLAB ICD 2 USING USB Configure the PICDEM 2 Plus for the desired oscillator as described in Table 2-1. Refer to the ICE/ICD user’s guide for any oscillator configuration requirements. TABLE 2-1:...
For detailed information on the PICDEM 2 Plus hardware, please refer to Appendix A. TUTORIAL PROGRAM OPERATION The tutorial program is made up of four components, which are individually displayed on the LCD.
Page 12
RB0 = Now Temp = 022°C RB0 = Exit Clock RA4 = Next RB0 = Now 00.00.02 RA4 = Set RB0 = Menu 00.00.03 RA4 = -> RB0 = ++ RA4 = 3 presses 2004 Microchip Technology Inc. DS51275B-page 8...
SOURCE CODE AND APPLICATION NOTES In addition to the assembled tutorial program (Hex files), source code used to create these Hex files is included on the PICDEM 2 Plus CD-ROM. Both source code and related Hex files are found in device-specific directories.
Page 14
PICDEM™ 2 Plus User’s Guide NOTES: 2004 Microchip Technology Inc. DS51275B-page 10...
LEDs. These LEDs may be disconnected from PORTB by removing jumper J6. One green LED is provided to determine whether there is power to the PICDEM 2 Plus board (LED on) or not (LED off).
There are three control lines (RA3:RA1) and four data lines (RD3:RD0). A 5 KΩ pot may be installed into R20 to adjust contrast on the LCD. If this is done, R5 and R6 need to be removed. 2004 Microchip Technology Inc. DS51275B-page 12...
Hardware Detail A.12 SAMPLE DEVICES A sample part programmed with a simple program is included in the PICDEM 2 Plus kits. Table A-1 lists the I/O features and port connections for each processor type. TABLE A-1: PORT CONNECTIONS Temp Device...
A.13 BOARD LAYOUT AND SCHEMATICS The following figures show the parts layout (silkscreen) and schematics for the PICDEM 2 Plus board. FIGURE A-1: PICDEM 2 PLUS PARTS LAYOUT ( ) ( ) ( ) ( ) +9V IN 5V BATTERY...
Need help?
Do you have a question about the PICDEM 2 Plus and is the answer not in the manual?
Questions and answers