KyungHee Univ. 2-0 Parallel Port LCD Interface with the HD44780 Controller.

Slides:



Advertisements
Similar presentations
New Dot Matrix Modules ・ M162SD13AA / 17CY 16 digit x 2
Advertisements

Lab 12 : Liquid Crystal Displays: Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 DMD Basics : Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Data Write the.
PROGRAMMABLE PERIPHERAL INTERFACE -8255
MC68HC11 System Overview. System block diagram (A8 version)
Programmable Interval Timer
Programmable Keyboard/ Display Interface: 8279
Input/Output (I/O) Ports and Interfacing
Input/Output Ports and Interfacing ELEC 330 Digital Systems Engineering Dr. Ron Hayne Images Courtesy of Ramesh Gaonkar and Delmar Learning.
Analog to Digital Converter
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 12.
Spring EE 316 Computer Engineering Junior Lab LCD modules.
Spring EE 316 Computer Engineering Junior Lab LCD modules, PROMs, Serial Ports.
MP3 player on PC using PIC controller via USB. Supervisor: Dmitry Sokolik Performed by: Yoav Gershoni Shachar Faigenblat.
Screen Display Module M15.2 Sections 9.5, 13.1, 13.2.
ASPPRATECH.
Embedded Programming and Robotics Lesson 9 Keypad and LCD Display 1.
Teachers Name : Suman Sarker Telecommunication Technology Subject Name : Microcontroller & Embedded System Subject Code : 6871 Semester : 7th Department.
ECE 353 Introduction to Microprocessor Systems Michael Schulte Week 12.
16x2 LCD Module on DE2-115 數位電路實驗 TA: 吳柏辰 Author: Trumen.
LCD's 1. LCD Types Many types available. Most common are:  Character Pre-programmed with a set of alphanumeric characters & symbols Size range from 8×1.
1 Keyboard Controller Design By Tamas Kasza Digital System Design 2 (ECE 5572) Summer 2003 Presentation for.
Overview What kind of LCD Interfacing the LCD Displaying Text and Numbers Common Issues.
Digital Outputs LCD Display
KyungHee Univ. 2-0 Parallel Port LED Interfaces. KyungHee Univ. 2-1 Output LEDs.
Input/Output Ports and Interfacing
LCD Interfacing.
8279 KEYBOARD AND DISPLAY INTERFACING
EE 316 Computer Engineering Junior Lab Serial Ports, LCD Displays & PROMs.
KyungHee Univ. 2-0 Infrared Remote Interfacing Infrared Remote Interfacing.
Embedded Systems 7763B Mt Druitt College of TAFE Electrical Engineering Lesson 2 LCD Display Interfacing.
Chapter 10 Glass Bliss Using the Parallel Master Port to communicate with Alphanumeric LCD displays.
Module 11 Adapted By and Prepared James Tan © 2001.
8279 KEYBOARD AND DISPLAY INTERFACING
Department of Electronic & Electrical Engineering LCD character display (parallel interface). How to interface a LCD character display to a PIC.
9-4 The Shifter  Shifter shifts the value on Bus B  Right shift and Left shift Bidirectional shift register with parallel load First clock pulse 에 Bus.
8255:Programmable Peripheral Interface
ECE 447 Fall 2009 Lecture 12: TI MSP430 External LCD.
REGISTER TRANSFER & MICROOPERATIONS By Sohaib. Digital System Overview  Each module is built from digital components  Registers  Decoders  Arithmetic.
Vishwakarma government engineering college Prepare by. Hardik Jolapara( ) LCD Interfacing with ATmega16.
KEYBOARD/DISPLAY CONTROLLER - INTEL Features of 8279 The important features of 8279 are, Simultaneous keyboard and display operations. Scanned keyboard.
LED AND KEYBOARD INTERFACING PREPARED BY :- PREPARED BY :- RAVAL AKASH ( ) RAVAL AKASH ( ) PATEL HARDIK ( ) PATEL HARDIK.
Programmable Keyboard/Display Interface contains the following features: Simultaneous and independent scanning of a keyboard and refresh.
Sitarambhai Naranjibhai Patel Institute of Technology and Research Centre, Umrakh, Bardoli. A Presentation On “ 16x2 LCD Interfacing with AVR atmega32.
LCD AND LCD INTERFACING. INDEX:-  INTRODUCTION  PIN DISCRIPTION  INITIALIZATION OF LCD  LCD INTERFACING  LCD INTERFACING WITH ATMEGA 32  INTERFACING.
CEng3361 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2011 Recitation 06.
INT. TO EMBEDDED SYSTEMS DEVELOPMENT
Peripherals – Keypad The Keypad provides a simple means of numerical data or control input. The keys can be attributed whatever data or control values.
LCD Interfacing using Atmega 32
LCD and Keyboard Interfacing
UNIVERSAL COLLEGE OF ENGINEERING & TECHNOLOGY
GANDHINAGAR INSTITUTE OF TECHNOLOGY
Liquid Crystal Display Arduino
DIGITAL CALCULATOR USING 8051
Interfacing of LCD with µP
OBJECTIVE AND FEATURES:
16x2 LCD Module on DE2-115 Digital Circuit Lab TA: Po-Chen Wu.
Keyboard/Display Controller INTEL 8279
COMP2121: Microprocessors and Interfacing
EET 2261 Unit 11 Controlling LCD and Keypad
LCD and Keyboard Interfacing
EET 2261 Unit 11 Controlling LCD and Keypad
LCD and Keyboard Interfacing
LCD and Keyboard Interfacing
LCD and Keyboard Sepehr Naimi
Important 8051 Features On chip oscillator 4K bytes ROM 128 bytes RAM
8051 Micro Controller.
LCD and Keyboard Interfacing
LCD (LIQUID CRISTAL DISPLAY) SCREENS
INTERRUPTS.
Presentation transcript:

KyungHee Univ. 2-0 Parallel Port LCD Interface with the HD44780 Controller

KyungHee Univ. 2-1 Liquid Crystal Display  LCD 의 장점  소비 전력이 작다.  용이하게 다양한 모양 ( 문자, 그림 등 ) 을 만들 수 있다.  LCD 는 오직 AC 로 구동하여야 한다.  이 회로 에서는 Control 신호가 High 일 때만 V LCD 가 인가 되어 Display 된다.

KyungHee Univ. 2-2 Liquid Crystal Display  LCD 제어 신호 Timing 예

KyungHee Univ. 2-3 Scanned LCD Interface FP1FP2 BP1fa BP2gb BP3ec BP4dh  LCD Artwork 예 특정 Segment 의 Front-plane 과 Back-plane 사이에 일정 전압 이상이 인가 된 경우 해당 Segment 가 표시 된다.

KyungHee Univ. 2-4  Scanned LCD Interface 각 Segment 는 Front-plane 과 Back-plane 의 조합에 의하여 On/Off 가 제어 된다.

KyungHee Univ. 2-5 HD44780 LCD Controller  Features 5 x 8 and 5 x 10 dot matrix possible Low power operation support: 2.7 to 5.5V Correspond to high speed MPU bus interface: 2 MHz (when V CC = 5V) 4-bit or 8-bit MPU interface enabled 80 x 8-bit display RAM (80 characters max.) 9,920-bit character generator ROM for a total of 240 character fonts  208 character fonts (5 ´ 8 dot)  32 character fonts (5 ´ 10 dot) 64 x 8-bit character generator RAM Wide range of instruction functions:  Display clear, cursor home, display on/off, cursor on/off, display character blink, cursor shift,display shift

KyungHee Univ. 2-6 HD44780 Block Diagram

KyungHee Univ. 2-7 Function Description  Registers Instruction register (IR) : Stores instruction codes  display clear, cursor shift,  Address information Display data RAM (DDRAM) Character generator RAM (CGRAM) Data register (DR) : DDRAM 이나 CGRAM 에 Read/Write 하는 Data 을 임시로 저장  Busy Flag (BF) HD44780 가 내부 동작 모드일 경우 (Busy 상태 ) 에는 다음 명령을 받을 수 없다. Busy Flag 는 DB7 에 Output 된다.  Address Counter (AC) DDRAM 이나 CGRAM 의 Address 를 저장

KyungHee Univ. 2-8 Function Description  Registers Selection RSR/~WOperation 00IR write as an internal operation (display clear, etc.) 01Read busy flag (DB7) and address counter (DB0 to DB6) 10DR write as an internal operation (DR to DDRAM or CGRAM) 11DR read as an internal operation (DDRAM or CGRAM to DR) Instruction Data

KyungHee Univ. 2-9 Display Data RAM (DDRAM)  Display data RAM(DDRAM) 은 80 x 8 bits(80 자 ) 를 저장  DDRAM address (ADD)  1-Line Display(N=0)  1-Line Display 예 Shift Left Shift Right

KyungHee Univ Display Data RAM (DDRAM)  2-line display (N = 1)  2-Line 8 Character Display  2-Line 16 Character Display 10 진수 16 진수

KyungHee Univ Instructions

KyungHee Univ Instructions

KyungHee Univ Parallel Port LCD Module Interface 예

KyungHee Univ GND - +5V - PA1 - PA2 - PA3 - - PA4 - PA5 - PA6 - PA Vss - Vdd - V0 - RS - R/W - E - DB0 - DB1 - DB2 - DB3 - DB4 - DB5 - DB6 - DB7 - A - K - GND - Power supply - Contrast adjustment - Register select signal - Read/Write selection - Enable signal - Backlight( +) - Backlight( - ) LCD 모듈 4Bit Interface 예 (Port A 사용 ) AVR Pin NO. Symbol Function 10K GND +5V Backlight 밝기 조절에 브릿지 다이오드를 사용 하고, 점퍼 SW 로 밝기를 선택 하도록 하였다. Backlight 회로는 생략 할 수 있음.

KyungHee Univ Parallel Port LCD Interface with the HD44780 Controller  HD44780 Controller 의 Access Type 과 Timing Diagram E RS R/W Data RSR/WCycle 00Write to Instruction Rg 01Read busy flag (DB7) and address counter (DB0 to DB6) 10Write data from uP to the HD Read data from HD44789 to the uP

KyungHee Univ Parallel Port LCD Interface 프로그램 예  Cho_LCD_1602_4bit_soft 프로그램 참고

KyungHee Univ Parallel Port LCD Interface with the HD44780 Controller // PA1 PA2 PA3 PA4-PA7 // RS R/W E DB0-DB3 DB4-DB7 // // Register Selection // Read/Write // Enable // NoConnection // Data Bus #define LCD_INST_W 0x00 #define LCD_INST_R 0x04 #define LCD_DATA_W 0x02 #define LCD_DATA_R 0x06 #define LCD_COLTROL_E 0x08 Internal definitions and Port