PICDEM-3 User's Guide
Total Page:16
File Type:pdf, Size:1020Kb
PICDEM-3 User’s Guide Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded by updates. No representation or warranty is given and no liability is assumed by Microchip Technology Incorporated with respect to the accuracy or use of such information, or infringement of patents or other intellectual property rights arising from such use or otherwise. Use of Microchip’s products as critical components in life support systems is not authorized except with express written approval by Microchip. No licenses are conveyed, implicitly or otherwise, under any intellectual property rights. The Microchip logo, name, PIC, PICMASTER, PICSTART, and PRO MATE are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. MPLAB is a trademark of Microchip in the U.S.A. Microchip Technology Incorporated 1996. Intel is a registered trademark of Intel Corporation. IBM PC/AT is a registered trademark of International Business Machines Corporation. MS Windows, Microsoft Windows, and Windows are trademarks of Microsoft Corporation. All rights reserved. All other trademarks mentioned herein are the property of their respective companies. 1996 Microchip Technology Inc. DS51079A PICDEM-3 USER’S GUIDE DS51079A 1996 Microchip Technology Inc. PICDEM-3 USER’S GUIDE Table of Contents Preface Welcome . .1 Documentation Layout . .1 Chapter 1. About PICDEM-3 Introduction . .3 Highlights . .3 Processor Sockets . .3 Liquid Crystal Display . .3 Power Supply . .3 RS-232 Serial Port . .4 Pushbutton Switches . .4 Oscillator Options . .4 Analog Inputs . .5 Keypad Header . .5 External LCD Panel Connector . .5 LCD Software Demultiplexer . .5 Pre-programmed Sample . .5 Chapter 2. Using the LCD Software Demultiplexer Introduction . .7 Highlights . .7 Installing the LCD Software Demultiplexer . .7 Using the LCD Software Demultiplexer . .8 Optional Hardware Demultiplexer . .10 Chapter 3. LCD Fundamentals Introduction . .11 Highlights . .11 What are the basic components in an LCD panel? . .11 How does an LCD work? . .14 LCD Images . .15 Driver Voltages . .19 Response Time . .20 Temperature Effects . .21 Capacitance . .21 Backlighting . .22 1996 Microchip Technology Inc. DS51079A - page i PICDEM-3 USER’S GUIDE Connection Methods . 22 What are the different types of LCD panels? . 24 How are LCD panels driven? . 26 Discrimination Ratio . 31 LCD Voltage Generation . 33 Contrast . 35 Chapter 4. analog.asm Description Introduction . 37 Highlights . 37 Block Diagrams . 37 analog.asm Source Code . 42 Chapter 5. keypad.asm Description Introduction . 49 Highlights . 49 Block Diagrams . 49 keypad.asm Source Code . 54 Chapter 6. uart.asm Description Introduction . 61 Highlights . 61 Block Diagrams . 61 uart.asm Source Code . 69 Chapter 7. test.c Description Introduction . 77 Highlights . 77 Block Diagrams . 77 test.c Source Code . 80 Chapter 8. Hardware Description Introduction . 83 Highlights . 83 Port Connections . 83 Switch Circuitry . 84 RS-232 Interface . 84 Timer1 Oscillator . 84 Charge Pump/Resistor Ladder . 84 Jumpers . 85 Headers . 85 LCD Panel . 86 Oscillator Configuration . 87 DS51079A - page ii 1996 Microchip Technology Inc. Appendix A. PICDEM-3 Schematics PICDEM-3 Parts Layout ............................................................................................... 89 PICDEM-3 Schematic ................................................................................................... 90 Appendix B. Optional Hardware Demultiplexer Hardware Demultiplexer Requirements . .93 Appendix C. LCD Manufacturers Listing Manufacturers . .97 DIstributors . .99 Appendix D. RS-232 Communication Protocol RS-232 Communication Protocol . .101 Appendix E. On Line Support Introduction . .105 Connecting to the Microchip Internet Web Site . .105 Connecting.