Installation and Operation
2.4
GPIO EXPANDER KEYPAD AND LCD DEMO BOARD DESCRIPTION
2.4.1
Major Board Components
The functional block diagram is shown in Figure 2-2 .
FIGURE 2-2:
Input
FUNCTIONAL BLOCK DIAGRAM
Header
Output
IN
GPIO
OUT
2 X 16 LCD
Control
Power
Programming
1. The GPIO BLOCK contains the MCP23X17 and MCP23X08 GPIO Expanders.
Two (2) MCP23X17 devices are connected to the LCD module and two (2)
MCP23X08 devices are connected to the keypad matrix.
A button on the keypad toggles between I 2 C and SPI mode. When in I 2 C mode ,
the MCP23017 and MCP23008 are controlled by the PIC MCU. 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.
2. The CONTROL BLOCK contains the PIC18F4550 and is the main intelligence
in the system.
3. The INPUT BLOCK contains the 4x4 keypad matrix. The MCP23X08 devices
are used to scan the keys.
4. The OUTPUT BLOCK contains the 2x16 LCD. The MCP23X17 devices control
the display.
5. The MCP23X17 and MCP23X08 I/O and serial lines are routed to the HEADER
BLOCK to allow the pins to be probed.
6. 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 by a 9V supply (connected through the power jack) or by
applying 5V directly to the power points.
? 2006 Microchip Technology Inc.
DS51636A-page 9
相关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
GT-BG470L ARRESTOR 470VDC HD GASTUBE GLASS
GT-BG600L ARRESTOR 600VDC HD GASTUBE GLASS
GT-BG800L ARRESTOR 800VDC 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
GPJ10D 制造商:PANJIT 制造商全称:Pan Jit International Inc. 功能描述:IN-LINE GLASS PASSIVATED SINGLE-PHASE BRIDGE RECTIFIER
GPJ10G 制造商:PANJIT 制造商全称:Pan Jit International Inc. 功能描述:IN-LINE GLASS PASSIVATED SINGLE-PHASE BRIDGE RECTIFIER
GPJ10J 制造商:PANJIT 制造商全称:Pan Jit International Inc. 功能描述:IN-LINE GLASS PASSIVATED SINGLE-PHASE BRIDGE RECTIFIER