GPIODM-KPLCD Microchip Technology, GPIODM-KPLCD Datasheet

BOARD DEMO LCD GPIO EXP KEYPAD

GPIODM-KPLCD

Manufacturer Part Number
GPIODM-KPLCD
Description
BOARD DEMO LCD GPIO EXP KEYPAD
Manufacturer
Microchip Technology
Datasheet

Specifications of GPIODM-KPLCD

Main Purpose
Interface, Front Panel Controller, LCD
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
MCP23008, MCP23S08, MCP23017, MCP23S17, PIC18F4550, MCP1702
Primary Attributes
(2) 8-Bit and (2) 16-Bit GPIO Expanders, 4x4 Keypad, 2x16 LCD
Secondary Attributes
Headers for the MCP23x08 and MCP23x17
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC18
Features
SPI And I2C Buses, Keypad And LCD Interface, ICSP Header
Kit Contents
Board
Silicon Core Number
PIC18F
Silicon Family Name
PIC18F4xxx
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With
MCP23S08/17, MCP23008/17
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Not applicable / Not applicable
GPIO Expander Keypad and LCD
Demo Board
User’s Guide
© 2006 Microchip Technology Inc.
DS51636A

Related parts for GPIODM-KPLCD

GPIODM-KPLCD Summary of contents

Page 1

... GPIO Expander Keypad and LCD © 2006 Microchip Technology Inc. Demo Board User’s Guide DS51636A ...

Page 2

... Select Mode, Smart Serial, SmartTel, 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

... A.4 Board Schematic - Page 3 ......................................................................... 18 A.5 Board - Top Layer (with Silk screen) .......................................................... 19 A.6 Board - Bottom Layer ................................................................................. 19 Appendix B. Bill Of Materials (BOM) ......................................................................... 21 Worldwide Sales and Service .................................................................................... 24 © 2006 Microchip Technology Inc. GPIO EXPANDER KEYPAD AND LCD DEMO BOARD Table of Contents USER’S GUIDE ...

Page 4

... GPIO Expander Keypad and LCD Demo Board User’s Guide NOTES: DS51636A-page iv © 2006 Microchip Technology Inc. ...

Page 5

... GPIO Expander Keypad and LCD Demo Board. • Appendix B. “Bill Of Materials (BOM)” – Lists the parts used to build the GPIO Expander Keypad and LCD Demo Board. © 2006 Microchip Technology Inc. GPIO EXPANDER KEYPAD AND LCD DEMO BOARD ...

Page 6

... Click OK Click the Power tab 4‘b0010, 2‘hF1 Press <Enter>, <F1> #define START autoexec.bat c:\mcc18\h _asm, _endasm, static -Opa+, -Opa 0xFF, ‘A’ file.o, where file can be any valid filename mcc18 [options] file [options] errorlevel {0|1} Literature # © 2006 Microchip Technology Inc. ...

Page 7

... Local sales offices are also available to help customers. A listing of sales offices and locations is included in the back of this document. Technical support is available through the web site at: http://support.microchip.com DOCUMENT REVISION HISTORY Revision A (October 2006) • Initial Release of this Document. © 2006 Microchip Technology Inc. DS51636A-page 3 ...

Page 8

... GPIO Expander Keypad and LCD Demo Board User’s Guide NOTES: DS51636A-page 4 © 2006 Microchip Technology Inc. ...

Page 9

... Analog and Interface Products Demonstration Boards CD-ROM (DS21912) - GPIO Expander Keypad and LCD Demo Board User’s Guide (DS51636) ® - PIC Microcontroller Firmware - PCB Gerber Files © 2006 Microchip Technology Inc. GPIO EXPANDER KEYPAD AND LCD DEMO BOARD USER’S GUIDE 2 C™ interface (installed) 2 C™ ...

Page 10

... GPIO Expander Keypad and LCD Demo Board User’s Guide NOTES: DS51636A-page 6 © 2006 Microchip Technology Inc. ...

Page 11

... Numbers Six special function buttons • A 2X16 LCD module • Headers for the MCP23X08 and MCP23X17 pins • Header for programming the PIC18F4550 © 2006 Microchip Technology Inc. GPIO EXPANDER KEYPAD AND LCD DEMO BOARD USER’S GUIDE 2 C™ interface 2 C™ ...

Page 12

... C or SPI) will illuminate to indicate the current serial 2 C and SPI) to communicate with the MCP23X17 and BOARD LAYOUT LCD 16-bit HEADER Not Populated LED USB USB PIC18F2550 LED 9V EXT +5V 8-bit HEADER GND interface) and Figure 2-1): LED LED © 2006 Microchip Technology Inc. ...

Page 13

... The PROGRAMMING BLOCK contains the ICSP™ header for program- ming/debugging the PIC18F4550. 7. The POWER BLOCK contains the MCP1702 5V voltage regulator. The board can be powered supply (connected through the power jack applying 5V directly to the power points. © 2006 Microchip Technology Inc. Figure 2-2. FUNCTIONAL BLOCK DIAGRAM Header ...

Page 14

... Read GPIO register and merge with variable containing INTCAP value. 4. The pressed key is determined by looking up the result in a lookup table. Update_LCD Function: 1. The LCD is updated based on which button was pressed. DS51636A-page 10 for the main firmware flow diagram Devices are © 2006 Microchip Technology Inc. ...

Page 15

... FIGURE 2-3: © 2006 Microchip Technology Inc. MAIN FIRMWARE FLOW Start Init_MCU Init_MCP Splash NO GPIO INT Flag Set? YES Scan_Buttons Update_LCD The MCP23X08 is configured to interrupt on falling edge for the columns (4 inputs) After the interrupt, the column location of the button is known and is contained in INTCAP. ...

Page 16

... Read INTCAP and place in a variable. To read the rows. outputs Merge with variable containing INTCAP value. The result can be looked table (switch statement) to determine which key was pressed. table called END © 2006 Microchip Technology Inc. ...

Page 17

... FIGURE 2- Display © 2006 Microchip Technology Inc. LCD UPDATE Update_LCD Button Press Backspace Toggle Serial Mode Carriage Return (I2C or SPI) END The pressed button result comes from the variable in the Scan_Buttons function # S * Space Display # Display * DS51636A-page 13 ...

Page 18

... GPIO Expander Keypad and LCD Demo Board User’s Guide NOTES: DS51636A-page 14 © 2006 Microchip Technology Inc. ...

Page 19

... This appendix contains the schematic and PCB layout for the GPIO Expander Keypad and LCD Demo Board. Diagrams included: • Board Schematics - Pages • Board - Top Layer (with silk screen) • Board - Bottom Layer © 2006 Microchip Technology Inc. GPIO EXPANDER KEYPAD AND LCD DEMO BOARD USER’S GUIDE DS51636A-page 15 ...

Page 20

... GPIO Expander Keypad and LCD Demo Board User’s Guide A.2 BOARD SCHEMATIC - PAGE 1 DS51636A-page 16 © 2006 Microchip Technology Inc. ...

Page 21

... A.3 BOARD SCHEMATIC - PAGE 2 © 2006 Microchip Technology Inc. DS51636A-page 17 ...

Page 22

... GPIO Expander Keypad and LCD Demo Board User’s Guide A.4 BOARD SCHEMATIC - PAGE 3 DS51636A-page 18 © 2006 Microchip Technology Inc. ...

Page 23

... A.5 BOARD - TOP LAYER (WITH SILK SCREEN) A.6 BOARD - BOTTOM LAYER © 2006 Microchip Technology Inc. DS51636A-page 19 ...

Page 24

... GPIO Expander Keypad and LCD Demo Board User’s Guide NOTES: DS51636A-page 20 © 2006 Microchip Technology Inc. ...

Page 25

... RES 0.0 OHM 1/8W 5% 0805 SMD Note 1: The components listed in this Bill of Materials are representative of the PCB assembly. The released BOM used in manufacturing uses all RoHS-compliant components. © 2006 Microchip Technology Inc. GPIO EXPANDER KEYPAD AND LCD DEMO BOARD Description Manufacturer ...

Page 26

... S26, S27 1 TP1 TEST POINT PC MULTI PURPOSE BLK 1 TP2 TEST POINT PC MULTI PURPOSE RED Bit I/O Expander with Serial Interface Microchip Technology 1 U2 8-Bit I/O Expander with SPI Interface Bit I/O Expander with Serial Interface Microchip Technology 1 U4 8-Bit I/O Expander with I 1 ...

Page 27

... NOTES: © 2006 Microchip Technology Inc. DS51636A-page 23 ...

Page 28

... 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 © 2006 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