Microchip Technology PICDEM 2 Plus User Manual
Microchip Technology PICDEM 2 Plus User Manual

Microchip Technology PICDEM 2 Plus User Manual

Hide thumbs Also See for PICDEM 2 Plus:

Advertisement

Quick Links

PICDEM ™ 2 Plus
User's Guide
 2004 Microchip Technology Inc.
DS51275B

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PICDEM 2 Plus and is the answer not in the manual?

Questions and answers

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.
  • Page 3: Table Of Contents

    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...
  • Page 5: Chapter 1. Introduction

    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 ®...
  • Page 6: Picdem 2 Plus Demonstration Board

    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.
  • Page 7: Sample Devices

    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.
  • Page 8: Picdem 2 Plus User's Guide

    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.
  • Page 9: Chapter 2. Getting Started

    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.
  • Page 10: Picdem 2 Plus Used With An In-Circuit Emulator Or In-Circuit Debugger

    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:...
  • Page 11: Chapter 3. Tutorial

    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...
  • Page 13: Source Code And Application Notes

    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...
  • Page 15: Appendix A. Hardware Detail

    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).
  • Page 16: Switches

    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...
  • Page 17: Sample Devices

    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...
  • Page 18: Board Layout And Schematics

    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...
  • Page 19 Hardware Detail FIGURE A-2: PICDEM 2 PLUS SCHEMATIC 4.7K 0.1 µF 0.1 µF 0.1 µF MCLR 0.1 µF 4.7K 4.7K 4.7K 24LC256_DIP NC/OE OSC2 OSC1 PIEZO_BUZ 40-PIN DEVICE 2N2222 TO-92 2.2K 4.7K 0.1 µF 22 pF MCLR 32.768 kHz 22 pF...
  • Page 20 PICDEM™ 2 Plus User’s Guide FIGURE A-3: PICDEM 2 PLUS SCHEMATIC (CONTINUED) LCD1 GND1 0.1 µF T1IN T1OUT T2OUT T2IN R1OUT R1IN R2OUT R2IN DE9S-FRS 10.0 MAX232A-ND ICD CONNECTOR 1 (RC0) 2 (RC1) 4 (RC3) 5 (RC4) 7 (RC6) 8 (RC7) ...
  • Page 21: Index

    PIC18 ................. 1 Buzzer, Piezo ............. 2 Tutorial Program ..........7 PICDEM 2 Plus Board. See Board. PICDEM 2 Plus Kit. See Kit Components. Clock ................7 PICSTART® Plus............5 PICSTART® Plus User’s Guide ......... 4 Piezo Buzzer .............. 2 Demonstration Board.
  • Page 22: Worldwide Sales And Service

    Tel: 81-45-471- 6166 Fax: 81-45-471-6122 Suite 22, 41 Rawson Street 505 Eskdale Road Epping 2121, NSW Winnersh Triangle Australia Wokingham Tel: 61-2-9868-6733 Berkshire, England RG41 5TU Fax: 61-2-9868-6755 Tel: 44-118-921-5869 Fax: 44-118-921-5820 01/26/04  2004 Microchip Technology Inc. DS51275B-page 18...

Table of Contents