参数资料
型号: GPIODM-KPLCD
厂商: Microchip Technology
文件页数: 14/28页
文件大小: 0K
描述: BOARD DEMO LCD GPIO EXP KEYPAD
标准包装: 1
主要目的: 接口,前面板控制器,LCD
嵌入式: 是,MCU,8 位
已用 IC / 零件: MCP23008,MCP23S08,MCP23017,MCP23S17,PIC18F4550,MCP1702
主要属性: (2)8 位和(2)16 位 GPIO 扩展器,4x4 键盘,2x16 LCD
次要属性: 用于 MCP23x08 和 MCP23x17 的接头
已供物品: 板,CD
产品目录页面: 658 (CN2011-ZH PDF)
相关产品: MCP1702-1202E/TO-ND - IC REG LDO 1.2V 50MA TO92-3
MCP1702T-1202E/CBTR-ND - IC REG LDO 1.2V 50MA SOT23A-3
MCP1702T-1202E/CBDKR-ND - IC REG LDO 1.2V 50MA SOT23A-3
MCP1702T-2502E/CBDKR-ND - IC REG LDO 2.5V .25A SOT-23A
MCP1702T-5002E/CBDKR-ND - IC REG LDO 5V .25A SOT-23A
MCP1702T-3302E/CBDKR-ND - IC REG LDO 3.3V .25A SOT-23A
MCP1702T-3002E/CBDKR-ND - IC REG LDO 3V .25A SOT-23A
MCP1702T-1802E/CBDKR-ND - IC REG LDO 1.8V 50MA SOT-23A
MCP1702T-1202E/CBCT-ND - IC REG LDO 1.2V 50MA SOT23A-3
MCP1702T-2502E/CBCT-ND - IC REG LDO 2.5V .25A SOT-23A
更多...
GPIO Expander Keypad and LCD Demo Board User’s Guide
2.5
FIRMWARE DESCRIPTION
See Figure 2-3 for the main firmware flow diagram.
Main Function:
1. The firmware first configures the PIC MCU.
2. The MCP23X08 and MCP23X17 devices are configured. I 2 C Devices are
selected first by default. The SPI devices I/O are held in reset.
3. The LCD splash screen is shown.
4. Wait for an interrupt from the MCP23X08. An interrupt will occur when a button
is pressed. Four (4) inputs are configured to interrupt on falling edge. These
inputs are for the “columns” of the keypad matrix.
5. After the interrupt occurs, the firmware calls the Scan_Buttons routine.
6. Then the Update_LCD routine.
Scan_Buttons Function:
1. Read INTCAP register. This register contains a snapshot of the port condition
when the interrupt occurred.
2. Swap inputs and outputs so the rows can be read.
3. 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
? 2006 Microchip Technology Inc.
相关PDF资料
PDF描述
GSAP 15-R FUSE 15A 250VAC AXIAL SLOW
GSB3211311WEU USB 3.0 DIP B RECP THRU HOLE
GSB343K33HR USB 3.0 MICRO B RECP SMT
GT-BG230L ARRESTOR 230VDC HD GASTUBE GLASS
GT-BG350L ARRESTOR 350VDC HD GASTUBE GLASS
相关代理商/技术参数
参数描述
GPIOPI-01RBOW-200 制造商: 功能描述:200MM RASPBERRY PI GPIO CABLE26 PIN FEMALE HEADER 制造商:Cyntech 功能描述:200MM RASPBERRY PI GPIO CABLE26 PIN FEMALE HEADER
GPIQ 功能描述:通用继电器 1FormC SPDT 120 VAC RoHS:否 制造商:Omron Electronics 触点形式:1 Form A (SPST-NO) 触点电流额定值:150 A 线圈电压:24 VDC 线圈电阻:144 Ohms 线圈电流:167 mA 切换电压:400 V 安装风格:Chassis 触点材料:
GPIR 功能描述:通用继电器 RLY120VAC TRANS.SUPP RoHS:否 制造商:Omron Electronics 触点形式:1 Form A (SPST-NO) 触点电流额定值:150 A 线圈电压:24 VDC 线圈电阻:144 Ohms 线圈电流:167 mA 切换电压:400 V 安装风格:Chassis 触点材料:
GPJ10A 制造商:PANJIT 制造商全称:Pan Jit International Inc. 功能描述:IN-LINE GLASS PASSIVATED SINGLE-PHASE BRIDGE RECTIFIER
GPJ10B 制造商:PANJIT 制造商全称:Pan Jit International Inc. 功能描述:IN-LINE GLASS PASSIVATED SINGLE-PHASE BRIDGE RECTIFIER