EE 316 Computer Engineering Junior Lab PS/2 Keyboard.

Slides:



Advertisements
Similar presentations
INPUT-OUTPUT ORGANIZATION
Advertisements

Programmable Interval Timer
Programmable Keyboard/ Display Interface: 8279
I/O Interfaces.
Universal Serial Bus Grant Heileman. The History of USB In 1994 a collaborative effort to design a standard for peripheral devices was made between Compaq,
PH4705 ET4305 Interface Standards A number of standard digital data interfaces are used in measurement systems to connect instruments and computers for.
1 Chapter Four Making Connections. 2 Introduction Connecting peripheral devices to a computer has, in the past, been a fairly challenging task Newer interfaces.
Spring EE 316 Computer Engineering Junior Lab Designing State machines for a numeric Keypad.
EE 316 Computer Engineering Junior Lab Word Mastermind.
Spring EE 316 Computer Engineering Junior Lab Serial Ports.
Other I/O LCD display Flash ROM Keyboard (PS/2) UART connectors.
PS/2 Mouse/Keyboard Port Lecture L9.4. PS/2 Port.
1 COMP541 Keyboard Interface Montek Singh April 9, 2007.
Spring EE 316 Computer Engineering Junior Lab LCD modules, PROMs, Serial Ports.
CS150 Project Checkpoint 1. Controller Interface Dreamkatz Controller Interface 1. The N64 Controller 2. Physical interface 3. Communication protocol.
COMP541 Input Devices: Keyboards, Mice and Joysticks
EE 316 Computer Engineering Junior Lab Digital Hangman.
EE 316 Computer Engineering Junior Lab Lecture on PC Parallel port.
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 353 Lab B (part 1 – Overview)
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.
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 13.
1 Keyboard Controller Design By Tamas Kasza Digital System Design 2 (ECE 5572) Summer 2003 Presentation for.
University of Tehran 1 Interface Design Keyboard and Printer Omid Fatemi.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Keyboard Interface Anselmo Lastra.
PS/2 Mouse/Keyboard Port Discussion D7.2. PS/2 Port.
PS2 Keyboard Interface Using Spartan-3 Starter Kit Board
Did you know that the keyboard on a typical computer system is actually a computer itself? Your basic Windows keyboard At its essence, a keyboard is a.
INPUT-OUTPUT ORGANIZATION
 Keyboards, LCDs most widely used input/output devices of the 8051  Contents to be covered:  keyboard fundamentals  key press and key detection mechanisms.
Making a MIDI Keyboard Bob Wayne Bell, Jr. Nov. 15, 2002 EE281.
Transmission Modes Serial Transmission  One bit is transmitted on a circuit at a time  Usually there is one transmit circuit and one receive circuit.
Computer Organization CSC 405 Bus Structure. System Bus Functions and Features A bus is a common pathway across which data can travel within a computer.
1 COMP541 Input Devices: Keyboards, Mice and Joysticks Montek Singh Apr 16, 2012.
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
CISCO NETWORKING ACADEMY Chabot College ELEC Hyperterminal Access to Routers.
Digilent System Board Capabilities Serial Port (RS-232) Parallel Port 1 Pushbutton Hint: Good for a reset button Connected to a clock input. See Digilent.
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
Universal Asynchronous Receiver/Transmitter (UART)
ECE 353 Introduction to Microprocessor Systems Michael Schulte Week 13.
Advanced Embedded Systems Design Lecture 8 Serial I/O BAE Fall 2004 Instructor: Marvin Stone Biosystems and Agricultural Engineering Oklahoma.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
EE4OI4 Engineering Design UP1core Library Functions.
Example. SBUF Register SCON Register(1) SCON Register(2)
8279 KEYBOARD AND DISPLAY INTERFACING
EE 316 Computer Engineering Junior Lab Serial Ports, LCD Displays & PROMs.
1 COMP541 Input Devices: Keyboards, Mice and Joysticks Montek Singh Apr 6, 2015.
©2008 R. Gupta, UCSD COSMOS Summer 2008 Peripheral Interfaces Rajesh K. Gupta Computer Science and Engineering University of California, San Diego.
PPI-8255.
AS Computing Data transmission. Basic data transmission Baud The rate that the voltage changes is called the Baud. If the voltage changes 10 times every.
8279 KEYBOARD AND DISPLAY INTERFACING
EE 316 Computer Engineering Junior Lab Project 2 Digital Yahtzee.
PS/2 Mouse/Keyboard Port
The Spartan®-3E FPGA Starter Kit board. A computer mouse is designed mainly to detect two-dimensional motion on a surface. Its internal circuit measures.
DHUHA KHALID ALSHMMERI The Keyboard. Is a unit of the input data to the computer, When a key is pressed the Keyboard generate code called Survey (determining.
KEYBOARD INTERFACING Keyboards are organized in a matrix of rows and columns The CPU accesses both rows and columns through ports. ƒTherefore, with two.
Lecture 4 General-Purpose Input/Output NCHUEE 720A Lab Prof. Jichiang Tsai.
Keyboard Introduction Keyboard is an input device. It is used to give text, numbers and controls as input to computer. The.
Networked Embedded Systems Pengyu Zhang EE107 Spring 2016 Lecture 8 Serial Buses.
INTERFACING KEYBOARD WITH ATMEGA32 ELECTRONICS & COMMUNICATION TITLE.
Serial Communications
COMP541 Input Devices: Keyboards, Mice and Joysticks
COMP541 Input Devices: Keyboards, Mice and Joysticks
BJ Furman ME 106 Fundamentals of Mechatronics 15NOV2012
Computer Organization and Design
EEL 3705 / 3705L Digital Logic Design
Keypad Source: under under
Serial Communication Interface
Serial Communications
Interfacing keyboard with FPGA
Presentation transcript:

EE 316 Computer Engineering Junior Lab PS/2 Keyboard

The PS/2 Keyboard PS/2 device interface was developed by IBM. PS/2 port these days use the 6-pin mini-DIN connectors. The Data and clock are open-collector with pull-up resistors.

PS/2 Keyboard, contd..  PS/2 devices use bidirectional synchronous serial protocol.  The device (keyboard in this case) generates the clock.  The clock frequency is kHz.  One byte of data is sent at a time.  Each frame from keypad to the PC contains 11 bits. These bits are: 1 start bit. This is always 0. 8 data bits, least significant bit first. 1 Parity bit. 1 stop bit. This is always 1.

Scan code Keyboards consist of a large matrix of keys The keys are monitored or scanned by an on-board processor (aka the "keyboard encoder“). If a key is pressed, held and released, the keypad sends out an 11-bit “Scan code” (data). There are several scan codes. We will use the default code (See Scan code 2) for all modern keyboard.(See Scan code 2)

Keyboard to Host communication The “Make scan code” for Q Stop bit = = 0X15 <= The make scan code for the “Q” key Start bit = 0 Parity bit Keypad data is read on the Falling edge of the clock

References engineering.org/ps2protocol/ engineering.org/ps2protocol/ engineering.org/ps2keyboard/ engineering.org/ps2keyboard/ engineering.org/ps2keyboard/scancodes2.html engineering.org/ps2keyboard/scancodes2.html