DV164136 Microchip Technology, DV164136 Datasheet

DEVELOPMENT KIT FOR PIC18

DV164136

Manufacturer Part Number
DV164136
Description
DEVELOPMENT KIT FOR PIC18
Manufacturer
Microchip Technology
Series
PIC®r
Type
MCUr
Datasheets

Specifications of DV164136

Contents
Board, Cables, CDs, PICkit™ 3 Programmer, Power Supply
Processor To Be Evaluated
PIC18F8722, PIC18F87J11
Interface Type
RS-232, USB
Operating Supply Voltage
3.3 V, 5 V
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC18
Silicon Core Number
PIC18F
Silicon Family Name
PIC18F8xxx
Kit Contents
PIC18 Exp Brd PICkit 3 Cable CD PSU
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PIC18F8722, PIC18F87J11
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DV164136
Manufacturer:
MICROCHIP
Quantity:
12 000
PICDEM™ PIC18 Explorer
Demonstration Board
User’s Guide
© 2008 Microchip Technology Inc.
DS51721B

Related parts for DV164136

DV164136 Summary of contents

Page 1

... PICDEM™ PIC18 Explorer © 2008 Microchip Technology Inc. Demonstration Board User’s Guide DS51721B ...

Page 2

... PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, UNI/O, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. ...

Page 3

... Tutorial Program Operation .......................................................................... 23 3.2 Source Code and Data Sheets ..................................................................... 25 Appendix A. Hardware Details A.1 Hardware Elements ..................................................................................... 27 A.2 Board Layout and Schematics ..................................................................... 30 Worldwide Sales and Service .................................................................................... 34 © 2008 Microchip Technology Inc. PICDEM™ PIC18 EXPLORER DEMONSTRATION BOARD Table of Contents USER’S GUIDE DS51721B-page iii ...

Page 4

... PICDEM™ PIC18 Explorer Demonstration Board User’s Guide NOTES: DS51721B-page iv © 2008 Microchip Technology Inc. ...

Page 5

... Chapter 3. “PICDEM™ PIC18 Explorer Demonstration Board Tutorial Program” – Explanation of the tutorial preprogrammed on the sample devices • Appendix A. “Hardware Details” – Description of the board’s hardware elements, including layout and schematic drawings © 2008 Microchip Technology Inc. PICDEM™ PIC18 EXPLORER DEMONSTRATION BOARD Preface NOTICE TO CUSTOMERS USER’ ...

Page 6

... Optional arguments mcc18 [options] file [options] Choice of mutually exclusive errorlevel {0|1} arguments selection Replaces repeated text var_name [, var_name...] Represents code supplied by void main (void) user { ... } © 2008 Microchip Technology Inc. Examples ® IDE User’s Guide ...

Page 7

... Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listing of seminars and events, listings of Microchip sales offices, distributors and factory representatives © 2008 Microchip Technology Inc. ICD 2 In-Circuit Debugger User’s Guide” (DS51331) Preface DS51721B-page 3 ...

Page 8

... Technical support is available through the web site at: http://support.microchip.com. DOCUMENT REVISION HISTORY Revision A (March 2008) • Initial release of this document. Revision B (May 2008) • Name and title change. DS51721B-page 4 ® II device programmers and the PICSTART © 2008 Microchip Technology Inc. ® ® ...

Page 9

... Chapter 1. Introduction 1.1 INTRODUCTION The PICDEM™ PIC18 Explorer Demonstration Board is the latest demonstration board for evaluating Microchip Technology’s PIC18FXXXX and PIC18FXXJXX families of devices. The board can be used as a stand-alone device or with an in-circuit debugger, such as ® the MPLAB Sample programs are provided to demonstrate the unique features of the supported devices ...

Page 10

... Prototype area – For user hardware. 27. LCD display. 28. J2 three-pin, male header – For selecting between a voltage of 3.3V or 5V. 29. J14 four-pin, male header – For use with a PIM, if required, to connect 3.3V or 5V, V and ICE MCLR. IN DS51721B-page 6 ® device or the © 2008 Microchip Technology Inc. ...

Page 11

... These programs may be used with the included sample devices and with an In-Circuit Debugger (ICD). Also provided on the disc is demonstration source code that includes several assembly source code (ASM) files and one Hex compiled code file. © 2008 Microchip Technology Inc ...

Page 12

... PICDEM™ PIC18 Explorer Demonstration Board User’s Guide NOTES: DS51721B-page 8 © 2008 Microchip Technology Inc. ...

Page 13

... Use the board as is, utilizing the firmware loaded on the main, PIC18F8722 microcontroller and RS-232 to USB PIC18LF2450 microcontroller • Reprogram the main, PIC18F8722 microcontroller or the RS-232 to USB, PIC18LF2450 microcontroller and demonstrate user programs © 2008 Microchip Technology Inc. PICDEM™ PIC18 EXPLORER DEMONSTRATION BOARD USER’S GUIDE Board Capabilities • ...

Page 14

... The device now can be demonstrated using the tutorial program. (See Section 3.1 “Tutorial Program Operation”.) DS51721B-page 10 S4 SWITCH – SETTING FOR DEFAULT MAIN MICROCONTROLLER S4 Switch JP1, JP2 AND JP3 JUMPERS Switch Position ® PIC MCU S4 ICE JP2 JP3 JP1 © 2008 Microchip Technology Inc. ...

Page 15

... For information on other microcontroller compatible ICD or ICE devices, see the “Microchip Development Systems Ordering Guide” or the Microchip web site at http://microchip.com. © 2008 Microchip Technology Inc. ICD 2 In-Circuit Debugger is an inexpensive ICD that could be used. (For ICD 2 In-Circuit Debugger User’s Guide” (DS51331). ...

Page 16

... The PIM enables the attachment of 80, 64 28-pin devices. Some PIMs also enable the board’s 5V output to be automatically reset to 3.3V. For a list of microcontroller-compatible PIMs, see the “Microchip Development Systems Ordering Guide” (DS30177 http://microchip.com. DS51721B-page 12 Plug-In Module (PIM) © 2008 Microchip Technology Inc. ...

Page 17

... To designate the PIM-mounted device as the main microcontroller, set Switch S4 (shown in Figure 2-5) to ICE (see Figure 2-6). FIGURE 2- you are converting from the board’s default V Device Voltage (5V/3.3V)” on page 14. © 2008 Microchip Technology Inc. PIM CONNECTORS AND S4 SWITCH PIM Connectors S4 Switch S4 SWITCH – SETTING FOR PIM-MOUNTED DEVICES ® ...

Page 18

... PIM board resistor R101 can be unpopulated - PIM board resistor R102 can be 1.18 kΩ. Note: For precise adjustment of V DS51721B-page 14 is named VAR (achieved only with a PIM with a mounted 3.3V device, such as the , 1% resistors are recommended. DD supply is 5V. The DD Values” on page 15.) © 2008 Microchip Technology Inc. ...

Page 19

... TABLE 2- 3.6V 3.3V 3.0V † This table assumes that the R25 and R26 resistors are left at their default values of 1 kΩ and 330Ω, respectively. © 2008 Microchip Technology Inc. Values DD REGULATOR VOLTAGE OUTPUT ⎛ ⎞ ...

Page 20

... Other assemblers/compilers can be used. For a list of tools compatible with PIC microcontrollers, see the Microchip web site (http://microchip.com). DS51721B-page 16 ® IDE software development tool includes a debugger and sev- ® C18 compiler for PIC18 microcontrollers and is fully ® In-Circuit Debugger (ICD PICkit™ Starter Kit can be © 2008 Microchip Technology Inc. ...

Page 21

... To start the programmer, select Programmer>Select Programmer>ICD2 open the Hex code file, select File>Import>Open and select CD/Hex/18F87J11/Demo87J11.hex. 6. Connect the J4 jumper to Main (main controller), as shown in Figure 2-7. © 2008 Microchip Technology Inc. ® Integrated Development Environment (IDE) and the sample J4 JUMPER AND ‘MAIN’ SETTING ...

Page 22

... To start the programmer, select Programmer>Select Programmer>ICD2 open the Hex code file, select File>Import>Open and select CD/Hex/RS232_USB_18F2450/Demo2450.hex. 4. Connect the J4 jumper to USB, as shown in Figure 2-8. FIGURE 2-8: DS51721B-page 18 J4 JUMPER AND ‘USB’ SETTING Jumper Location J4 Jumper Jumper Setting USB J4 Main © 2008 Microchip Technology Inc. ...

Page 23

... To connect the PICDEM PIC18 Explorer Demonstration Board to a host PC via the nine-pin DB9 connector, set jumper J13, as shown in the first illustration in Figure 2-10. This routes the main microcontroller’s communications through a transceiver. FIGURE 2-10: Nine-Pin RS-232 Port © 2008 Microchip Technology Inc. BOARD TO PC CONNECTION Board PIC18LF2450 USB ...

Page 24

... This procedure displays the dialog boxes that appear for the Windows operating system. FIGURE 2-11: 4. Select the Install from a list or specific location option and click Next. The screen shown in Figure 2-12 appears. DS51721B-page 20 INSTALLING USB *.inf FILE ON PC – SCREEN 1 ® XP © 2008 Microchip Technology Inc. ...

Page 25

... Step 1) in the text box below and click Next. The screen shown in Figure 2-13 appears. FIGURE 2-13: 6. Press Finish. The RS-232 to USB functionality is ready to be used. © 2008 Microchip Technology Inc. INSTALLING USB *.inf FILE ON PC – SCREEN 2 INSTALLING USB *.inf FILE ON PC – SCREEN 4 Getting Started ...

Page 26

... PICDEM™ PIC18 Explorer Demonstration Board User’s Guide NOTES: DS51721B-page 22 © 2008 Microchip Technology Inc. ...

Page 27

... Celsius and displays it on the LCD. The program also stores the current temperature, when exited, by writing to a defined address on the external, on-board EEPROM. Communication between the microcontroller and sensor is done by the A/D module. To exit this mode, press RB0. © 2008 Microchip Technology Inc. PICDEM™ PIC18 EXPLORER DEMONSTRATION BOARD RB0 AND RA5 BUTTONS USER’ ...

Page 28

... To start the clock with the set time, press RA5. The LCD returns to an active clock display return to the main menu, press RB0. DS51721B-page 24 HYPER TERMINAL SETTINGS Field Bits per second Data bits Parity Stop bits Flow control Setting 9600 8 None 1 None © 2008 Microchip Technology Inc. ...

Page 29

... Hex files. The CD has device-specific directories for each set of source code and Hex files. For information on reprogramming the device with new or modified code, see Section 2.1 “Board as Stand-Alone Device”. © 2008 Microchip Technology Inc. TUTORIAL PROGRAM FLOWCHART Power-up PICDEM™ PIC18 Explorer ...

Page 30

... PICDEM™ PIC18 Explorer Demonstration Board User’s Guide NOTES: DS51721B-page 26 © 2008 Microchip Technology Inc. ...

Page 31

... The PIC18LF2450 which does the RS-232 to USB communication • The MAX3232 transceiver Note: For details on this connection, see Section 2.5 “Connecting to Host PC for RS-232 Communication”. © 2008 Microchip Technology Inc. PICDEM™ PIC18 EXPLORER DEMONSTRATION BOARD USER’S GUIDE DS51721B-page 27 ...

Page 32

... The PICtail™ interface enables the PICDEM PIC18 Explorer Demonstration Board to be connected directly to available PICtail daughter board cards. This provides a one-to-one connection between the microcontrollers and the cards through SPI/I interfaces. DS51721B-page 28 to GND. DD © 2008 Microchip Technology Inc. 2 C™ ...

Page 33

... Table A-1. TABLE A-1: SAMPLE DEVICE I/O FEATURES AND CONNECTIONS RS-232/ Device LEDs USB PIC18F8722 RD7:RD0 RC6/RC7 RB0 RA5 MCLR RC3:RC5 PIC18F87J11 RD7:RD0 RC6/RC7 RB0 RA5 MCLR RC3:RC5 © 2008 Microchip Technology Inc. Pot LCD R3 RA0 RC3:RC5 RA0 RC3:RC5 Hardware Details Temp ...

Page 34

... PICDEM™ PIC18 Explorer Demonstration Board User’s Guide A.2 BOARD LAYOUT AND SCHEMATICS FIGURE A-1: PICDEM™ PIC18 EXPLORER DEMONSTRATION BOARD LAYOUT DS51721B-page 30 © 2008 Microchip Technology Inc. ...

Page 35

... FIGURE A-2: PICDEM™ PIC18 EXPLORER DEMONSTRATION BOARD SCHEMATIC – tail PIC TM pins pins pins pins © 2008 Microchip Technology Inc. Hardware Details DS51721B-page 31 ...

Page 36

... RF1/AN6/C2OUT RF1 23 RF0/AN5 RF0 24 RE7/CCP2/AD15 RE7 73 RE6/AD14 RE6 74 RE5/AD13 RE5 75 RE4/AD12 RE4 76 RE3/AD11 RE3 77 RE2/CS/AD10 RE2 78 RE1/WR/AD9 RE1 3 RE0/RD/AD8 RE0 4 RD7/PSP7/AD7 RD7 63 RD6/PSP6/AD6 RD6 64 RD5/PSP5/AD5 RD5 65 RD4/PSP4/AD4 RD4 66 RD3/PSP3/AD3 RD3 67 RD2/PSP2/AD2 RD2 68 RD1/PSP1/AD1 RD1 69 RD0/PSP0/AD0 RD0 72 © 2008 Microchip Technology Inc. ...

Page 37

... NOTES: © 2008 Microchip Technology Inc. Hardware Details DS51721B-page 33 ...

Page 38

... Fax: 886-3-572-6459 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 © 2008 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 ...

Related keywords