<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>GPIO Expander Keypad and LCD Demo Board</title><link>https://community.element14.com/products/devtools/product-pages/w/documents/21488/gpio-expander-keypad-and-lcd-demo-board</link><description>Product Detail Documents</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>GPIO Expander Keypad and LCD Demo Board</title><link>https://community.element14.com/products/devtools/product-pages/w/documents/21488/gpio-expander-keypad-and-lcd-demo-board</link><pubDate>Fri, 05 May 2023 15:51:21 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d2127f19-7829-4992-b1ec-0e0f623f6de9</guid><dc:creator>e14-publisher</dc:creator><comments>https://community.element14.com/products/devtools/product-pages/w/documents/21488/gpio-expander-keypad-and-lcd-demo-board#comments</comments><description>Current Revision posted to Documents by e14-publisher on 5/5/2023 3:51:21 PM&lt;br /&gt;
&lt;div id="product-page-content"&gt;
    &lt;h1 class="xs-mt0 xs-mb2"&gt;GPIO Expander Keypad and LCD Demo Board&lt;/h1&gt;
    &lt;div class="xs-mb3"&gt;&lt;span class="bold xs-mr1"&gt;Manufactured By:&lt;/span&gt;Microchip&lt;/div&gt;
    
    &lt;div class="xs-flex md-flex-row xs-flex-column"&gt;
        &lt;div class="md-w40 xs-w100"&gt;
                    &lt;div id="devtool-primary-image" class="devtool-primary-image-container fill-white"&gt;
                                    &lt;img src="https://community-dc-assets.element14.com/images/devtool/size500/gpio_expander_keypad_and_lcd_demo_board_500x871_1579631776.png" class="devtool-image-devtool-0 xs-w100 xs-full-height fill-white obj-fit-contain xs-block" alt="GPIO Expander Keypad and LCD Demo Board" /&gt;
                                    &lt;img loading="lazy" src="https://community-dc-assets.element14.com/images/devtool/size500/gpio_expander_keypad_and_lcd_demo_board_500x730_1579631777.png" class="devtool-image-devtool-1 xs-w100 xs-full-height fill-white obj-fit-contain xs-hide" alt="GPIO Expander Keypad and LCD Demo Board" /&gt;
                            &lt;/div&gt;
                        &lt;div class="xs-flex xs-flex-wrap xs-mt2"&gt;
                                &lt;div class="devtool-thumbnail fill-white xs-border-lighter txt-center xs-mr1 xs-mb2"&gt;
                    &lt;img loading="lazy" src="https://community-dc-assets.element14.com/images/devtool/size500/gpio_expander_keypad_and_lcd_demo_board_500x871_1579631776.png" id="devtool-0" class="xs-w100 xs-full-height obj-fit-contain" alt="GPIO Expander Keypad and LCD Demo Board" /&gt;
                &lt;/div&gt;
                                &lt;div class="devtool-thumbnail fill-white xs-border-lighter txt-center xs-mr1 xs-mb2"&gt;
                    &lt;img loading="lazy" src="https://community-dc-assets.element14.com/images/devtool/size500/gpio_expander_keypad_and_lcd_demo_board_500x730_1579631777.png" id="devtool-1" class="xs-w100 xs-full-height obj-fit-contain" alt="GPIO Expander Keypad and LCD Demo Board" /&gt;
                &lt;/div&gt;
                            &lt;/div&gt;
                            &lt;/div&gt;

        &lt;div class="md-w60 md-pl4 md-pl4 md-pt0 xs-w100 xs-pl0 xs-pl0 xs-pt2"&gt;
                        &lt;div class="xs-flex xs-flex-justify-space-between xs-flex-align-center xs-border-lighter fill-white xs-p2"&gt;
                                    &lt;div class="xs-mt1 xs-mb1"&gt;
                        &lt;div class="xs-text-5"&gt;&lt;span class="bold xs-mr1"&gt;Part Number:&lt;/span&gt;&lt;span id="part-number-value"&gt;GPIODM-KPLCD&lt;/span&gt;&lt;/div&gt;
                    &lt;/div&gt;
                    &lt;div class="xs-text-right xs-mr2"&gt;
                                            &lt;a id="e14-product-link-1f12f" data-at-areainteracted="design-center" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=1662529&amp;nsku=39M9585&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('1f12f'));" data-farnell="1662529" data-newark="39M9585" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; 
                                        &lt;/div&gt;
                            &lt;/div&gt;
                                &lt;/div&gt;
    &lt;/div&gt;

    &lt;div class="xs-mt3"&gt;
    &lt;p&gt;The GPIO Expander Keypad and LCD Demo Board is designed to demonstrate the use of the MCP23S08/17 (SPI interface) and the MCP23008/17 (I2C interface) devices in a keypad and LCD example. The MCP23X17 (16-bit) devices interface to a 2x16 LCD module and the MCP23X08 (8-bit) devices interface to a 4x4 keyed matrix.&lt;/p&gt;
&lt;p&gt;Both the I2C and SPI versions are included on the board to demonstrate both serial interfaces. The CONTROL BLOCK in the Demo Board contains the PIC18F4550 and is the main intelligence in the system. This PIC18F2455/2550/4455/4550 family of devices offers the advantages of all PIC18 microcontrollers &amp;ndash; namely, high computational performance at an economical price &amp;ndash; with the addition of high-endurance, Enhanced Flash program memory.&lt;/p&gt;
&lt;p&gt;The MCP23X08 device provides 8-bit, general purpose, parallel I/O expansion for I2C bus or SPI applications. The two devices differ in the number of hardware address pins and the serial interface, MCP23008 has I2C interface, three address pins whereas MCP23S08 has SPI interface, two address pins&lt;/p&gt;
&lt;p&gt;The MCP23X08 consists of multiple 8-bit configuration registers for input, output and polarity selection. The system master can enable the I/Os as either inputs or outputs by writing the I/O configuration bits. The data for each input or output is kept in the corresponding Input or Output register. The polarity of the Input Port register can be inverted with the Polarity Inversion register. All registers can be read by the system master.&lt;/p&gt;
&lt;p&gt;The MCP23017/MCP23S17 (MCP23X17) device family provides 16-bit, general purpose parallel I/O expansion for I2C bus or SPI applications. The two devices differ only in the serial interface. The MCP23017 is I2C interface whereas MCP23S17 is SPI interface&lt;/p&gt;
&lt;p&gt;The MCP23X17 consists of multiple 8-bit configuration registers for input, output and polarity selection. The system master can enable the I/Os as either inputs or outputs by writing the I/O configuration bits (IODIRA/B). The data for each input or output is kept in the corresponding input or output register. The polarity of the Input Port register can be inverted with the Polarity Inversion register. All registers can be read by the system master.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Key Applications:&lt;/strong&gt; LCD and keypad applications&amp;nbsp;&lt;/p&gt;
    &lt;/div&gt;
    
        &lt;h3 class="toc-item xs-pb2 xs-border-bottom"&gt;Features&lt;/h3&gt;
    &lt;ul id="ctl00_ctl00_PageContent_SubPageContent_dtFeaturesText" class="prepend-top"&gt;
&lt;li&gt;Demonstrates the use of MCP23X08 and MCP23X17 devices for LCD and keypad applications&lt;/li&gt;
&lt;li&gt;Test points allow for easy monitoring of SPI and I2C buses, as well as the keypad and LCD interface to PIC&lt;/li&gt;
&lt;li&gt;ICSP header for the PIC microcontroller allows users to customize firmware to further evaluate the MCP23X08/17 devices.&lt;/li&gt;
&lt;li&gt;Can be powered from a 3.0V to 5V DC power source (connected to the +5V and GND test points)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Major Board Components&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The GPIO BLOCK contains the MCP23X17 and MCP23X08 GPIO Expanders.
&lt;ul&gt;
&lt;li&gt;Two (2) MCP23X17 devices are connected to the LCD module&lt;/li&gt;
&lt;li&gt;Two (2) MCP23X08 devices are connected to the keypad matrix.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;A button on the keypad toggles between I2C and SPI mode.
&lt;ul&gt;
&lt;li&gt;When in I2C mode, the MCP23017 and MCP23008 are controlled by the PIC MCU.&lt;/li&gt;
&lt;li&gt;When in SPI mode, the MCP23S17 and MCP23S08 are controlled. Only one (1) MCP23X08 and one (1) MCP23X17 is on the bus at a time.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The CONTROL BLOCK contains the PIC18F4550 and is the main intelligence in the system.&lt;/li&gt;
&lt;li&gt;The INPUT BLOCK contains the 4x4 keypad matrix. The MCP23X08 devices are used to scan the keys.&lt;/li&gt;
&lt;li&gt;The OUTPUT BLOCK contains the 2x16 LCD. The MCP23X17 devices control the display.&lt;/li&gt;
&lt;li&gt;The MCP23X17 and MCP23X08 I/O and serial lines are routed to the HEADER BLOCK to allow the pins to be probed.&lt;/li&gt;
&lt;li&gt;The PROGRAMMING BLOCK contains the ICSP? header for programming/debugging the PIC18F4550.&lt;/li&gt;
&lt;li&gt;The POWER BLOCK contains the MCP1702 5V voltage regulator. The board can be powered by a 9V supply (connected through the power jack) or by applying 5V directly to the power points.&lt;/li&gt;
&lt;/ul&gt;
    
        &lt;h3 class="toc-item xs-pb2 xs-border-bottom"&gt;Ships With&lt;/h3&gt;
    &lt;ul&gt;
&lt;li&gt;One GPIO Expander Keypad and LCD Demo Board (102-00116)
&lt;ul&gt;
&lt;li&gt;MCP23008 GPIO Expander with I2C interface (installed)&lt;/li&gt;
&lt;li&gt;MCP23S08 GPIO Expander with SPI interface (installed)&lt;/li&gt;
&lt;li&gt;MCP23017 GPIO Expander with I2C interface (installed)&lt;/li&gt;
&lt;li&gt;MCP23S17 GPIO Expander with SPI interface (installed)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Analog and Interface Products Demonstration Boards CD-ROM (DS21912)
&lt;ul&gt;
&lt;li&gt;GPIO Expander Keypad and LCD Demo Board User?s Guide (DS51636)&lt;/li&gt;
&lt;li&gt;PIC Microcontroller Firmware&lt;/li&gt;
&lt;li&gt;PCB Gerber Files&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
    
    &lt;div id="devtool-required-devtools-section" class="xs-hide"&gt;
        &lt;h3 class="toc-item xs-pb2 xs-mb1 xs-border-bottom"&gt;Required Tools&lt;/h3&gt;
        &lt;div id="devtool-required-devtools-content"&gt;&lt;/div&gt;
    &lt;/div&gt;

    &lt;div id="devtool-accessory-devtools-section" class="xs-hide"&gt;
        &lt;h3 class="toc-item xs-pb2 xs-mb1 xs-border-bottom"&gt;Accessory Tools&lt;/h3&gt;
        &lt;div id="devtool-accessory-devtools-content"&gt;&lt;/div&gt;
    &lt;/div&gt;

        &lt;h3 class="toc-item xs-pb2 xs-border-bottom"&gt;Documents&lt;/h3&gt;
        &lt;div class="xs-px2"&gt;
        &lt;h4 class="xs-pb2 xs-border-bottom"&gt;Application Note&lt;/h4&gt;
                &lt;div class="attachment "&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/AppNotes/00972a.pdf" target="_blank"&gt;Application Note (AN972) for I/O Expansion Using the MCP23X08 and PIC10F202 (pdf)&lt;/a&gt;
        &lt;/div&gt;
                &lt;div class="attachment xs-mb3"&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/AppNotes/01043a.pdf" target="_blank"&gt;Application Note (AN1043) for Unique Features of the MCP23X08/17 GPIO Expanders (pdf)&lt;/a&gt;
        &lt;/div&gt;
            &lt;/div&gt;
        &lt;div class="xs-px2"&gt;
        &lt;h4 class="xs-pb2 xs-border-bottom"&gt;Data Sheet&lt;/h4&gt;
                &lt;div class="attachment "&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/21919e.pdf" target="_blank"&gt;Data Sheet for MCP23008/MCP23S08  (pdf)&lt;/a&gt;
        &lt;/div&gt;
                &lt;div class="attachment "&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/21952b.pdf" target="_blank"&gt;Data Sheet for MCP23017/MCP23S17  (pdf)&lt;/a&gt;
        &lt;/div&gt;
                &lt;div class="attachment xs-mb3"&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/39632e.pdf" target="_blank"&gt;Data sheet for PIC18F2455/2550/4455/4550  (pdf)&lt;/a&gt;
        &lt;/div&gt;
            &lt;/div&gt;
        &lt;div class="xs-px2"&gt;
        &lt;h4 class="xs-pb2 xs-border-bottom"&gt;Quick Start Guide&lt;/h4&gt;
                &lt;div class="attachment xs-mb3"&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/51636a.pdf" target="_blank"&gt;User Guide for GPIO Expander Keypad and LCD Demo Board  (pdf)&lt;/a&gt;
        &lt;/div&gt;
            &lt;/div&gt;
        
        &lt;h3 class="toc-item xs-pb2 xs-border-bottom"&gt;Downloads&lt;/h3&gt;
        &lt;div class="xs-px2"&gt;
        &lt;h4 class="xs-pb2 xs-border-bottom"&gt;Applications Library&lt;/h4&gt;
                &lt;div class="attachment "&gt;
            &lt;i class="fal fa-file-archive"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/00116R1%20Firmware.zip" target="_blank"&gt;GPIO Expander Keypad and LCD Demo Board Firmware (zip)&lt;/a&gt;
        &lt;/div&gt;
                &lt;div class="attachment xs-mb3"&gt;
            &lt;i class="fal fa-file-archive"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/AppNotes/00010R1%20Firmware.zip" target="_blank"&gt;MCP23X08 Evaluation Board Firmware  (zip)&lt;/a&gt;
        &lt;/div&gt;
            &lt;/div&gt;
        
    &lt;/div&gt;

&lt;div class="xs-hide"&gt;
&lt;script&gt;e14.meta.page.devtools={"id": 703, "type": "devtool", "part_number": "GPIODM-KPLCD" };&lt;/script&gt;
&lt;/div&gt;

&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: lcd, microchip, primary_platforms, mcp23x17, mcu, MCP23S08, development_platforms_kits&lt;/div&gt;
</description></item><item><title>GPIO Expander Keypad and LCD Demo Board</title><link>https://community.element14.com/products/devtools/product-pages/w/documents/21488/gpio-expander-keypad-and-lcd-demo-board/revision/3</link><pubDate>Thu, 16 Dec 2021 23:24:07 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d2127f19-7829-4992-b1ec-0e0f623f6de9</guid><dc:creator>e14-publisher</dc:creator><comments>https://community.element14.com/products/devtools/product-pages/w/documents/21488/gpio-expander-keypad-and-lcd-demo-board#comments</comments><description>Revision 3 posted to Documents by e14-publisher on 12/16/2021 11:24:07 PM&lt;br /&gt;
&lt;div class="xs-hide"&gt;
&lt;script&gt;e14.meta.page.devtools={"id": 703, "type": "devtool", "part_number": "GPIODM-KPLCD" };&lt;/script&gt;
&lt;/div&gt;
&lt;div id="product-page-content"&gt;
    &lt;h1 class="xs-mt0 xs-mb2"&gt;GPIO Expander Keypad and LCD Demo Board&lt;/h1&gt;
    &lt;div class="xs-mb3"&gt;&lt;span class="bold xs-mr1"&gt;Manufactured By:&lt;/span&gt;Microchip&lt;/div&gt;
    
    &lt;div class="xs-flex md-flex-row xs-flex-column"&gt;
        &lt;div class="md-w40 xs-w100"&gt;
                    &lt;div id="devtool-primary-image" class="devtool-primary-image-container fill-white"&gt;
                                    &lt;img src="https://community-dc-assets.element14.com/images/devtool/size500/gpio_expander_keypad_and_lcd_demo_board_500x871_1579631776.png" class="devtool-image-devtool-0 xs-w100 xs-full-height fill-white obj-fit-contain xs-block" alt="GPIO Expander Keypad and LCD Demo Board" /&gt;
                                    &lt;img loading="lazy" src="https://community-dc-assets.element14.com/images/devtool/size500/gpio_expander_keypad_and_lcd_demo_board_500x730_1579631777.png" class="devtool-image-devtool-1 xs-w100 xs-full-height fill-white obj-fit-contain xs-hide" alt="GPIO Expander Keypad and LCD Demo Board" /&gt;
                            &lt;/div&gt;
                        &lt;div class="xs-flex xs-flex-wrap xs-mt2"&gt;
                                &lt;div class="devtool-thumbnail fill-white xs-border-lighter txt-center xs-mr1 xs-mb2"&gt;
                    &lt;img loading="lazy" src="https://community-dc-assets.element14.com/images/devtool/size500/gpio_expander_keypad_and_lcd_demo_board_500x871_1579631776.png" id="devtool-0" class="xs-w100 xs-full-height obj-fit-contain" alt="GPIO Expander Keypad and LCD Demo Board" /&gt;
                &lt;/div&gt;
                                &lt;div class="devtool-thumbnail fill-white xs-border-lighter txt-center xs-mr1 xs-mb2"&gt;
                    &lt;img loading="lazy" src="https://community-dc-assets.element14.com/images/devtool/size500/gpio_expander_keypad_and_lcd_demo_board_500x730_1579631777.png" id="devtool-1" class="xs-w100 xs-full-height obj-fit-contain" alt="GPIO Expander Keypad and LCD Demo Board" /&gt;
                &lt;/div&gt;
                            &lt;/div&gt;
                            &lt;/div&gt;

        &lt;div class="md-w60 md-pl4 md-pl4 md-pt0 xs-w100 xs-pl0 xs-pl0 xs-pt2"&gt;
                        &lt;div class="xs-flex xs-flex-justify-space-between xs-flex-align-center xs-border-lighter fill-white xs-p2"&gt;
                &lt;div class="xs-mt1 xs-mb1"&gt;
                    &lt;div class="xs-text-5"&gt;&lt;span class="bold xs-mr1"&gt;Part Number:&lt;/span&gt;&lt;span id="part-number-value"&gt;GPIODM-KPLCD&lt;/span&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="xs-text-right xs-mr2"&gt;
                            &lt;a id="e14-product-link-0a8d3" data-at-areainteracted="design-center" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=1662529&amp;nsku=39M9585&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('0a8d3'));" data-farnell="1662529" data-newark="39M9585" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; 
                                &lt;/div&gt;
            &lt;/div&gt;
                                &lt;/div&gt;
    &lt;/div&gt;

    &lt;div class="xs-mt3"&gt;
    &lt;p&gt;The GPIO Expander Keypad and LCD Demo Board is designed to demonstrate the use of the MCP23S08/17 (SPI interface) and the MCP23008/17 (I2C interface) devices in a keypad and LCD example. The MCP23X17 (16-bit) devices interface to a 2x16 LCD module and the MCP23X08 (8-bit) devices interface to a 4x4 keyed matrix.&lt;/p&gt;
&lt;p&gt;Both the I2C and SPI versions are included on the board to demonstrate both serial interfaces. The CONTROL BLOCK in the Demo Board contains the PIC18F4550 and is the main intelligence in the system. This PIC18F2455/2550/4455/4550 family of devices offers the advantages of all PIC18 microcontrollers &amp;ndash; namely, high computational performance at an economical price &amp;ndash; with the addition of high-endurance, Enhanced Flash program memory.&lt;/p&gt;
&lt;p&gt;The MCP23X08 device provides 8-bit, general purpose, parallel I/O expansion for I2C bus or SPI applications. The two devices differ in the number of hardware address pins and the serial interface, MCP23008 has I2C interface, three address pins whereas MCP23S08 has SPI interface, two address pins&lt;/p&gt;
&lt;p&gt;The MCP23X08 consists of multiple 8-bit configuration registers for input, output and polarity selection. The system master can enable the I/Os as either inputs or outputs by writing the I/O configuration bits. The data for each input or output is kept in the corresponding Input or Output register. The polarity of the Input Port register can be inverted with the Polarity Inversion register. All registers can be read by the system master.&lt;/p&gt;
&lt;p&gt;The MCP23017/MCP23S17 (MCP23X17) device family provides 16-bit, general purpose parallel I/O expansion for I2C bus or SPI applications. The two devices differ only in the serial interface. The MCP23017 is I2C interface whereas MCP23S17 is SPI interface&lt;/p&gt;
&lt;p&gt;The MCP23X17 consists of multiple 8-bit configuration registers for input, output and polarity selection. The system master can enable the I/Os as either inputs or outputs by writing the I/O configuration bits (IODIRA/B). The data for each input or output is kept in the corresponding input or output register. The polarity of the Input Port register can be inverted with the Polarity Inversion register. All registers can be read by the system master.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Key Applications:&lt;/strong&gt; LCD and keypad applications&amp;nbsp;&lt;/p&gt;
    &lt;/div&gt;
    
        &lt;h3 class="toc-item xs-pb2 xs-border-bottom"&gt;Features&lt;/h3&gt;
    &lt;ul id="ctl00_ctl00_PageContent_SubPageContent_dtFeaturesText" class="prepend-top"&gt;
&lt;li&gt;Demonstrates the use of MCP23X08 and MCP23X17 devices for LCD and keypad applications&lt;/li&gt;
&lt;li&gt;Test points allow for easy monitoring of SPI and I2C buses, as well as the keypad and LCD interface to PIC&lt;/li&gt;
&lt;li&gt;ICSP header for the PIC microcontroller allows users to customize firmware to further evaluate the MCP23X08/17 devices.&lt;/li&gt;
&lt;li&gt;Can be powered from a 3.0V to 5V DC power source (connected to the +5V and GND test points)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Major Board Components&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The GPIO BLOCK contains the MCP23X17 and MCP23X08 GPIO Expanders.
&lt;ul&gt;
&lt;li&gt;Two (2) MCP23X17 devices are connected to the LCD module&lt;/li&gt;
&lt;li&gt;Two (2) MCP23X08 devices are connected to the keypad matrix.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;A button on the keypad toggles between I2C and SPI mode.
&lt;ul&gt;
&lt;li&gt;When in I2C mode, the MCP23017 and MCP23008 are controlled by the PIC MCU.&lt;/li&gt;
&lt;li&gt;When in SPI mode, the MCP23S17 and MCP23S08 are controlled. Only one (1) MCP23X08 and one (1) MCP23X17 is on the bus at a time.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The CONTROL BLOCK contains the PIC18F4550 and is the main intelligence in the system.&lt;/li&gt;
&lt;li&gt;The INPUT BLOCK contains the 4x4 keypad matrix. The MCP23X08 devices are used to scan the keys.&lt;/li&gt;
&lt;li&gt;The OUTPUT BLOCK contains the 2x16 LCD. The MCP23X17 devices control the display.&lt;/li&gt;
&lt;li&gt;The MCP23X17 and MCP23X08 I/O and serial lines are routed to the HEADER BLOCK to allow the pins to be probed.&lt;/li&gt;
&lt;li&gt;The PROGRAMMING BLOCK contains the ICSP? header for programming/debugging the PIC18F4550.&lt;/li&gt;
&lt;li&gt;The POWER BLOCK contains the MCP1702 5V voltage regulator. The board can be powered by a 9V supply (connected through the power jack) or by applying 5V directly to the power points.&lt;/li&gt;
&lt;/ul&gt;
    
        &lt;h3 class="toc-item xs-pb2 xs-border-bottom"&gt;Ships With&lt;/h3&gt;
    &lt;ul&gt;
&lt;li&gt;One GPIO Expander Keypad and LCD Demo Board (102-00116)
&lt;ul&gt;
&lt;li&gt;MCP23008 GPIO Expander with I2C interface (installed)&lt;/li&gt;
&lt;li&gt;MCP23S08 GPIO Expander with SPI interface (installed)&lt;/li&gt;
&lt;li&gt;MCP23017 GPIO Expander with I2C interface (installed)&lt;/li&gt;
&lt;li&gt;MCP23S17 GPIO Expander with SPI interface (installed)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Analog and Interface Products Demonstration Boards CD-ROM (DS21912)
&lt;ul&gt;
&lt;li&gt;GPIO Expander Keypad and LCD Demo Board User?s Guide (DS51636)&lt;/li&gt;
&lt;li&gt;PIC Microcontroller Firmware&lt;/li&gt;
&lt;li&gt;PCB Gerber Files&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
    
    &lt;div id="devtool-required-devtools-section" class="xs-hide"&gt;
        &lt;h3 class="toc-item xs-pb2 xs-mb1 xs-border-bottom"&gt;Required Tools&lt;/h3&gt;
        &lt;div id="devtool-required-devtools-content"&gt;&lt;/div&gt;
    &lt;/div&gt;

    &lt;div id="devtool-accessory-devtools-section" class="xs-hide"&gt;
        &lt;h3 class="toc-item xs-pb2 xs-mb1 xs-border-bottom"&gt;Accessory Tools&lt;/h3&gt;
        &lt;div id="devtool-accessory-devtools-content"&gt;&lt;/div&gt;
    &lt;/div&gt;

        &lt;h3 class="toc-item xs-pb2 xs-border-bottom"&gt;Documents&lt;/h3&gt;
        &lt;div class="xs-px2"&gt;
        &lt;h4 class="xs-pb2 xs-border-bottom"&gt;Application Note&lt;/h4&gt;
                &lt;div class="attachment "&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/AppNotes/00972a.pdf" target="_blank"&gt;Application Note (AN972) for I/O Expansion Using the MCP23X08 and PIC10F202 (pdf)&lt;/a&gt;
        &lt;/div&gt;
                &lt;div class="attachment xs-mb3"&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/AppNotes/01043a.pdf" target="_blank"&gt;Application Note (AN1043) for Unique Features of the MCP23X08/17 GPIO Expanders (pdf)&lt;/a&gt;
        &lt;/div&gt;
            &lt;/div&gt;
        &lt;div class="xs-px2"&gt;
        &lt;h4 class="xs-pb2 xs-border-bottom"&gt;Data Sheet&lt;/h4&gt;
                &lt;div class="attachment "&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/21919e.pdf" target="_blank"&gt;Data Sheet for MCP23008/MCP23S08  (pdf)&lt;/a&gt;
        &lt;/div&gt;
                &lt;div class="attachment "&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/21952b.pdf" target="_blank"&gt;Data Sheet for MCP23017/MCP23S17  (pdf)&lt;/a&gt;
        &lt;/div&gt;
                &lt;div class="attachment xs-mb3"&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/39632e.pdf" target="_blank"&gt;Data sheet for PIC18F2455/2550/4455/4550  (pdf)&lt;/a&gt;
        &lt;/div&gt;
            &lt;/div&gt;
        &lt;div class="xs-px2"&gt;
        &lt;h4 class="xs-pb2 xs-border-bottom"&gt;Quick Start Guide&lt;/h4&gt;
                &lt;div class="attachment xs-mb3"&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/51636a.pdf" target="_blank"&gt;User Guide for GPIO Expander Keypad and LCD Demo Board  (pdf)&lt;/a&gt;
        &lt;/div&gt;
            &lt;/div&gt;
        
        &lt;h3 class="toc-item xs-pb2 xs-border-bottom"&gt;Downloads&lt;/h3&gt;
        &lt;div class="xs-px2"&gt;
        &lt;h4 class="xs-pb2 xs-border-bottom"&gt;Applications Library&lt;/h4&gt;
                &lt;div class="attachment "&gt;
            &lt;i class="fal fa-file-archive"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/00116R1%20Firmware.zip" target="_blank"&gt;GPIO Expander Keypad and LCD Demo Board Firmware (zip)&lt;/a&gt;
        &lt;/div&gt;
                &lt;div class="attachment xs-mb3"&gt;
            &lt;i class="fal fa-file-archive"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/AppNotes/00010R1%20Firmware.zip" target="_blank"&gt;MCP23X08 Evaluation Board Firmware  (zip)&lt;/a&gt;
        &lt;/div&gt;
            &lt;/div&gt;
        
    &lt;/div&gt;

&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: lcd, microchip, primary_platforms, mcp23x17, mcu, MCP23S08, development_platforms_kits&lt;/div&gt;
</description></item><item><title>GPIO Expander Keypad and LCD Demo Board</title><link>https://community.element14.com/products/devtools/product-pages/w/documents/21488/gpio-expander-keypad-and-lcd-demo-board/revision/2</link><pubDate>Thu, 16 Dec 2021 03:10:46 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d2127f19-7829-4992-b1ec-0e0f623f6de9</guid><dc:creator>e14-publisher</dc:creator><comments>https://community.element14.com/products/devtools/product-pages/w/documents/21488/gpio-expander-keypad-and-lcd-demo-board#comments</comments><description>Revision 2 posted to Documents by e14-publisher on 12/16/2021 3:10:46 AM&lt;br /&gt;
&lt;div class="xs-hide"&gt;
&lt;script&gt;e14.meta.page.devtools={"id": 703, "type": "devtool", "part_number": "GPIODM-KPLCD" };&lt;/script&gt;
&lt;/div&gt;
&lt;div id="product-page-content"&gt;
    &lt;h1 class="xs-mt0 xs-mb2"&gt;GPIO Expander Keypad and LCD Demo Board&lt;/h1&gt;
    &lt;div class="xs-mb3"&gt;&lt;span class="bold xs-mr1"&gt;Manufactured By:&lt;/span&gt;Microchip&lt;/div&gt;
    
    &lt;div class="xs-flex md-flex-row xs-flex-column"&gt;
        &lt;div class="md-w40 xs-w100"&gt;
                    &lt;div id="devtool-primary-image" class="devtool-primary-image-container fill-white"&gt;
                                    &lt;img src="https://community-dc-assets.element14.com/images/devtool/size500/gpio_expander_keypad_and_lcd_demo_board_500x871_1579631776.png" class="devtool-image-devtool-0 xs-w100 xs-full-height fill-white obj-fit-contain xs-block" alt="GPIO Expander Keypad and LCD Demo Board" /&gt;
                                    &lt;img loading="lazy" src="https://community-dc-assets.element14.com/images/devtool/size500/gpio_expander_keypad_and_lcd_demo_board_500x730_1579631777.png" class="devtool-image-devtool-1 xs-w100 xs-full-height fill-white obj-fit-contain xs-hide" alt="GPIO Expander Keypad and LCD Demo Board" /&gt;
                            &lt;/div&gt;
                        &lt;div class="xs-flex xs-flex-wrap xs-mt2"&gt;
                                &lt;div class="devtool-thumbnail fill-white xs-border-lighter txt-center xs-mr1 xs-mb2"&gt;
                    &lt;img loading="lazy" src="https://community-dc-assets.element14.com/images/devtool/size500/gpio_expander_keypad_and_lcd_demo_board_500x871_1579631776.png" id="devtool-0" class="xs-w100 xs-full-height obj-fit-contain" alt="GPIO Expander Keypad and LCD Demo Board" /&gt;
                &lt;/div&gt;
                                &lt;div class="devtool-thumbnail fill-white xs-border-lighter txt-center xs-mr1 xs-mb2"&gt;
                    &lt;img loading="lazy" src="https://community-dc-assets.element14.com/images/devtool/size500/gpio_expander_keypad_and_lcd_demo_board_500x730_1579631777.png" id="devtool-1" class="xs-w100 xs-full-height obj-fit-contain" alt="GPIO Expander Keypad and LCD Demo Board" /&gt;
                &lt;/div&gt;
                            &lt;/div&gt;
                            &lt;/div&gt;

        &lt;div class="md-w60 md-pl4 md-pl4 md-pt0 xs-w100 xs-pl0 xs-pl0 xs-pt2"&gt;
                        &lt;div class="xs-flex xs-flex-justify-space-between xs-flex-align-center xs-border-lighter fill-white xs-p2"&gt;
                &lt;div class="xs-mt1 xs-mb1"&gt;
                    &lt;div class="xs-text-5"&gt;&lt;span class="bold xs-mr1"&gt;Part Number:&lt;/span&gt;&lt;span id="part-number-value"&gt;GPIODM-KPLCD&lt;/span&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="xs-text-right xs-mr2"&gt;
                            &lt;a id="e14-product-link-a6aef" data-at-areainteracted="design-center" data-at-type="click" data-at-link-type="button" href="javascript:void(0)" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('a6aef'));" data-farnell="" data-newark="" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; 
                                &lt;/div&gt;
            &lt;/div&gt;
                                &lt;/div&gt;
    &lt;/div&gt;

    &lt;div class="xs-mt3"&gt;
    &lt;p&gt;The GPIO Expander Keypad and LCD Demo Board is designed to demonstrate the use of the MCP23S08/17 (SPI interface) and the MCP23008/17 (I2C interface) devices in a keypad and LCD example. The MCP23X17 (16-bit) devices interface to a 2x16 LCD module and the MCP23X08 (8-bit) devices interface to a 4x4 keyed matrix.&lt;/p&gt;
&lt;p&gt;Both the I2C and SPI versions are included on the board to demonstrate both serial interfaces. The CONTROL BLOCK in the Demo Board contains the PIC18F4550 and is the main intelligence in the system. This PIC18F2455/2550/4455/4550 family of devices offers the advantages of all PIC18 microcontrollers &amp;ndash; namely, high computational performance at an economical price &amp;ndash; with the addition of high-endurance, Enhanced Flash program memory.&lt;/p&gt;
&lt;p&gt;The MCP23X08 device provides 8-bit, general purpose, parallel I/O expansion for I2C bus or SPI applications. The two devices differ in the number of hardware address pins and the serial interface, MCP23008 has I2C interface, three address pins whereas MCP23S08 has SPI interface, two address pins&lt;/p&gt;
&lt;p&gt;The MCP23X08 consists of multiple 8-bit configuration registers for input, output and polarity selection. The system master can enable the I/Os as either inputs or outputs by writing the I/O configuration bits. The data for each input or output is kept in the corresponding Input or Output register. The polarity of the Input Port register can be inverted with the Polarity Inversion register. All registers can be read by the system master.&lt;/p&gt;
&lt;p&gt;The MCP23017/MCP23S17 (MCP23X17) device family provides 16-bit, general purpose parallel I/O expansion for I2C bus or SPI applications. The two devices differ only in the serial interface. The MCP23017 is I2C interface whereas MCP23S17 is SPI interface&lt;/p&gt;
&lt;p&gt;The MCP23X17 consists of multiple 8-bit configuration registers for input, output and polarity selection. The system master can enable the I/Os as either inputs or outputs by writing the I/O configuration bits (IODIRA/B). The data for each input or output is kept in the corresponding input or output register. The polarity of the Input Port register can be inverted with the Polarity Inversion register. All registers can be read by the system master.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Key Applications:&lt;/strong&gt; LCD and keypad applications&amp;nbsp;&lt;/p&gt;
    &lt;/div&gt;
    
        &lt;h3 class="toc-item xs-pb2 xs-border-bottom"&gt;Features&lt;/h3&gt;
    &lt;ul id="ctl00_ctl00_PageContent_SubPageContent_dtFeaturesText" class="prepend-top"&gt;
&lt;li&gt;Demonstrates the use of MCP23X08 and MCP23X17 devices for LCD and keypad applications&lt;/li&gt;
&lt;li&gt;Test points allow for easy monitoring of SPI and I2C buses, as well as the keypad and LCD interface to PIC&lt;/li&gt;
&lt;li&gt;ICSP header for the PIC microcontroller allows users to customize firmware to further evaluate the MCP23X08/17 devices.&lt;/li&gt;
&lt;li&gt;Can be powered from a 3.0V to 5V DC power source (connected to the +5V and GND test points)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Major Board Components&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The GPIO BLOCK contains the MCP23X17 and MCP23X08 GPIO Expanders.
&lt;ul&gt;
&lt;li&gt;Two (2) MCP23X17 devices are connected to the LCD module&lt;/li&gt;
&lt;li&gt;Two (2) MCP23X08 devices are connected to the keypad matrix.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;A button on the keypad toggles between I2C and SPI mode.
&lt;ul&gt;
&lt;li&gt;When in I2C mode, the MCP23017 and MCP23008 are controlled by the PIC MCU.&lt;/li&gt;
&lt;li&gt;When in SPI mode, the MCP23S17 and MCP23S08 are controlled. Only one (1) MCP23X08 and one (1) MCP23X17 is on the bus at a time.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The CONTROL BLOCK contains the PIC18F4550 and is the main intelligence in the system.&lt;/li&gt;
&lt;li&gt;The INPUT BLOCK contains the 4x4 keypad matrix. The MCP23X08 devices are used to scan the keys.&lt;/li&gt;
&lt;li&gt;The OUTPUT BLOCK contains the 2x16 LCD. The MCP23X17 devices control the display.&lt;/li&gt;
&lt;li&gt;The MCP23X17 and MCP23X08 I/O and serial lines are routed to the HEADER BLOCK to allow the pins to be probed.&lt;/li&gt;
&lt;li&gt;The PROGRAMMING BLOCK contains the ICSP? header for programming/debugging the PIC18F4550.&lt;/li&gt;
&lt;li&gt;The POWER BLOCK contains the MCP1702 5V voltage regulator. The board can be powered by a 9V supply (connected through the power jack) or by applying 5V directly to the power points.&lt;/li&gt;
&lt;/ul&gt;
    
        &lt;h3 class="toc-item xs-pb2 xs-border-bottom"&gt;Ships With&lt;/h3&gt;
    &lt;ul&gt;
&lt;li&gt;One GPIO Expander Keypad and LCD Demo Board (102-00116)
&lt;ul&gt;
&lt;li&gt;MCP23008 GPIO Expander with I2C interface (installed)&lt;/li&gt;
&lt;li&gt;MCP23S08 GPIO Expander with SPI interface (installed)&lt;/li&gt;
&lt;li&gt;MCP23017 GPIO Expander with I2C interface (installed)&lt;/li&gt;
&lt;li&gt;MCP23S17 GPIO Expander with SPI interface (installed)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Analog and Interface Products Demonstration Boards CD-ROM (DS21912)
&lt;ul&gt;
&lt;li&gt;GPIO Expander Keypad and LCD Demo Board User?s Guide (DS51636)&lt;/li&gt;
&lt;li&gt;PIC Microcontroller Firmware&lt;/li&gt;
&lt;li&gt;PCB Gerber Files&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
    
    &lt;div id="devtool-required-devtools-section" class="xs-hide"&gt;
        &lt;h3 class="toc-item xs-pb2 xs-mb1 xs-border-bottom"&gt;Required Tools&lt;/h3&gt;
        &lt;div id="devtool-required-devtools-content"&gt;&lt;/div&gt;
    &lt;/div&gt;

    &lt;div id="devtool-accessory-devtools-section" class="xs-hide"&gt;
        &lt;h3 class="toc-item xs-pb2 xs-mb1 xs-border-bottom"&gt;Accessory Tools&lt;/h3&gt;
        &lt;div id="devtool-accessory-devtools-content"&gt;&lt;/div&gt;
    &lt;/div&gt;

        &lt;h3 class="toc-item xs-pb2 xs-border-bottom"&gt;Documents&lt;/h3&gt;
        &lt;div class="xs-px2"&gt;
        &lt;h4 class="xs-pb2 xs-border-bottom"&gt;Application Note&lt;/h4&gt;
                &lt;div class="attachment "&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/AppNotes/00972a.pdf" target="_blank"&gt;Application Note (AN972) for I/O Expansion Using the MCP23X08 and PIC10F202 (pdf)&lt;/a&gt;
        &lt;/div&gt;
                &lt;div class="attachment xs-mb3"&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/AppNotes/01043a.pdf" target="_blank"&gt;Application Note (AN1043) for Unique Features of the MCP23X08/17 GPIO Expanders (pdf)&lt;/a&gt;
        &lt;/div&gt;
            &lt;/div&gt;
        &lt;div class="xs-px2"&gt;
        &lt;h4 class="xs-pb2 xs-border-bottom"&gt;Data Sheet&lt;/h4&gt;
                &lt;div class="attachment "&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/21919e.pdf" target="_blank"&gt;Data Sheet for MCP23008/MCP23S08  (pdf)&lt;/a&gt;
        &lt;/div&gt;
                &lt;div class="attachment "&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/21952b.pdf" target="_blank"&gt;Data Sheet for MCP23017/MCP23S17  (pdf)&lt;/a&gt;
        &lt;/div&gt;
                &lt;div class="attachment xs-mb3"&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/39632e.pdf" target="_blank"&gt;Data sheet for PIC18F2455/2550/4455/4550  (pdf)&lt;/a&gt;
        &lt;/div&gt;
            &lt;/div&gt;
        &lt;div class="xs-px2"&gt;
        &lt;h4 class="xs-pb2 xs-border-bottom"&gt;Quick Start Guide&lt;/h4&gt;
                &lt;div class="attachment xs-mb3"&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/51636a.pdf" target="_blank"&gt;User Guide for GPIO Expander Keypad and LCD Demo Board  (pdf)&lt;/a&gt;
        &lt;/div&gt;
            &lt;/div&gt;
        
        &lt;h3 class="toc-item xs-pb2 xs-border-bottom"&gt;Downloads&lt;/h3&gt;
        &lt;div class="xs-px2"&gt;
        &lt;h4 class="xs-pb2 xs-border-bottom"&gt;Applications Library&lt;/h4&gt;
                &lt;div class="attachment "&gt;
            &lt;i class="fal fa-file-archive"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/00116R1%20Firmware.zip" target="_blank"&gt;GPIO Expander Keypad and LCD Demo Board Firmware (zip)&lt;/a&gt;
        &lt;/div&gt;
                &lt;div class="attachment xs-mb3"&gt;
            &lt;i class="fal fa-file-archive"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/AppNotes/00010R1%20Firmware.zip" target="_blank"&gt;MCP23X08 Evaluation Board Firmware  (zip)&lt;/a&gt;
        &lt;/div&gt;
            &lt;/div&gt;
        
    &lt;/div&gt;

&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: lcd, microchip, primary_platforms, mcp23x17, mcu, MCP23S08, development_platforms_kits&lt;/div&gt;
</description></item><item><title>GPIO Expander Keypad and LCD Demo Board</title><link>https://community.element14.com/products/devtools/product-pages/w/documents/21488/gpio-expander-keypad-and-lcd-demo-board/revision/1</link><pubDate>Mon, 18 Oct 2021 20:16:53 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d2127f19-7829-4992-b1ec-0e0f623f6de9</guid><dc:creator>e14-publisher</dc:creator><comments>https://community.element14.com/products/devtools/product-pages/w/documents/21488/gpio-expander-keypad-and-lcd-demo-board#comments</comments><description>Revision 1 posted to Documents by e14-publisher on 10/18/2021 8:16:53 PM&lt;br /&gt;
&lt;div class="xs-hide"&gt;
&lt;script&gt;e14.meta.page.devtools={"id": 703, "type": "devtool", "part_number": "GPIODM-KPLCD" };&lt;/script&gt;
&lt;/div&gt;
&lt;div id="product-page-content"&gt;
    &lt;h1 class="xs-mt0 xs-mb2"&gt;GPIO Expander Keypad and LCD Demo Board&lt;/h1&gt;
    &lt;div class="xs-mb3"&gt;&lt;span class="bold xs-mr1"&gt;Manufactured By:&lt;/span&gt;Microchip&lt;/div&gt;
    
    &lt;div class="xs-flex md-flex-row xs-flex-column"&gt;
        &lt;div class="md-w40 xs-w100"&gt;
                    &lt;div id="devtool-primary-image" class="devtool-primary-image-container fill-white"&gt;
                                    &lt;img src="https://community-dc-assets.element14.com/images/devtool/size500/gpio_expander_keypad_and_lcd_demo_board_500x871_1579631776.png" class="devtool-image-devtool-0 xs-w100 xs-full-height fill-white obj-fit-contain xs-block" alt="GPIO Expander Keypad and LCD Demo Board" /&gt;
                                    &lt;img loading="lazy" src="https://community-dc-assets.element14.com/images/devtool/size500/gpio_expander_keypad_and_lcd_demo_board_500x730_1579631777.png" class="devtool-image-devtool-1 xs-w100 xs-full-height fill-white obj-fit-contain xs-hide" alt="GPIO Expander Keypad and LCD Demo Board" /&gt;
                            &lt;/div&gt;
                        &lt;div class="xs-flex xs-flex-wrap xs-mt2"&gt;
                                &lt;div class="devtool-thumbnail fill-white xs-border-lighter txt-center xs-mr1 xs-mb2"&gt;
                    &lt;img loading="lazy" src="https://community-dc-assets.element14.com/images/devtool/size500/gpio_expander_keypad_and_lcd_demo_board_500x871_1579631776.png" id="devtool-0" class="xs-w100 xs-full-height obj-fit-contain" alt="GPIO Expander Keypad and LCD Demo Board" /&gt;
                &lt;/div&gt;
                                &lt;div class="devtool-thumbnail fill-white xs-border-lighter txt-center xs-mr1 xs-mb2"&gt;
                    &lt;img loading="lazy" src="https://community-dc-assets.element14.com/images/devtool/size500/gpio_expander_keypad_and_lcd_demo_board_500x730_1579631777.png" id="devtool-1" class="xs-w100 xs-full-height obj-fit-contain" alt="GPIO Expander Keypad and LCD Demo Board" /&gt;
                &lt;/div&gt;
                            &lt;/div&gt;
                            &lt;/div&gt;

        &lt;div class="md-w60 md-pl4 md-pl4 md-pt0 xs-w100 xs-pl0 xs-pl0 xs-pt2"&gt;
                        &lt;div class="xs-flex xs-flex-justify-space-between xs-flex-align-center xs-border-lighter fill-white xs-p2"&gt;
                &lt;div class="xs-mt1 xs-mb1"&gt;
                    &lt;div class="xs-text-5"&gt;&lt;span class="bold xs-mr1"&gt;Part Number:&lt;/span&gt;&lt;span id="part-number-value"&gt;GPIODM-KPLCD&lt;/span&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="xs-text-right xs-mr2"&gt;
                            &lt;a id="e14-product-link-470f8" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=1662529&amp;nsku=39M9585&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('470f8'));" data-farnell="1662529" data-newark="39M9585" data-comoverride="" data-cmpoverride="" data-cpc="" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; 
                                &lt;/div&gt;
            &lt;/div&gt;
                                &lt;/div&gt;
    &lt;/div&gt;

    &lt;div class="xs-mt3"&gt;
    &lt;p&gt;The GPIO Expander Keypad and LCD Demo Board is designed to demonstrate the use of the MCP23S08/17 (SPI interface) and the MCP23008/17 (I2C interface) devices in a keypad and LCD example. The MCP23X17 (16-bit) devices interface to a 2x16 LCD module and the MCP23X08 (8-bit) devices interface to a 4x4 keyed matrix.&lt;/p&gt;
&lt;p&gt;Both the I2C and SPI versions are included on the board to demonstrate both serial interfaces. The CONTROL BLOCK in the Demo Board contains the PIC18F4550 and is the main intelligence in the system. This PIC18F2455/2550/4455/4550 family of devices offers the advantages of all PIC18 microcontrollers &amp;ndash; namely, high computational performance at an economical price &amp;ndash; with the addition of high-endurance, Enhanced Flash program memory.&lt;/p&gt;
&lt;p&gt;The MCP23X08 device provides 8-bit, general purpose, parallel I/O expansion for I2C bus or SPI applications. The two devices differ in the number of hardware address pins and the serial interface, MCP23008 has I2C interface, three address pins whereas MCP23S08 has SPI interface, two address pins&lt;/p&gt;
&lt;p&gt;The MCP23X08 consists of multiple 8-bit configuration registers for input, output and polarity selection. The system master can enable the I/Os as either inputs or outputs by writing the I/O configuration bits. The data for each input or output is kept in the corresponding Input or Output register. The polarity of the Input Port register can be inverted with the Polarity Inversion register. All registers can be read by the system master.&lt;/p&gt;
&lt;p&gt;The MCP23017/MCP23S17 (MCP23X17) device family provides 16-bit, general purpose parallel I/O expansion for I2C bus or SPI applications. The two devices differ only in the serial interface. The MCP23017 is I2C interface whereas MCP23S17 is SPI interface&lt;/p&gt;
&lt;p&gt;The MCP23X17 consists of multiple 8-bit configuration registers for input, output and polarity selection. The system master can enable the I/Os as either inputs or outputs by writing the I/O configuration bits (IODIRA/B). The data for each input or output is kept in the corresponding input or output register. The polarity of the Input Port register can be inverted with the Polarity Inversion register. All registers can be read by the system master.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Key Applications:&lt;/strong&gt; LCD and keypad applications&amp;nbsp;&lt;/p&gt;
    &lt;/div&gt;
    
        &lt;h3 class="toc-item xs-pb2 xs-border-bottom"&gt;Features&lt;/h3&gt;
    &lt;ul id="ctl00_ctl00_PageContent_SubPageContent_dtFeaturesText" class="prepend-top"&gt;
&lt;li&gt;Demonstrates the use of MCP23X08 and MCP23X17 devices for LCD and keypad applications&lt;/li&gt;
&lt;li&gt;Test points allow for easy monitoring of SPI and I2C buses, as well as the keypad and LCD interface to PIC&lt;/li&gt;
&lt;li&gt;ICSP header for the PIC microcontroller allows users to customize firmware to further evaluate the MCP23X08/17 devices.&lt;/li&gt;
&lt;li&gt;Can be powered from a 3.0V to 5V DC power source (connected to the +5V and GND test points)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Major Board Components&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The GPIO BLOCK contains the MCP23X17 and MCP23X08 GPIO Expanders.
&lt;ul&gt;
&lt;li&gt;Two (2) MCP23X17 devices are connected to the LCD module&lt;/li&gt;
&lt;li&gt;Two (2) MCP23X08 devices are connected to the keypad matrix.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;A button on the keypad toggles between I2C and SPI mode.
&lt;ul&gt;
&lt;li&gt;When in I2C mode, the MCP23017 and MCP23008 are controlled by the PIC MCU.&lt;/li&gt;
&lt;li&gt;When in SPI mode, the MCP23S17 and MCP23S08 are controlled. Only one (1) MCP23X08 and one (1) MCP23X17 is on the bus at a time.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The CONTROL BLOCK contains the PIC18F4550 and is the main intelligence in the system.&lt;/li&gt;
&lt;li&gt;The INPUT BLOCK contains the 4x4 keypad matrix. The MCP23X08 devices are used to scan the keys.&lt;/li&gt;
&lt;li&gt;The OUTPUT BLOCK contains the 2x16 LCD. The MCP23X17 devices control the display.&lt;/li&gt;
&lt;li&gt;The MCP23X17 and MCP23X08 I/O and serial lines are routed to the HEADER BLOCK to allow the pins to be probed.&lt;/li&gt;
&lt;li&gt;The PROGRAMMING BLOCK contains the ICSP? header for programming/debugging the PIC18F4550.&lt;/li&gt;
&lt;li&gt;The POWER BLOCK contains the MCP1702 5V voltage regulator. The board can be powered by a 9V supply (connected through the power jack) or by applying 5V directly to the power points.&lt;/li&gt;
&lt;/ul&gt;
    
        &lt;h3 class="toc-item xs-pb2 xs-border-bottom"&gt;Ships With&lt;/h3&gt;
    &lt;ul&gt;
&lt;li&gt;One GPIO Expander Keypad and LCD Demo Board (102-00116)
&lt;ul&gt;
&lt;li&gt;MCP23008 GPIO Expander with I2C interface (installed)&lt;/li&gt;
&lt;li&gt;MCP23S08 GPIO Expander with SPI interface (installed)&lt;/li&gt;
&lt;li&gt;MCP23017 GPIO Expander with I2C interface (installed)&lt;/li&gt;
&lt;li&gt;MCP23S17 GPIO Expander with SPI interface (installed)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Analog and Interface Products Demonstration Boards CD-ROM (DS21912)
&lt;ul&gt;
&lt;li&gt;GPIO Expander Keypad and LCD Demo Board User?s Guide (DS51636)&lt;/li&gt;
&lt;li&gt;PIC Microcontroller Firmware&lt;/li&gt;
&lt;li&gt;PCB Gerber Files&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
    
    &lt;div id="devtool-required-devtools-section" class="xs-hide"&gt;
        &lt;h3 class="toc-item xs-pb2 xs-mb1 xs-border-bottom"&gt;Required Tools&lt;/h3&gt;
        &lt;div id="devtool-required-devtools-content"&gt;&lt;/div&gt;
    &lt;/div&gt;

    &lt;div id="devtool-accessory-devtools-section" class="xs-hide"&gt;
        &lt;h3 class="toc-item xs-pb2 xs-mb1 xs-border-bottom"&gt;Accessory Tools&lt;/h3&gt;
        &lt;div id="devtool-accessory-devtools-content"&gt;&lt;/div&gt;
    &lt;/div&gt;

        &lt;h3 class="toc-item xs-pb2 xs-border-bottom"&gt;Documents&lt;/h3&gt;
        &lt;div class="xs-px2"&gt;
        &lt;h4 class="xs-pb2 xs-border-bottom"&gt;Application Note&lt;/h4&gt;
                &lt;div class="attachment "&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/AppNotes/00972a.pdf" target="_blank"&gt;Application Note (AN972) for I/O Expansion Using the MCP23X08 and PIC10F202 (pdf)&lt;/a&gt;
        &lt;/div&gt;
                &lt;div class="attachment xs-mb3"&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/AppNotes/01043a.pdf" target="_blank"&gt;Application Note (AN1043) for Unique Features of the MCP23X08/17 GPIO Expanders (pdf)&lt;/a&gt;
        &lt;/div&gt;
            &lt;/div&gt;
        &lt;div class="xs-px2"&gt;
        &lt;h4 class="xs-pb2 xs-border-bottom"&gt;Data Sheet&lt;/h4&gt;
                &lt;div class="attachment "&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/21919e.pdf" target="_blank"&gt;Data Sheet for MCP23008/MCP23S08  (pdf)&lt;/a&gt;
        &lt;/div&gt;
                &lt;div class="attachment "&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/21952b.pdf" target="_blank"&gt;Data Sheet for MCP23017/MCP23S17  (pdf)&lt;/a&gt;
        &lt;/div&gt;
                &lt;div class="attachment xs-mb3"&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/39632e.pdf" target="_blank"&gt;Data sheet for PIC18F2455/2550/4455/4550  (pdf)&lt;/a&gt;
        &lt;/div&gt;
            &lt;/div&gt;
        &lt;div class="xs-px2"&gt;
        &lt;h4 class="xs-pb2 xs-border-bottom"&gt;Quick Start Guide&lt;/h4&gt;
                &lt;div class="attachment xs-mb3"&gt; 
            &lt;i class="fal fa-file-pdf"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/51636a.pdf" target="_blank"&gt;User Guide for GPIO Expander Keypad and LCD Demo Board  (pdf)&lt;/a&gt;
        &lt;/div&gt;
            &lt;/div&gt;
        
        &lt;h3 class="toc-item xs-pb2 xs-border-bottom"&gt;Downloads&lt;/h3&gt;
        &lt;div class="xs-px2"&gt;
        &lt;h4 class="xs-pb2 xs-border-bottom"&gt;Applications Library&lt;/h4&gt;
                &lt;div class="attachment "&gt;
            &lt;i class="fal fa-file-archive"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/00116R1%20Firmware.zip" target="_blank"&gt;GPIO Expander Keypad and LCD Demo Board Firmware (zip)&lt;/a&gt;
        &lt;/div&gt;
                &lt;div class="attachment xs-mb3"&gt;
            &lt;i class="fal fa-file-archive"&gt;&lt;/i&gt;
                    &lt;a href="http://ww1.microchip.com/downloads/en/AppNotes/00010R1%20Firmware.zip" target="_blank"&gt;MCP23X08 Evaluation Board Firmware  (zip)&lt;/a&gt;
        &lt;/div&gt;
            &lt;/div&gt;
        
    &lt;/div&gt;

&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: lcd, microchip, primary_platforms, mcp23x17, mcu, MCP23S08, development_platforms_kits&lt;/div&gt;
</description></item></channel></rss>