Spring 2006 1 EE 316 Computer Engineering Junior Lab LCD modules, PROMs, Serial Ports.

Slides:



Advertisements
Similar presentations
INPUT-OUTPUT ORGANIZATION
Advertisements

Microprocessors Typical microprocessor controlled devices: Camera, mobile phone, stereo, mp3 player, electronic toys… High-level microprocessor controlled.
EXTERNAL COMMUNICATIONS DESIGNING AN EXTERNAL 3 BYTE INTERFACE Mark Neil - Microprocessor Course 1 External Memory & I/O.
I/O Interfaces.
TK2633 Introduction to Parallel Data Interfacing DR MASRI AYOB.
Serial I/O - Programmable Communication Interface
Hierarchy of I/O Control Devices
EE 316 Computer Engineering Junior Lab Word Mastermind.
EE 316 Computer Engineering Junior Lab PS/2 Keyboard.
Spring EE 316 Computer Engineering Junior Lab LCD modules.
Professor Michael J. Losacco CIS 1110 – Using Computers System Unit Chapter 4.
Spring EE 316 Computer Engineering Junior Lab Serial Ports.
18 Nov 2003Ryan Kittredge Digital Communications Ryan Kittredge Technical Topic Report 19 November 2003.
EE 316 Computer Engineering Junior Lab Digital Hangman.
Input/Output and Communication
Interface circuits I/O interface consists of the circuitry required to connect an I/O device to a computer bus. Side of the interface which connects to.
ECE 371- Unit 11 Introduction to Serial I/O. TWO MAJOR CLASSES OF SERIAL DATA INTERFACES ASYNCHRONOUS SERIAL I/O - USES “FRAMING BITS” (START BIT AND.
Unit-5 CO-MPI autonomous
Counters and Registers
INPUT-OUTPUT ORGANIZATION
Embedded Systems Design
University of Tehran 1 Interface Design Serial Communications Omid Fatemi.
Technology Training that Works Hands of Data Communications, Networking & TCP/IP Troubleshooting.
Overview What kind of LCD Interfacing the LCD Displaying Text and Numbers Common Issues.
Serial Communication ETEC 6416.
ECE 265 – LECTURE 12 The Hardware Interface 8/22/ ECE265.
Transmission Modes Serial Transmission  One bit is transmitted on a circuit at a time  Usually there is one transmit circuit and one receive circuit.
Computers in Surveying SVY2301 / E4006 Automated Surveying.
Serial Communication Lab 12 Module M21.1. Asynchronous Serial I/O ASCII code 54H = (“T”) sent with odd parity.
Lesson 3 — How a Computer Processes Data
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
Serial Port I/O Serial port sends and receives data one bit at a time. Serial communication devices are divided into: Data Communications Equipment (DCE),
Computer Processing of Data
UART and UART Driver B. Ramamurthy.
Integrated Circuits. Integrated Circuit (IC) A silicon crystal (chip) containing electronic components that create the logic gates we’ve been looking.
1 SERIAL PORT INTERFACE FOR MICROCONTROLLER EMBEDDED INTO INTEGRATED POWER METER Mr. Borisav Jovanović, Prof.dr Predrag Petković, Prof.dr. Milunka Damnjanović,
Lecture Set 9 MCS-51 Serial Port.
Universal Synchronous/Asynchronous Receiver/Transmitter (USART)
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
CHAPTER SERIAL PORT PROGRAMMING. Basics of Serial Communication Computers transfer data in two ways: ◦ Parallel  Often 8 or more lines (wire conductors)
CS-280 Dr. Mark L. Hornick 1 Programming for the LCD Display.
Advanced Microprocessor1 I/O Interface Programmable Interval Timer: 8254 Three independent 16-bit programmable counters (timers). Each capable in counting.
 8251A is a USART (Universal Synchronous Asynchronous Receiver Transmitter) for serial data communication.  Programmable peripheral designed for synchronous.
EE 316 Computer Engineering Junior Lab Serial Ports, LCD Displays & PROMs.
Universal Asynchronous Receiver/Transmitter (UART)
Concepts of Engineering and Technology Copyright © Texas Education Agency, All rights reserved.
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
The Computer System.
Department of Electronic & Electrical Engineering LCD character display (parallel interface). How to interface a LCD character display to a PIC.
Chapter Microcontroller
REGISTER TRANSFER LANGUAGE (RTL) INTRODUCTION TO REGISTER Registers1.
Serial Communication RS-232. In order to make two devices communicate, whether they are desktop computers, microcontrollers, or any other form of integrated.
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
Networked Embedded Systems Pengyu Zhang EE107 Spring 2016 Lecture 8 Serial Buses.
LED AND KEYBOARD INTERFACING PREPARED BY :- PREPARED BY :- RAVAL AKASH ( ) RAVAL AKASH ( ) PATEL HARDIK ( ) PATEL HARDIK.
BASICS OF SERIAL COMMUNICATIONS BIRLA VISHWKARMA MAHAVIDYALAYA ELECTRONICS & TELECOMMUNICATION DEPARTMENT PRESENTING BY: ABHISHEK SINGH AMANDEEP.
Modem. Introduction: A modem [Modulator -Demodulator] is a device. Data communication means transmitting digital information form one computer to other.
CEng3361 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2011 Recitation 06.
Serial mode of data transfer
REGISTER TRANSFER LANGUAGE (RTL)
Serial I/O and Data Communication.
SERIAL PORT PROGRAMMING
Hardware Source: ttp:// under
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
UART and UART Driver B. Ramamurthy.
E3165 DIGITAL ELECTRONIC SYSTEM
Atmega32 Serial Programming Basics
UART and UART Driver B. Ramamurthy.
Hardware Source: ttp:// under
CHAPTER SERIAL PORT PROGRAMMING. Basics of Serial Communication Computers transfer data in two ways: ◦ Parallel  Often 8 or more lines (wire.
Presentation transcript:

Spring EE 316 Computer Engineering Junior Lab LCD modules, PROMs, Serial Ports

Spring Topics  Liquid Crystal Display Modules  Eraseable Progrmmable ROMs  Serial Ports

Spring Liquid Crystal Display (LCD) modules  Majority of the pixel-based alphanumeric LCD module uses the Hitachi HD44780 LCD controller chip.  Makers are: Densitron, Epson, Hewlett Packard, Optrex, or Sharp.  Most have 16, 20, 24, 32, or 40 characters by 1, 2, or 4 lines.  The LCD module we will use has a single line of 20 characters.  Each character is made of 5x7 dot matrix For more info: /

Spring LCD Display  To use these LCD module, you have follow the timing requirement very precisely. Pay attention to these times Important times

Spring LCD Initialization  Before you use the LCD, you need to initialize the LCD with a very precise sequence of instructions.  Follow the intialization very accurately  Need to generate a sequence of 8-bit instructions with a minimum timing delay between two instructions  each instruction requires multiple steps raise the enable signal ‘E’, apply data or instruction, lower ‘E’, hold data or instruction  You may store these values in a PROM and apply to the LCD with correct times between two instructions.

Spring LCD Initialization Contd.  In this example at the end of the initialization the LCD is asked to return cursor to the home postion and clear previous display.  The LCD is then readied for display data (DD) input. The ASCII code for capital “D” is then sent to the LCD module Initialization begins here Initialization ends here LCD is ready for Display data input ASCII 0x44 = D

Spring ASCII code

Spring PROM  Read only memory  32K x 8 bits or 64K x 8 bits, etc.  Erasable with UV exposure (15-20 mins)  For 32K, 10 address Pins  8 data Pins  Pin named Vpp used for progrmming  Chip enable  Read enable

Spring Power-On Reset  In most sequential circuits (i.e., circuits that have FF, latch, or counters, memories), the initial state may not be known after the power is turned on.  Use a RC circuit for the Reset or Clear the FFs. Choose the RC values for correct timing.

Spring PC's Serial Ports ● PC's Serial port (RS-232c interface) is also known as the communication (COM)port. ● The serial port transmits a byte of data by sending 8 bits separately. It adds a start bit, a stop bit and if desired, a parity bit. ● COM ports are bi-directional. Serial ports use a special controller chip known as the Universal Asynchronous Receiver/Transmitter (UART), to function correctly. ● Used to connect to Modems, some printers and digital cameras. Ref:

Spring PC's Serial Port, contd. ● Serial cables can be longer than parallel cables. ● The RS-232c data uses -3 to -12 V to represent a 1 (called Mark) and +3 to +12 to represent a Logical '0' (called Space). ● Serial data must be converted to TTL/CMOS level for digital circuits.

Spring PC's Serial Port, contd. ● One can use the RS-232 drivers and recievers to transform the RS-232 level to TTL/CMOS level.

Spring UARTs Universal Asynchronous Receiver/Transmitter ➔ To use the serial data in digital applications, we need to convert the TTL/CMOS serial data into parallel data using UARTs. ➔ Popular UARTs: 16550, & 8250 series ➔ We will use a CMOS based UART: HD Read the data sheet carefully before using. ➔ UARTs use a clock with is 16 times the baud rate of the serial port.

Spring UART Timing & Control Issues

Spring Interfacing a digital system with a PC (another digital system) PC and its UART and level converter MAXIM 233UART

Spring References    