| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
2007 Microchip Technology Inc. DS51662A Code protection cons
Top Searches for this datasheetPICDEMLCD Demonstration User's Guide 2007 Microchip Technology Inc. DS51662A Code protection constantly evolving. Microchip committed continuously improving code protection features products. Attempts break Microchip's code protection feature violation Digital Millennium Copyright Act. such acts allow unauthorized access your software other copyrighted work, have right relief under that Act. Information contained this publication regarding device applications like provided only your convenience superseded updates. your responsibility ensure that your application meets with your specifications. MICROCHIP MAKES REPRESENTATIONS WARRANTIES KIND WHETHER EXPRESS IMPLIED, WRITTEN ORAL, STATUTORY OTHERWISE, RELATED INFORMATION, INCLUDING LIMITED CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY FITNESS PURPOSE. Microchip disclaims liability arising from this information use. Microchip devices life support and/or safety applications entirely buyer's risk, buyer agrees defend, indemnify hold harmless Microchip from damages, claims, suits, expenses resulting from such use. licenses conveyed, implicitly otherwise, under Microchip intellectual property rights. Trademarks Microchip name logo, Microchip logo, Accuron, dsPIC, KEELOQ, KEELOQ logo, microID, MPLAB, PIC, PICmicro, PICSTART, MATE, PowerSmart, rfPIC, SmartShunt registered trademarks Microchip Technology Incorporated U.S.A. other countries. AmpLab, FilterLab, Linear Active Thermistor, Migratable Memory, MXDEV, MXLAB, logo, SEEVAL, SmartSensor Embedded Control Solutions Company registered trademarks Microchip Technology Incorporated U.S.A. Analog-for-the-Digital Age, Application Maestro, CodeGuard, dsPICDEM, dsPICDEM.net, dsPICworks, ECAN, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB, In-Circuit Serial Programming, ICSP, ICEPIC, Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB, MPLINK, PICkit, PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal, PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, rfPICDEM, Select Mode, Smart Serial, SmartTel, Total Endurance, UNI/O, WiperLock ZENA trademarks Microchip Technology Incorporated U.S.A. other countries. SQTP service mark Microchip Technology Incorporated U.S.A. other trademarks mentioned herein property their respective companies. 2007, Microchip Technology Incorporated, Printed U.S.A., Rights Reserved. Printed recycled paper. Microchip received ISO/TS-16949:2002 certification worldwide headquarters, design wafer fabrication facilities Chandler Tempe, Arizona, Gresham, Oregon Mountain View, California. Company's quality system processes procedures PIC® MCUs dsPIC® DSCs, KEELOQ® code hopping devices, Serial EEPROMs, microperipherals, nonvolatile memory analog products. addition, Microchip's quality system design manufacture development systems 9001:2000 certified. DS51662A-page 2007 Microchip Technology Inc. PICDEMLCD DEMONSTRATION USER'S GUIDE Table Contents Preface Chapter Introduction Welcome PICDEM Demonstration Board Hardware Features Sample Devices Sample Programs Chapter Getting Started PICDEM Stand-Alone Board Preprogrammed Device PICDEM Used with In-Circuit Emulator In-Circuit Debugger Chapter Using Demo Software Demo Firmware Operation Appendix Board Technical Information Processors Display Display Charge Pump VLCAP Resistive Ladder Versus Charge Pump Oscillator Options RS-232 Serial Port Real-Time Clock Serial EEPROM A.10 Analog Input A.11 Temperature Sensor A.12 Switches A.13 Connector A.14 Power Supply A.15 Board Layout Schematics A.16 Layout Schematics Worldwide Sales Service 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD Demonstration User's Guide NOTES: DS51662A-page 2007 Microchip Technology Inc. 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD DEMONSTRATION USER'S GUIDE Preface NOTICE CUSTOMERS documentation becomes dated, this manual exception. Microchip tools documentation constantly evolving meet customer needs, some actual dialogs and/or tool descriptions differ from those this document. Please refer site (www.microchip.com) obtain latest documentation available. Documents identified with "DS" number. This number located bottom each page, front page number. numbering convention number "DSXXXXXA", where "XXXXX" document number revision level document. most up-to-date information development tools, MPLAB® on-line help. Select Help menu, then Topics open list available on-line help files. logo registered logo Varitronix Limited. illustrations pages copyrighted materials Varitronix Electronics. Reprinted with permission. INTRODUCTION This chapter contains general information that will useful know before using PICDEMLCD Demonstration User's Guide. Items discussed this chapter include: About this Guide Conventions Used this Guide Recommended Reading Microchip Site Development Systems Customer Change Notification Service Customer Support ABOUT THIS GUIDE Document Layout This document describes PICDEM development tool emulate debug firmware target board. manual layout follows: Chapter Introduction Describes hardware PICDEM Demonstration Board. Chapter Getting Started Describes PICDEM Demonstration Board. Chapter Using Demo Software Describes application Demo mode also customized. Appendix Board Technical Information Shows schematic layout diagrams PICDEM Demonstration Board. 2007 Microchip Technology Inc. DS51662A-page Preface CONVENTIONS USED THIS GUIDE This manual uses following documentation conventions: DOCUMENTATION CONVENTIONS Description Arial font: Italic characters Initial caps Referenced books Emphasized text window dialog menu selection Quotes Underlined, italic text with right angle bracket Bold characters Text angle brackets Courier font: Plain Courier Sample source code Filenames File paths Keywords Command-line options values binary number Italic Courier 0xnnnn Square brackets Curly brackets pipe character: Ellipses. variable argument #define START autoexec.bat c:\mcc18\h _asm, _endasm, static -Opa+, -Opa0, `b00100, `b10 file.o, where file valid filename field name window dialog menu path dialog button keyboard Represents Examples PICDEM User's Guide only compiler. Output window Settings dialog select Enable Programmer "Save project before build" File>Save Click Click Power Press <Enter>, <F1> hexadecimal number where 0xFFFF, 0x007A hexadecimal digit Optional arguments Choice mutually exclusive arguments; selection Replaces repeated text Represents code supplied user mcc18 [options] file [options] errorlevel {0|1} var_name var_name.] void main (void) 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD Demonstration User's Guide RECOMMENDED READING This user's guide describes PICDEM Demonstration Kit. Other useful documents listed below. following Microchip documents available recommended supplemental reference resources. Readme Files latest information using other tools, read tool-specific Readme files Readmes subdirectory MPLAB® installation directory. Readme files contain update information known issues that included this user's guide. following documents comprehensive references Microchip's enhanced microcontrollers with driver: "PIC18F85J90 Family Data Sheet" (DS39770) "PIC18F6390/6490/8390/8490 Data Sheet" (DS39629) "PIC16C9XX Data Sheet" (DS30444) "PIC16C925/926 Data Sheet" (DS39544) "PIC16F917/916/914/913 Data Sheet" (DS41250) MICROCHIP SITE Microchip provides online support site www.microchip.com. This site used means make files information easily available customers. Accessible using your favorite Internet browser, site contains following information: Product Support Data sheets errata, application notes sample programs, design resources, user's guides hardware support documents, latest software releases archived software General Technical Support Frequently Asked Questions (FAQs), technical support requests, online discussion groups, Microchip consultant program member listing Business Microchip Product selector ordering guides, latest Microchip press releases, listing seminars events, listings Microchip sales offices, distributors factory representatives DS51662A-page 2007 Microchip Technology Inc. Preface DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICE Microchip's customer notification service helps keep customers current Microchip products. Subscribers will receive e-mail notification whenever there changes, updates, revisions errata related specified product family development tool interest. register, access Microchip site www.microchip.com, click Customer Change Notification follow registration instructions. Development Systems product group categories are: Compilers latest information Microchip compilers other language tools. These include MPLAB C17, MPLAB MPLAB compilers; MPASMand MPLAB ASM30 assemblers; MPLINKand MPLAB LINK30 object linkers; MPLIBand MPLAB LIB30 object librarians. Emulators latest information Microchip in-circuit emulators. This includes MPLAB 2000 MPLAB 4000. In-Circuit Debuggers latest information Microchip in-circuit debugger, MPLAB MPLAB latest information Microchip MPLAB IDE, Windows® operating system Integrated Development Environment development systems tools. This list focused MPLAB IDE, MPLAB MPLAB SIM30 simulators, MPLAB Project Manager general editing debugging features. Programmers latest information Microchip programmers. These include MPLAB MATE® device programmers PICSTART® Plus development programmer. CUSTOMER SUPPORT Users Microchip products receive assistance through several channels: Distributor Representative Local Sales Office Field Application Engineer (FAE) Technical Support Development Systems Information Line Customers should contact their distributor, representative field application engineer (FAE) support. Local sales offices also available help customers. listing sales offices locations included back this document. Technical support available through site http://support.microchip.com addition, there Development Systems Information Line which lists latest versions Microchip's development systems software products. This line also provides information customers receive currently available upgrade kits. Development Systems Information Line numbers are: 1-800-755-2345 United States most Canada 1-480-792-7302 Other International Locations 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD DEMONSTRATION USER'S GUIDE Chapter Introduction WELCOME Thank purchasing PICDEM Demonstration from Microchip Technology Incorporated. PICDEM demonstrates capabilities PIC18FXXJ90, PIC18FXX90 PIC16X9XX families devices. PICDEM used stand-alone with preprogrammed part, with in-circuit emulator (e.g., MPLAB® ICE) with in-circuit debugger (e.g., MPLAB Sample programs provided demonstrate unique features supported devices. PICDEM Demonstration comes with following: PICDEM Demonstration Board (Figure 1-1) Sample Plug-in Module (PIM) CD-ROM which contains: Sample Programs "PICDEMLCD Demonstration User's Guide" missing part kit, please contact your nearest Microchip sales office listed back this publication help. 2007 Microchip Technology Inc. DS51662A-page PICDEM DEMONSTRATION BOARD HARDWARE FEATURES PICDEM Demonstration Board following hardware features; each feature's number corresponding number Figure 1-1: demonstration board provides daughter board option PIC18F85J90, PIC18F8490, PIC16F914/917 PIC16F946 families devices MPLAB ICE. board also supplied with populated with PIC18F85J90 device. Note: Optional PIMs populated with PIC18FXX90 PIC16F9XX devices available purchase from Microchip Direct (www.microchipdirect.com). MPLAB plugged onto board without transition socket PIC18FXX90 devices. other devices, transition socket needed. On-board adjustable voltage regulator direct input from AC/DC wall adapter button cell battery. Jumper select different power options. Green power-on indicator direct input from Varitronix custom segmented display. Jumpers, COM0, COM1, COM2 COM3, disconnect pins from on-board allow usage customized glass. RS-232 connection associated hardware direct connection RS-232 interface. Jumpers, JP13 JP14, disconnect In-Circuit Debugger (ICD) connector. R44, potentiometer devices with analog inputs. Five push button switches through external stimulus Reset. Jumpers, JP19, JP18, JP2, disconnect switches from RB6, RB7, input pins. Jumper, J11, select either (POT R44) S1-S4 switches (RA0). green LEDs connected (device dependent). Jumpers disconnect LEDs from RC4. slide switch (S6) select either resistor ladder charge pump option generating bias values pins. Jumper, JP21, physically resistor ladder ground. Unpopulated holes provided crystal connection. Jumpers, JP11 JP12, disconnect crystal from OSC1 OSC2. 32.768 crystal with Timer1 Real-Time Clock (RTC) operation. Microwire EEPROM 93AA46C provided socket. Jumpers, JP15 JP16, disconnect EEPROM from Jumper, connect (device dependent). Jumper, J13, select either memory organization. Thermistor sensing temperature. Jumper, JP5, connect thermistor (RA1) (device dependent). Jumper, JP17, select either power peripherals. Unpopulated option TC77 temperature sensor. Prototype area user hardware. PICtaildaughter board connection. (The names board valid only PIC18F8490 device. other devices, PICtail daughter board connections different connected.) 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD Demonstration User's Guide FIGURE 1-1: PICDEMLCD HARDWARE SAMPLE DEVICES PIM, populated with PIC18F85J90, included. SAMPLE PROGRAMS PICDEM Demonstration includes CD-ROM with sample demonstration programs. Depending device, these programs used with some included sample devices with In-Circuit Emulator (ICE) with In-Circuit Debugger (ICD). each type device (PIC16F946, PIC16F917, PIC18F8490 PIC18F85J90), demo source code, several and/or .asm files compiled code (one file) provided. DS51662A-page 2007 Microchip Technology Inc. NOTES: 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD DEMONSTRATION USER'S GUIDE Chapter Getting Started PICDEM used stand-alone board with preprogrammed device, with In-Circuit Emulator (ICE) with In-Circuit Debugger (ICD). list PIC® microcontroller compatible ICEs ICDs, please refer "Microchip Development Systems Ordering Guide" (DS30177). PICDEM STAND-ALONE BOARD PREPROGRAMMED DEVICE PICDEM demonstrated immediately following steps listed below: Apply power PICDEM information acceptable power sources, Appendix "Board Technical Information". Note: event that preprogrammed PICDEM Demonstration Board with PIC18F85J90 does operate, check following conditions: jumper, J15, configured power supply used. slide switch, switched JP1, JP2, JP6, JP18 JP19 connected. middle jumpers connected. JP10 connected. connecting JP17 connecting I/O. status other jumpers will affect preprogrammed demonstration. Refer Figure Appendix "Board Technical Information". reprogram sample device, following will necessary: User source code programmed device sample program restored from file included CD-ROM. assembler, such MPASMAssembler (available with MPLAB IDE), compiler, such MPLAB Compiler (PIC18XXXX/18XXJXX devices only) must used. Source code must assembled compiled into file before programmed into device. Microchip Technology's MPASM Assembler MPLAB Compiler used. Both compatible with MPLAB IDE; however, other assemblers/compilers used. Once sample program file format, programmed Flash device using MPLAB with ICSPmodule. Microchip Technology's MPLAB compatible with MPLAB IDE. code protection bit(s) have been programmed, on-chip program memory read verification purposes. 2007 Microchip Technology Inc. DS51662A-page PICDEM USED WITH IN-CIRCUIT EMULATOR IN-CIRCUIT DEBUGGER PICDEM with In-Circuit Emulator (ICE) In-Circuit Debugger (ICD), refer tool's user's guide instructions power-up configure ICE/ICD, well connect target boards. Configure PICDEM desired oscillator described Table 2-1. Refer ICE/ICD user's guide oscillator configuration requirements. TABLE 2-1: OSCILLATOR SELECTION Modification PICDEMLCD JP10 connected. canned oscillator board, crystal JP11 JP12 connected, caps C17. canned oscillator socket empty, JP9, JP11 JP12 connected. JP11 JP12 connected. canned oscillator board. JP10 connected. canned oscillator board, resonator JP11 JP12 connected, caps C17. JP10 connected. canned oscillator board, resonator JP11 JP12 connected, empty. Oscillator Selection PICDEMLCD Crystal Canned Oscillator Device Internal Oscillator Ceramic Resonator internal caps Ceramic Resonator with internal caps Note: MPLAB plugged onto board without transition socket PIC18FXX90 devices. other devices, transition socket needed. 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD DEMONSTRATION USER'S GUIDE Chapter Using Demo Software demo programs preprogrammed into sample devices. Also, this program included CD-ROM program disk user reference. This demo program uses functions macros provided firmware driver module display required characters, strings icons LCD. DEMO FIRMWARE OPERATION demo firmware made four components, which individually displayed LCD. microcontroller's internal oscillator used system clock source. Voltmeter (F1) This mode uses module measure voltage through analog channel AN0, displays voltage between 0.00V 3.30V using module. Voltage continually updated until mode exited pressing either switch. Thermometer (F2) This mode uses module measure voltage thermistor through analog channel AN1, converts temperature both Celsius Fahrenheit displays temperature using module. Temperature continually updated until mode exited pressing either switch. Clock (F3)(1) This mode uses Timer1 module clock crystal. Once this mode entered from main menu, Real-Time Clock will start counting from 00:00:00. switch used increment minutes switch used increment hours. perform increment operations, press hold switches. clock keeps running continuously until mode exited pressing either switch. Charge Pump Software Contrast (F4)(1) This mode available only PIC18F85J90 family devices uses on-board charge pump voltage regulator. module configured Charge Pump mode software contrast achieved either pressing increase contrast decrease contrast until mode exited pressing either switch. exiting this mode, Voltmeter mode entered retains contrast level. Note low-power battery operation JP17, remove jumper connect RB0. 2007 Microchip Technology Inc. DS51662A-page FIGURE 3-1: DEMO PROGRAM FLOWCHART Power-up Display Microchip Logo Display Varitronix Logo Sleep Voltmeter Demo Wake-up from Sleep Pressing either Display Start Conversion Channel Sleep Wake-up from Sleep Completion Conversion Display Voltage S1/S2 switch pressed? 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD Demonstration User's Guide FIGURE 3-2: DEMO PROGRAM FLOWCHART Thermometer Demo Display Start Conversion Channel Sleep Wake-up from Sleep Completion Conversion Display Temperature S1/S2 switch pressed? DS51662A-page 2007 Microchip Technology Inc. FIGURE 3-3: DEMO PROGRAM FLOWCHART Real-Time Clock Demo Display S1/S2 switch pressed? Display Time Sleep Wake-up from Sleep Every Second switch pressed? Increment Minute switch pressed? Increment Hour 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD Demonstration User's Guide FIGURE 3-4: DEMO PROGRAM FLOWCHART Software Contrast Demo using Charge Pump Display S1/S2 switch pressed? Display LCDREG<BIAS> bits switch pressed? Increase Contrast switch pressed? Decrease Contrast DS51662A-page 2007 Microchip Technology Inc. FIGURE 3-5: DEMO PROGRAM FLOWCHART Increment Second Register Clear Second Register, Increment Minute Register Clear Minute Register, Increment Hour Register Clear Hour Register Return 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD DEMONSTRATION USER'S GUIDE Appendix Board Technical Information PICDEM hardware complicated intended illustrate ease various PIC® microcontrollers. PICDEM features following hardware elements. Note: Many following hardware sections will require specific demo board jumper configurations. jumper listed particular section, then that jumper effect circuitry within hardware section working. Figure shows diagram PICDEM silkscreen with necessary jumpers highlighted gray. Also, refer schematic circuit connections. 2007 Microchip Technology Inc. DS51662A-page FIGURE A-1: PICDEMLCD DEFAULT JUMPER LOCATION 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD Demonstration User's Guide PROCESSORS While there actual processor populated board, processor provided with plug-in module (PIM) that shipped with demonstration board. default processor PIC18F85J90. board also supports PIC18F8490, PIC16F946 PIC16F917 processors, which have been designed with PICDEM These three processors PICDEM Pack which available separate purchase. part numbers replacement PIC18F85J90 pack given Table A-1. TABLE A-1: PART NUMBERS() Item PICDEM Pack PIC18F8490 PIC16F946 PIC16F917 PIC18F85J90 Part number MA180019 MA180022 availability pricing parts, www.microchipdirect.com. DS51662A-page 2007 Microchip Technology Inc. DISPLAY custom made segmented glass, manufactured Varitronix Corporation, provided shown Figure A-2. This commons segments. Table provides specifics display. Refer Varitronix specification sheet (VL_5573_V00) additional details. FIGURE A-2: N.C. PICDEMLCD DISPLAY N.C. N.C. COM1 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 COM0 COM2 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 COM3 N.C. Legend: N.C. connection Electronics TABLE A-2: P.I.D. Mode/Color/Type GLASS SPECIFICATIONS Type VL_5573_V00 Positive 6:00 O'Clock Duty, Bias ~3.0 Volt (p-p), +20°C +50°C -10°C +60°C STD.Transmissive STD.Reflective Specification Viewing Direction Driving Scheme Drive Voltage (VLCD) Operating Temperature Storage Temperature Polarizer Front Polarizer Back Since glass used PICDEM operates there voltage protection circuit LCDBIAS3 pin, which enabled default configuration. When enabled, even greater than regulates LCDBIAS3 voltage such that always maintains value This necessary operation module, protection circuit prevent accidentally applying voltages higher than glass present board. 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD Demonstration User's Guide FIGURE A-3: DISPLAY DEFINITIONS Electronics FIGURE A-4: DIGIT DESCRIPTION Electronics DS51662A-page 2007 Microchip Technology Inc. TABLE A-3: SEGX COMX COM0 N.C. COM0 SEG0 SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 SEG9 SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 N.C. N.C. SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 N.C. COM1 N.C. COM1 N.C. N.C. N.C. COM2 N.C. N.C. N.C. COM2 N.C. COM3 N.C. N.C. N.C. COM3 N.C. Legend: N.C. connection 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD Demonstration User's Guide A.2.1 Device-Specific Segment Configuration following figures tables detail which segments available specific PIC® devices. TABLE A-4: PIC18F85J90 PIN/PORT COMPARISON SEG30 SEG29 BIAS2 BIAS1 BIAS0 VLCAP1 VLCAP2 SEG26 SEG25 SEG24 SEG23 SEG22 SEG21 SEG20 SEG43 SEG42 SEG41 SEG40 SEG19 ICEVDD AVSS SEG18 ICEVDD SEG15 SEG14 T1OSCI TX/CK RX/DT SEG39 SEG38 Port PIC18F85J90 PIC18F85J90 PIC18F85J90 Port AVDD AVSS SEG37 SEG36 SEG13 SEG17 SEG16 SEG12 ICEVDD OSC1 OSC2 SEG29 SEG11 SEG10 SEG9 SEG8 SEG35 SEG34 SEG33 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 SEG31 COM3 COM2 COM1 COM0 BIAS3 SEG47 SEG46 SEG37 SEG36 SEG13 SEG17 SEG16 SEG12 ICEVDD OSC1 OSC2 SEG27 SEG11 SEG10 SEG9 SEG8 SEG35 SEG34 SEG33 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 SEG28 COM3 COM2 COM1 BIAS3 SEG32 SEG31 Port PIC18F85J90 PIC18F85J90 PIC18F85J90 Port Legend: VDDCORE ENVREG AVDD AVSS SEG45 SEG44 BIAS2 BIAS1 BIAS0 VLCAP1 VLCAP2 MCLR SEG26 VDDCORE SEG25 SEG24 SEG23 SEG22 SEG21 SEG20 SEG43 SEG42 SEG41 SEG40 SEG19 ENVREG AVDD AVSS SEG18 ICEVDD SEG15 SEG14 T1OSCI T1OSCO TX/CK RX/DT SEG39 SEG38 ICEMCLR T1OSCO COM0 COM0 Unshaded cells indicate where perfect match between pins ports exists. Shaded cells indicate where differences between ports pins exist. Bold text indicates pins that connected pins ports. DS51662A-page 2007 Microchip Technology Inc. TABLE A-5: PIC18F85J90 PIC18F85J90 CONNECTIONS COMPARISON COM3 X8,X6,X5,X7 X1,X3,X4,X2 -,F2,F1,F3 1A,1E,F4,1F 1B,1C,1D,1G 2A,2E,2D,2F 2B,2C,COL,2G 3A,3E,3D,3F S9,6G,6B,6C 6D,6F,6A,6E X31,X33,X34,X32 -,X27,X35,X30 -,X28,X36,X29 S1,S3,S4,S2 S6,-,-,S7 S5,-,-S8 COM4 COM2 X9,X11,X12,X10 X16,X14,X13,X15 X17,X19,X20,X18 -,X22,X21,3B,3C,-,3G 4A,4E,4D,4F 4B,4C,DP1,4G 5A,5E,5D,5F 5B,5C,-,5G X23,X25,X26,X24 S13,8G,8B,8C 8D,8F,8A,8E DP2,7G,7B,7C 7D,7F,7A,7E S11,-,-,S12,-,-,S10 COM1 COM1 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 COM0 COM1 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 COM0 PIC18F85J90 COM2 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG29 SEG31 SEG44 SEG45 SEG46 COM3 COM2 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 COM3 Legend: Unshaded cells indicate perfect match between glass. Shaded cells indicate pins that remapped corresponding PIM. 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD Demonstration User's Guide FIGURE A-5: N.C. SEGMENT CONFIGURATION PIC18F85J90 DEVICES N.C. N.C. COM1 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 COM0 Legend: Note N.C. connection SEG44, SEG45, SEG46 exist only PIC18F85J90 devices. Disable SEG27, SEG28, SEG30, SEG32 when module enabled. Although SEG32 listed diagram, multiplexed with Timer1 oscillator, therefore, must disabled when Timer1 oscillator enabled. COM2 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG29 SEG31 SEG44(1) SEG45(1) SEG46(1) SEG27(2) SEG28(2) SEG29 SEG30(2) SEG31 COM3 N.C. Electronics TABLE A-6: PIC18F85J90 PORT COMPARISON PIC18F85J90 SEG18 OSC2 OSC1 SEG29 T1OSC1 TIOSC0 SEG17 SEG16 TX/CK RX/DT SEG18 OSC2 OSC1 SEG27 T1OSC0 TIOSC1 SEG17 SEG16 TX/CK RX/DT Port PIC18F85J90 Port Legend: Unshaded cells indicate perfect match between glass. Shaded cells indicate pins that remapped corresponding PIM. DS51662A-page 2007 Microchip Technology Inc. TABLE A-7: PIC18F8490 PORT/PIN COMPARISON SEG45 SEG44 BIAS2 BIAS1 SEG30 SEG29 SEG28 SEG27 ICEMCLR SEG26 ICEVDD SEG25 SEG24 SEG23 SEG22 SEG21 SEG20 SEG43 SEG42 SEG41 SEG40 SEG19 SEG18 ICEVDD AVSS SEG17 SEG16 ICEVDD SEG15 SEG14 TIOSC1 T1OSC0 TX/CK RX/DT SEG39 SEG38 Port AVDD AVSS PIC18F8490 PIC18F8490 PIC18F8490 Port COM0 LCDBIAS3 SEG37 SEG36 SEG13 SEG12 OSC1 OSC2 SEG11 SEG10 SEG9 SEG8 SEG35 SEG34 SEG33 SEG32 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 SEG31 COM3 COM2 COM1 COM0 LCDBIAS3 SEG47 SEG46 SEG37 SEG36 SEG13 SEG12 ICEVDD OSC1 OSC2 SEG11 SEG10 SEG9 SEG8 SEG35 SEG34 SEG33 SEG32 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 SEG31 COM3 COM2 COM1 COM0 BIAS3 SEG47 SEG46 Port PIC18F8490 PIC18F8490 PIC18F8490 Port LCDBIAS2 LCDBIAS1 AVDD AVSS SEG45 SEG44 LCDBIAS2 LCDBIAS1 SEG30 SEG29 SEG28 SEG27 MCLR SEG26 SEG25 SEG24 SEG23 SEG22 SEG21 SEG20 SEG43 SEG42 SEG41 SEG40 SEG19 SEG18 AVDD AVSS SEG17 SEG16 SEG15 SEG14 TIOSC0 T1OSC1 TX/CK RX/DT SEG39 SEG38 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD Demonstration User's Guide TABLE A-8: PIC18F8490 PIC18F8490 CONNECTIONS COMPARISON COM3 X8,X6,X5,X7 X1,X3,X4,X2 -,F2,F1,F3 1A,1E,F4,1F 1B,1C,1D,1G 2A,2E,2D,2F 2B,2C,COL,2G 3A,3E,3D,3F S9,6G,6B,6C 6D,6F,6A,6E X31,X33,X34,X32 -,X27,X35,X30 -,X28,X36,X29 S1,S3,S4,S2 S6,-,-,S7 S5,-,-S8 COM4 COM2 X9,X11,X12,X10 X16,X14,X13,X15 X17,X19,X20,X18 -,X22,X21,3B,3C,-,3G 4A,4E,4D,4F 4B,4C,DP1,4G 5A,5E,5D,5F 5B,5C,-,5G X23,X25,X26,X24 S13,8G,8B,8C 8D,8F,8A,8E DP2,7G,7B,7C 7D,7F,7A,7E S11,-,-,S12,-,-,S10 COM1 COM1 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 COM0 COM1 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 COM0 PIC18F8490 COM2 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 COM3 COM2 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 COM3 FIGURE A-6: N.C. SEGMENT CONFIGURATION PIC18F8490 DEVICES N.C. N.C. COM2 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 COM3 N.C. COM1 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 COM0 N.C. connection Legend: Electronics DS51662A-page 2007 Microchip Technology Inc. TABLE A-9: PIC18F8490 PORT COMPARISON PIC18F8490 OSC2 OSC1 T1OSC1 TIOSC0 TX/CK RX/DT OSC2 OSC1 T1OSC0 TIOSC1 TX/CK RX/DT Port PIC18F8490 Port 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD Demonstration User's Guide TABLE A-10: PIC16F946 PIN/PORT COMPARISON Port SEG19 SEG20 SEG36 SEG37 SEG38 SEG39 SEG40 SEG41 ICEVDD SEG32 SEG33 SEG34 SEG35 SEG1 SEG2 SEG3 ICEVDD COM0 COM1 ICEVDD AVSS COM2 SEG15 SEG4 SEG5 ICEVDD ICEVDD AVSS ICEVDD AVSS PIC16F946 PIC16F946 PIC16F946 Port ICEVDD SEG21 SEG22 SEG23 SEG24 ICEVDD T1OSCI T1OSCO SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 VLCD1 VLCD2 VLCD3 COM3 SEG16 SEG10 TX/CK RX/DT SEG17 SEG18 SEG21 SEG22 SEG23 SEG24 ICEVDD T1OSCI T1OSCO SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 BIAS1 BIAS2 BIAS3 VLCAP1 COM3 SEG16 SEG10 TX/CK RX/DT SEG17 SEG18 VLCAP1\ TX/CK RX/DT Port ICEVDD PIC16F946 PIC16F946 PIC16F946 Port Legend: AVDD AVSS SEG19 SEG20 SEG36 SEG37 SEG38 SEG39 SEG40 SEG41 SEG32 SEG33 SEG34 SEG35 SEG1 SEG2 SEG3 COM0 COM1 AVDD AVSS COM2 SEG15 SEG4 SEG5 ICEMCLR ICEMCLR ICEMCLR ICEMCLR Unshaded cells indicate where perfect match between pins ports exists. Shaded cells indicate where differences between ports pins exist. Bold text indicates pins that connected pins ports. DS51662A-page 2007 Microchip Technology Inc. TABLE A-11: PIC16F946 PIC16F946 CONNECTIONS COMPARISON COM3 X8,X6,X5,X7 X1,X3,X4,X2 -,F2,F1,F3 1A,1E,F4,1F 1B,1C,1D,1G 2A,2E,2D,2F 2B,2C,COL,2G 3A,3E,3D,3F S9,6G,6B,6C 6D,6F,6A,6E X31,X33,X34,X32 -,X27,X35,X30 -,X28,X36,X29 S1,S3,S4,S2 S6,-,-,S7 S5,-,-S8 COM4 COM2 X9,X11,X12,X10 X16,X14,X13,X15 X17,X19,X20,X18 -,X22,X21,3B,3C,-,3G 4A,4E,4D,4F 4B,4C,DP1,4G 5A,5E,5D,5F 5B,5C,-,5G X23,X25,X26,X24 S13,8G,8B,8C 8D,8F,8A,8E DP2,7G,7B,7C 7D,7F,7A,7E S11,-,-,S12,-,-,S10 COM1 COM1 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 COM0 COM1 SEG15 SEG41 SEG40 SEG39 SEG38 SEG10 SEG37 SEG36 SEG35 SEG34 SEG5 SEG4 SEG3 SEG2 SEG1 SEG33 COM0 PIC16F946 COM2 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 COM3 Legend: COM2 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 COM3 Unshaded cells indicate perfect match between glass. Shaded cells indicate pins that remapped corresponding PIM. FIGURE A-7: N.C. SEGMENT CONFIGURATION PIC16F946 DEVICES N.C. SEG41 SEG40 SEG39 SEG38 SEG37 SEG36 SEG35 SEG34 SEG33 N.C. COM1 SEG15 SEG14(1) SEG13(1) SEG12(1) SEG11(1) SEG10 SEG9(1) SEG8(1) SEG7(1) SEG6(1) SEG5 SEG4 SEG3 SEG2 SEG1 SEG0(1) COM0 COM2 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 COM3 N.C. Legend: Note N.C. connection Disable SEG0, SEG6, SEG7, SEG8, SEG9, SEG11, SEG12, SEG13 SEG14 when module enabled. Electronics 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD Demonstration User's Guide TABLE A-12: Legend: PIC16F946 PORT COMPARISON PIC16F946 T1OSCO T1OSCI COM1 VLCD1 VLCD2 TX/CK RX/DT T1OSCO T1OSCI COM1 BIAS1 BIAS2 TX/CK RX/DT Port PIC16F946 Port Unshaded cells indicate perfect match between glass. Shaded cells indicate pins that remapped corresponding pin/port PIM. DS51662A-page 2007 Microchip Technology Inc. TABLE A-13: PIC16F917 Legend: PIC16F917 PIN/PORT COMPARISON PIC16F917 Port ICEMCLR PIC16F917 RX/DT SEG17 SEG18 SEG19 SEG20 ICEVDD SEG1 SEG2 SEG3 COM0 COM1 ICEMCLR COM2 SEG15 SEG4 SEG5 SEG21 SEG22 SEG23 ICEVDD2 T1OSCI T1OSCO VLCD1 VLCD2 VLCD3 SEG6 COM3 SEG16 SEG11 SEG10 TX/CK RX/DT SEG17 SEG18 SEG19 SEG20 ICEVDD SEG6 SEG7 SEG8 COM0 COM1 ICEMCLR COM2 SEG15 SEG9 SEG10 SEG21 SEG22 SEG23 ICEVDD T1OSCI T1OSCO BIAS1 BIAS2 BIAS3 SEG11 COM3 SEG16 SEG14 SEG13 TX/CK Port ICEMCLR Unshaded cells indicate where perfect match between pins ports exists. Shaded cells indicate where differences between ports pins exist. Bold text indicates pins that connected pins ports. 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD Demonstration User's Guide TABLE A-14: PIC16F917 PIC16F917 CONNECTIONS COMPARISON COM3 X8,X6,X5,X7 X1,X3,X4,X2 -,F2,F1,F3 1A,1E,F4,1F 1B,1C,1D,1G 2A,2E,2D,2F 2B,2C,COL,2G 3A,3E,3D,3F S9,6G,6B,6C 6D,6F,6A,6E X31,X33,X34,X32 -,X27,X35,X30 -,X28,X36,X29 S1,S3,S4,S2 S6,-,-,S7 S5,-,-S8 COM4 COM2 X9,X11,X12,X10 X16,X14,X13,X15 X17,X19,X20,X18 -,X22,X21,3B,3C,-,3G 4A,4E,4D,4F 4B,4C,DP1,4G 5A,5E,5D,5F 5B,5C,-,5G X23,X25,X26,X24 S13,8G,8B,8C 8D,8F,8A,8E DP2,7G,7B,7C 7D,7F,7A,7E S11,-,-,S12,-,-,S10 COM1 COM1 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 COM0 COM1 SEG15 SEG11 SEG10 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 COM0 PIC16F917 COM2 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 COM3 Legend: COM2 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 COM3 Unshaded cells indicate perfect match between glass. Shaded cells indicate pins that remapped corresponding PIM. Bold text indicates pins that connected. FIGURE A-8: N.C. SEGMENT CONFIGURATION PIC16F914/917 DEVICES N.C. SEG10 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 N.C. COM1 SEG15 SEG15 SEG14(1) SEG11 SEG13(1) SEG12(1) SEG11 SEG10 SEG9(1) SEG8(1) SEG7(1) SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0(1) COM0 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 COM2 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 COM3 N.C. Legend: Note N.C. connection Only segments available PIC16F914/917 devices Disable SEG0, SEG7, SEG8, SEG9, SEG12, SEG14 when module enabled. Electronics DS51662A-page 2007 Microchip Technology Inc. TABLE A-15: Legend: PIC16F917 PORT COMPARISON PIC16F917 T1OSCO T1OSCI COM1 VLCD1 VLCD2 SEG6 SEG11 TX/CK RX/DT T1OSCO T1OSCI COM1 BIAS1 BIAS2 SEG11 SEG14 TX/CK RX/DT Port PIC16F917 Port Unshaded cells indicate perfect match between glass. Shaded cells indicate pins that remapped corresponding PIM. DISPLAY green LEDs connected through pins, (outer ends), respectively. green provided determine whether there power Demonstration Board (LED (LED off). Note PIC18F85J90 PIM, pins connected U1A, respectively. PIC16F17 PIM, pins connected U1A, respectively. PIC18F8490 PIM, pins connected U1A, respectively CHARGE PUMP VLCAP charge pump mode operation PIC18F85J90 devices, required that connect charge pump capacitor through pins, (inner pins), respectively. RESISTIVE LADDER VERSUS CHARGE PUMP switch, allows connection either resistor ladder capacitors BIAS pins generate BIAS voltages operation. charge pump mode operation PIC18F85J90 devices, required that switch flipped towards VLCAP connected through inner jumpers J14. resistor ladder, must flipped towards potentiometer controls contrast Resistive Ladder mode. A.5.1 Jumper JP21 When jumper JP21 LCDBIAS0 physically tied ground. jumper needs PIC18F85J90 devices when bias voltages generated through resistor ladder. 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD Demonstration User's Guide OSCILLATOR OPTIONS on-board firmware uses internal oscillator running MHz. Internal oscillator running used. Pads provided user-furnished crystal/resonator (Y2) capacitors (C16 C17). Socket provided canned oscillator (Y3). This oscillator disabled removing jumpers, JP9, JP11 JP12. 32.768 (watch-type) crystal Timer1 (Y1) always connected RC1. RS-232 SERIAL PORT RS-232 level shifting been provided with necessary hardware support connection RS-232 host through connector (PI). port configured connected using serial cable. REAL-TIME CLOCK This circuit allows user configure microcontroller timekeeping using 32.768 clock crystal connected Timer1 module's T1OSO T1OSI pins. SERIAL EEPROM socket Microwire EEPROM provided board illustrate usage Synchronous mode operation USART module. operation: Jumpers, JP15 JP16, should connected. jumper, U9-CS should connected with RB5. jumper, J13, U9-ORG (pin should connected GND. Note PIC18F85J90 PIM, pins connected U1A, respectively. PIC16F917 PIM, pins connected U1A, respectively. PIC18F8490 PIC16F946 PIMs, pins connected U1A, respectively. A.10 ANALOG INPUT potentiometer connected through series resistors AN0. potentiometer adjusted from GND. jumper, J11, should connecting potentiometer AN0. DS51662A-page 2007 Microchip Technology Inc. A.11 TEMPERATURE SENSOR thermistor (R11) provided sense temperature. connected (RA1) through jumper, JP5. optional unpopulated TC77-based circuit provided read temperature serially using USART module. jumpers, JP15 JP16, connected should made digital used enable TC77. Note PIC18F85J90 PIM, connected used instead AN1. PIC18F8490, PIC16F946, PIC16F917 PIMs, connected U1A. A.12 SWITCHES Four switches provide following functions digital I/Os: Active-low switch connected RB6. Active-low switch connected RB7. Active-low switch connected RB6, RA6. Active-low switch connected RB6, RB7, RA7. this type sensing, jumpers, JP1, JP2, JP6, JP18, JP19, JP10, should connected potentiometer should connected through J11. Sensing should done sequence, only. Individual switch sensing allowed. Additionally, four switches provide following functions analog input (AN0): will approximately VCC/2. will approximately VCC/3. will approximately VCC/5.2. will approximately VCC/7.7. this type sensing, jumpers, JP1, JP2, JP6, JP18 JP19, should connected should connected through J11. A.13 CONNECTOR modular connector (J37), MPLAB connected low-cost debugging. connector utilizes RB6/PGC RB7/PGD microcontrollers in-circuit debugging. 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD Demonstration User's Guide A.14 POWER SUPPLY There four ways supply power PICDEM button cell (CR2032) plugged into BT1. unregulated supply plugged into power supply purchased through Microchip Technology (Part Number AC162039). regulated supply maximum connected hooks provided. Note: There jumper associated with power supply circuit. This jumper must correctly connected select required power supply. Refer Figure jumper setting examples. MPLAB users power target board following devices only: PIC18F8490, PIC16F946 PIC16F916. PIC18F85J90 family devices support this capability. default power board board voltage varied based resistors populated conjunction with processor being used. FIGURE A-9: POWER SUPPLY CIRCUIT SETTING EXAMPLES EXAMPLE EXAMPLE EXAMPLE VLCDBIAS External Power External Supply with VLCDBIAS Regulated (Default): This recommended jumper setting operate when using external supply. This configuration allows VLCDBIAS regulated even board higher than VLCDBIAS Battery Battery Operation: This recommend jumper setting when operating battery. this configuration, VLCDBIAS directly connected battery voltage. VLCDBIAS External Supply with VLCDBIAS Unregulated: This recommended with on-board glass voltage higher than damage glass. external glass connected capable handling higher voltages, then this jumper setting allows connect directly VLCDBIAS when external power supply used. Note: examples shown above, voltage regulation VLCDBIAS required regular operation module device. added here additional protection glass since board capable generating 3.3V depending being used. DS51662A-page 2007 Microchip Technology Inc. A.14.1 Using Adjustable Voltage Regulator PICDEM board features adjustable voltage regulator, venerable LM317. board, recognized SO-223 package upper left side. Nearby, there header, J10, resistors, R26. used output voltage LM317. default, 330R, which results output voltage 5.0V. reason adjustable voltage regulator provided that PICDEM Demonstration Board used with wide range microcontrollers. PIC18FXXJ90 family devices tolerates maximum 3.6V, whereas PIC18FXX90, PIC16F91X PIC16F946 tolerate maximum 5.5V. adjustable voltage regulator allows different provided PIC18FJ devices PIC18F PIC16F devices. switching between 3.6V 5.5V parts very convenient. plug-in module boards populated with R101 R102, appropriately, according processor module requirement which mates with daughterboard/emulator header that surrounds module (U1A). PICDEM board intended connect with 3-pin header plug-in module. This allows resistors, R101 R102, plug-in module connected parallel resistors, R26. This automatically adjusted voltage appropriate part soldered onto plug-in module. plug-in module prepopulated with values shown Table A-16: TABLE A-16: Module PIC18F85J90 PIC18F8490 PIC16F914/917 PIC16F946 PREPOPULATED VALUES R101 Open Open Open Open R102 1.18K Open Open Open 3.3V 5.0V 5.0V 5.0V volts, R101 left unpopulated R102 1.18K. resistors recommended precise adjustment VDD.) Now, let's look determine R101 R102 different desired. First, good idea look data sheet LM317 understand voltage adjusted. won't duplicate details here. following equation taken from LM317 data sheet: EQUATION A-1: VOUT VREF R2/R1) IADJ IADJ minimized LM317, assumed zero least very small. VREF =1.25V; reference voltage developed LM317 between output adjustment terminal. That gives following equation: EQUATION A-2: VOUT 1.25V(1+R2/R1) R102 (R25* R102)/(R25+R102) R101.= (R26* R101)/(R26+R101) stated previously, 330. that without R102 R101, VOUT 1.25V(1+ 1K/330R) 5.04V. 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD Demonstration User's Guide desired VOUT, first solve given 330R. Then, knowing R25, solve R102. Determine nearest available resistor value R102 recalculate resulting make sure doesn't exceed maximum part will using. Table A-17 shows values R101 R102 different values, assuming that PICDEM Board left their default values 330R. TABLE A-17: 3.6V 3.3V 3.0V R101 R102 VALUES R101 Open Open Open Open R102 Open 1.62K 1.18K 866R Recommended operating voltages various PIMs are: PIC18F85J90 family devices 3.3V PIC18F8490 family devices PIC16F917/914 devices PIC16F946 (when operating external supply) A.14.2 Slide Switch (S6) slide switch allows choosing BIAS values, either generated resistor ladder, capacitive charge pump. When switched left, LCDBIAS pins microcontroller connected resistor ladder. When switched right, LCDBIAS pins microcontroller connected capacitor network. DS51662A-page 2007 Microchip Technology Inc. A.15 BOARD LAYOUT SCHEMATICS following figures show parts layout (silkscreen) schematics PICDEM board. FIGURE A-10: PICDEMLCD DEMONSTRATION BOARD PARTS LAYOUT (SILKSCREEN) 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD Demonstration User's Guide FIGURE A-11: PICDEMLCD SCHEMATIC SHEET INVALID FORCEON FORCEOFF C1C2+ DS51662A-page 2007 Microchip Technology Inc. FIGURE A-12: PICDEMLCD SCHEMATIC SHEET 2007 Microchip Technology Inc. AVDD AVSS DS51662A-page PICDEMLCD Demonstration User's Guide FIGURE A-13: PICDEMLCD SCHEMATIC SHEET VOUT DS51662A-page 2007 Microchip Technology Inc. VOUT A.16 LAYOUT SCHEMATICS following figures show layout (silkscreen) individual PIMs. FIGURE A-14: PIC18F65J90 PIC18F85J90 LAYOUT PIC18F65J90 PIC18F85J90 PICDEMLCD FIGURE A-15: PIC16F914/917 LAYOUT PIC16F917/914 PICDEMLCD 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD Demonstration User's Guide FIGURE A-16: PIC16F946 LAYOUT PIC16F946 PICDEMLCD FIGURE A-17: PIC18F6490/8490 LAYOUT PICDEMLCD PIC18F6490 PIC18F8490 DS51662A-page 2007 Microchip Technology Inc. FIGURE A-18: PICDEMLCD PIC16F914/917 SCHEMATIC PIC16F917 FIGURE A-19: PICDEMLCD PIC16F946 SCHEMATIC PIC16F946 AVSS 2007 Microchip Technology Inc. AVDD DS51662A-page PICDEMLCD Demonstration User's Guide FIGURE A-20: PICDEMLCD PIC18F6490 64-PIN SCHEMATIC PIC18F6490 AVDD AVSS FIGURE A-21: PICDEMLCD PIC18F8490 80-PIN SCHEMATIC PIC18F8490 AVDD AVSS DS51662A-page 2007 Microchip Technology Inc. FIGURE A-22: PICDEMLCD PIC18F6XJ90 64-PIN SCHEMATIC PIC18F6XJ90 VDDCORE/VCAP AVDD AVSS 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD Demonstration User's Guide FIGURE A-23: PICDEMLCD PIC18F85J90 80-PIN SCHEMATIC PIC18F85J90 VDDCORE/VCAP AVDD AVSS DS51662A-page 2007 Microchip Technology Inc. NOTES: 2007 Microchip Technology Inc. DS51662A-page PICDEMLCD DEMONSTRATION USER'S GUIDE Index Analog Input. PIC18XXXX Demo Program. PICDEM Board Hardware PICDEM Board. Board. PICDEM Demo Board. PICDEM Hardware (Graphic) PICDEM Kit. Components. PICDEM Stand-Alone Board. Power Supply PICDEM LCD2 Board Power Supply Processors Push Buttons. Switches. Board Charge Pump Software Contrast Clock Customer Support Demonstration Board. Board Demonstration Programs. Sample Programs. Documentation Conventions Layout Reading, Recommended Real-Time Clock. RS-232 Hardware Features Internet Address. Sample Devices Sample PIM. Sample Programs Serial EEPROM Switches. Analog Input. Digital Components Digit Description. Display Definition SEGX COMX Display LEDs Green Display Green Power. Temperature Sensor Thermometer. Using Demo Software Microchip Internet Site MPASM Assembler MPLAB Compiler MPLAB 2.5, MPLAB MPLAB Voltmeter. Address. Oscillator Options. Oscillator Selection Part Numbers PIC16XXXX Demo 2007 Microchip Technology Inc. DS51662A-page WORLDWIDE SALES SERVICE AMERICAS Corporate Office 2355 West Chandler Blvd. Chandler, 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: http://support.microchip.com Address: www.microchip.com Atlanta Duluth, Tel: 678-957-9614 Fax: 678-957-1455 Boston Westborough, Tel: 774-760-0087 Fax: 774-760-0088 Chicago Itasca, Tel: 630-285-0071 Fax: 630-285-0075 Dallas Addison, Tel: 972-818-7423 Fax: 972-818-2924 Detroit Farmington Hills, Tel: 248-538-2250 Fax: 248-538-2260 Kokomo Kokomo, Tel: 765-864-8360 Fax: 765-864-8387 Angeles Mission Viejo, Tel: 949-462-9523 Fax: 949-462-9608 Santa Clara Santa Clara, Tel: 408-961-6444 Fax: 408-961-6445 Toronto Mississauga, Ontario, Canada Tel: 905-673-0699 Fax: 905-673-6509 ASIA/PACIFIC Asia Pacific Office Suites 3707-14, 37th Floor Tower Gateway Habour City, Kowloon Hong Kong Tel: 852-2401-1200 Fax: 852-2401-3431 Australia Sydney Tel: 61-2-9868-6733 Fax: 61-2-9868-6755 China Beijing Tel: 86-10-8528-2100 Fax: 86-10-8528-2104 China Chengdu Tel: 86-28-8665-5511 Fax: 86-28-8665-7889 China Fuzhou Tel: 86-591-8750-3506 Fax: 86-591-8750-3521 China Hong Kong Tel: 852-2401-1200 Fax: 852-2401-3431 China Qingdao Tel: 86-532-8502-7355 Fax: 86-532-8502-7205 China Shanghai Tel: 86-21-5407-5533 Fax: 86-21-5407-5066 China Shenyang Tel: 86-24-2334-2829 Fax: 86-24-2334-2393 China Shenzhen Tel: 86-755-8203-2660 Fax: 86-755-8203-1760 China Shunde Tel: 86-757-2839-5507 Fax: 86-757-2839-5571 China Wuhan Tel: 86-27-5980-5300 Fax: 86-27-5980-5118 China Xian Tel: 86-29-8833-7250 Fax: 86-29-8833-7256 ASIA/PACIFIC India Bangalore Tel: 91-80-4182-8400 Fax: 91-80-4182-8422 India Delhi Tel: 91-11-4160-8631 Fax: 91-11-4160-8632 India Pune Tel: 91-20-2566-1512 Fax: 91-20-2566-1513 Japan Yokohama Tel: 81-45-471- 6166 Fax: 81-45-471-6122 Korea Gumi Tel: 82-54-473-4301 Fax: 82-54-473-4302 Korea Seoul Tel: 82-2-554-7200 Fax: 82-2-558-5932 82-2-558-5934 Malaysia Penang Tel: 60-4-646-8870 Fax: 60-4-646-5086 Philippines Manila Tel: 63-2-634-9065 Fax: 63-2-634-9069 Singapore Tel: 65-6334-8870 Fax: 65-6334-8850 Taiwan Hsin Tel: 886-3-572-9526 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 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 Fax: 33-1-69-30-90-79 Germany Munich Tel: 49-89-627-144-0 Fax: 49-89-627-144-44 Italy Milan Tel: 39-0331-742611 Fax: 39-0331-466781 Netherlands Drunen Tel: 31-416-690399 Fax: 31-416-690340 Spain Madrid Tel: 34-91-708-08-90 Fax: 34-91-708-08-91 Wokingham Tel: 44-118-921-5869 Fax: 44-118-921-5820 12/08/06 DS51662A-page 2007 Microchip Technology Inc. Other recent searchesREJ03G0277-0100 - REJ03G0277-0100 REJ03G0277-0100 Datasheet QFP208-P-2828F - QFP208-P-2828F QFP208-P-2828F Datasheet QFP208-P-2828A - QFP208-P-2828A QFP208-P-2828A Datasheet MBRM120ET3 - MBRM120ET3 MBRM120ET3 Datasheet JCIQ-176M - JCIQ-176M JCIQ-176M Datasheet HMC323 - HMC323 HMC323 Datasheet HE9525-B - HE9525-B HE9525-B Datasheet AN6650 - AN6650 AN6650 Datasheet AN6650S - AN6650S AN6650S Datasheet 2SD1884 - 2SD1884 2SD1884 Datasheet 0430200800 - 0430200800 0430200800 Datasheet
Privacy Policy | Disclaimer |