KEYBOARD INTERFACING Keyboards are organized in a matrix of rows and columns The CPU accesses both rows and columns through ports. ƒTherefore, with two.

Slides:



Advertisements
Similar presentations
INDIVIDUAL PROJECT BY R.KARTHIKMANOJ
Advertisements

MICROPROCESSORS AND MICROCONTROLLERS
8051 I/O Interfacing Need for more ports PPI 8255
Programmable Interval Timer
Programmable Keyboard/ Display Interface: 8279
Background Current solutions to this problem exist – Smart Pen – iPhone However, very expensive (more than $200) Main goal of SAiNT is to be low cost.
Mark Neil - Microprocessor Course 1 Decoding and Using a 4x4 Keyboard.
© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Interfacing a 4x4 Key Matrix Row Inputs.
EE 316 Computer Engineering Junior Lab Word Mastermind.
EE 316 Computer Engineering Junior Lab PS/2 Keyboard.
7-1 Keypad Scanning interface Used for interfacing push-button(momentary) switches Used for large number(>8) push-buttons Relies on matrix arrangement.
Given Connections Solution
Enhanced A+ Guide to Managing and Maintaining Your PC Third Edition.
EE 316 Computer Engineering Junior Lab Digital Hangman.
CP1610: Introduction to Computer Components Basic PC Components.
Khaled A. Al-Utaibi  Microprocessors  Microcontrollers  Embedded Systems.
University of Tehran 1 Interface Design Keyboard and Printer Omid Fatemi.
 Keyboards, LCDs most widely used input/output devices of the 8051  Contents to be covered:  keyboard fundamentals  key press and key detection mechanisms.
Interrupts. 2 Definition: An electrical signal sent to the CPU (at any time) to alert it to the occurrence of some event that needs its attention Purpose:
I/O devices Peripheral devices (also called I/O devices) are pieces of equipment that exchange data with a CPU Examples: switches, LED, CRT, printers,
By Joshua Doolan 7 White. Connectivity is simply just the internet connection and how strong it is.
COMP3221: Microprocessors and Embedded Systems Lecture 18: Computer Buses and Parallel Input/Output (II) Lecturer: Hui.
Chapter 1 Introduction to Computers Maran Illustrated Computers CIS
FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc.
LIS508 lecture 3: looking at a computer Thomas Krichel
Computers Today Information taken from: Microsoft Office 97 Professional by Lawrence Press Microsoft Office 2003 by Glencoe Dell Dimension B110 2 iMac.
Shift Registers pp Shift Registers Capability to shift bits ♦ In one or both directions Why? ♦ Part of standard CPU instruction set ♦ Cheap.
1 ECE 372 – Microcontroller Design Parallel IO Ports - Inputs.
Digital Inputs Interfacing Keypad
Keyboard interfacing.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module A Computer Hardware and Software.
Microprocessor and Interfacing Example: Writing a Game Need to Check Keyboard Input.
This course is designed by Dr. Khaled A. Al-Utaibi.
EE 316 Computer Engineering Junior Lab Project 2 Digital Yahtzee.
Alpha/Numeric Keypad Functions using AVR Preliminary Design Review Luke R. Morgan ECE /17/2008.
IBM - CVUT Student Research Projects Pressure Sensitive Carpet Project Introduction Karel Pechanec
Matrix Multiplication The Introduction. Look at the matrix sizes.
Mark Neil - Microprocessor Course 1 Decoding and Using a 4x4 Keyboard.
I/O Devices Switches, LED, LCD
= the matrix for T relative to the standard basis is a basis for R 2. B is the matrix for T relative to To find B, complete:
ECE 447: Lecture 12 Keypads ECE 447: Lecture 10. ECE 447: Matrix Keypad.
ECET 340 Entire Course (All ilabs and Homework) For more classes visit ECET 340 Week 1 HomeWork 1 ECET 340 Week 1 iLab 1 ECET 340.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
LED AND KEYBOARD INTERFACING PREPARED BY :- PREPARED BY :- RAVAL AKASH ( ) RAVAL AKASH ( ) PATEL HARDIK ( ) PATEL HARDIK.
Input & Output devices. Input Device :keyboard a keyboard is an input device, partially modeled after the typewriter keyboard, which uses an arrangement.
BIRLA VISHVAKARMA MAHAVIDYALAYA TOPIC : Keyboard interfacing and flowchart MADE BY: Nidhi Bhangale ( ) Gargi Patel ( ) Meghna Rathod.
8279 Keyboard / Display Interface
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 AND KEYBOARD INTERFACING
connect a DC-Motor with an arduino
DIGITAL CALCULATOR USING 8051
Brainstorm with your team about anything/everything that is computer hardware. Put one thing on each sticky note.
Keyboard/Display Controller INTEL 8279
EET 2261 Unit 11 Controlling LCD and Keypad
Subject Name: Microprocessors Subject Code:10EC46 Department: Electronics and Communication Date: /10/2018.
Figure Pin Positions for Various LCDs from Optrex
Keypad Source: under under
EET 2261 Unit 11 Controlling LCD and Keypad
8051 Supplement.
Keyboard/Display Controller (8279)
DES Examples Chater#3 DES.
COMPUTER PERIPHERALS AND INTERFACES
Decoding and Using a 4x4 Keyboard
Keypad Source: under under
INTRODUCTION TO COMPUTERS
Keypad Source: under under
Introduction to Arduino
财务管理案例教学法 研究及示例 ——王遐昌 2006/11/10.
LCD AND KEYBOARD INTERFACING
Decoding and Using a 4x4 Keyboard
Presentation transcript:

KEYBOARD INTERFACING Keyboards are organized in a matrix of rows and columns The CPU accesses both rows and columns through ports. ƒTherefore, with two 8-bit ports, an 8 x 8 matrix of keys can be connected to a microprocessor When a key is pressed, a row and a column make a contact.

Otherwise, there is no connection between rows and columns ‰In IBM PC keyboards, a single microcontroller takes care of hardware and software interfacing A 4x4 matrix connected to two ports The rows are connected to an output port and the columns are connected to an input port.

4x4 matrix.

.

.

Identify the row and column of the pressed key for each of the following. (a) D3 – D0 = 1110 for the row, D3 – D0 = 1011 for the column (b) D3 – D0 = 1101 for the row, D3 – D0 = 0111 for the column Solution: (a) The row belongs to D0 and the column belongs to D2; therefore, key number 2 was pressed. (b) The row belongs to D1 and the column belongs to D3; therefore, key number 7 was pressed..

.

.