Control Interfacing Keypad and LCD Embedded Microprocessor | Controller Circuit

Thursday, November 24, 2011

Control Interfacing Keypad and LCD Embedded Microprocessor

This is circuit for interfacing I/O keypad and LCD that can study in laboratory for student to experience interfacing basic I/O devices to the HCS12 microcontroller mounted on the CML12S-DP256 development board. The keypad that using in this circuit is a standard 4 X 4 matrix keypad with 4 rows and 4 columns. This is the figure of the interfacing of keypad.


The DCM-20434 LCD display is interfaced to the MCU’s SPI-0 serial port through a serial to parallel converter as shown in Figure 3. Figure 3 shows the interface connections between the SPI-0 serial port, the 74HC595 (serial to parallel converter) device, and the LCD-PORT. The DCM-20434 LCD should be configured in four bit mode as the schematic shows DB3 through DB0 connected to ground. This is the interface figure.


To interface the LCD display to the HCS12 MCU you must understand how the physical layer interface circuit is constructed (shown in Schematics for Development Board), how to configure and use the SPI serial port (SPI Serial Bus Document), and how to configure and use the LCD display (DMC-20434 LCD Specifications ).

No comments:

Post a Comment

Post a Comment