TANTA UNIVERSITY FACULTY OF SCIENCE. Fourth Year (First Semester). Advanced Computer Science (Computer Peripherals). Lecture Six. Dr. Hany Mahgoub. Input Devices. Outline. Keyboards Pointing Devices Mouse 6. Touch Screen Trackball 7. Light pen Touchpad 8. Electronic Pen
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
FACULTY OF SCIENCE
Fourth Year (First Semester)
Advanced Computer Science
Dr. Hany Mahgoub
An input device is any hardware component that allows the user to enter data, programs, commands, and user responses into the computer.
Two types of input are data and instruction. Instruction can be in the form of user responses, commands, and programs
A typical desktop computer keyboard.
The processor in a keyboard has to understand several things that are important to the utility of the keyboard, such as:
The microprocessor and controller circuitry of a keyboard
A look at the key matrix
If more than one key is pressed at the same time, the processor checks to see if that combination of keys has a designation in the character map.
Keyboards use a variety of switch technologies.Let's take a look at these different technologies:
This keyboard uses rubber dome switches.
An increasing number of new systems are dropping the PS/2 connectors in favor of USB.
A PS/2 type keyboard connector
When the operating system is notified that there is data from the keyboard, a number of things can happen:
A pointing device is an input device that allows you to control a pointer on the screen and interact with computer via a graphical user interface (GUI).
The start menu displays the screen when you point to the Start button and then click the primary mouse button.
The main goal of any mouse is to translate the motion of your hand into signals that the computer can use. Almost all mice today do the translation using five components:
2. Two rollers inside the mouse touch the ball and detect X and Y motion
3. The rollers each connect to a shaft, and the shaft spins a disk with holes in it. A typical optical encoding disk: This disk has 36 holes around its outer edge.
4. A close-up of one of the optical encoders that track mouse motion: There is an infrared LED (clear) on one side of the disk and an infrared sensor (red) on the other. The holes in the disk break the beam of light coming from the LED so that the infrared sensor sees pulses of light. The rate of the pulsing is directly related to the speed of the mouse and the distance it travels.
5. An on-board processor chip reads the pulses from the infrared sensors and turns them into binary data that the computer can understand. The chip sends the binary data to the computer through the mouse's cord.
In this photo, you can see the LED on the bottom of the mouse
Optical mice have several benefits over wheeled mice:
These pins have the following functions (refer to the above photo for pin numbering):
2- +5 volts (to power the chip and LEDs)
Whenever the mouse moves or the user clicks a button, the mouse sends 3 bytes of data to the computer. The first byte's8 bits contain:
1-Left button state (0 = off, 1 = on)
2-Right button state (0 = off, 1 = on)
5- X direction (positive or negative)
6- Y direction
7- X overflow (the mouse moved more than 255 pulses in 1/40th of a second)
8- Y overflow