Computer Peripherals and Interfacing Chapter-0 Prepared by: Bulbul Ahammad, Lecturer, Dept. of CSE, JU
What are Computer Peripherals? A Computer Peripheral is a device that is internally or externally linked or connected to the core architecture/parts of the computer. The core parts of the computer that are not considered to be the peripherals are: CPU, Motherboard, Power Supply, Computer case . Some Examples of Peripherals Input Type Peripheral Output Type Peripheral Storage Type Peripheral 2
What are Peripherals Used for? Peripherals are commonly used to transfer data to/form the computer. That means these devices are generally used to put information into or get information out of the computer. Peripherals read information from or write in the memory unit on receiving a command from the CPU. 3
Categories of Peripherals Based on working principle, peripherals can be broadly categorized into four types. Such as: Input Type Peripherals Used to interact with or send data to the computer. Transforms data from outside world into a pattern of electrical signals in binary code that are comprehensible to digital computer. Examples: Mouse, Keyboard etc. 4
Categories of Peripherals Based on working principle, peripherals can be broadly categorized into four types. Such as: Output Type Peripherals Used to provide output to the user from the computer. Translates digitized signals which are in binary codes into a form intelligible to the user. Examples: Monitor, Printer etc. 5
Categories of Peripherals Based on working principle, peripherals can be broadly categorized into four types. Such as: Storage Type Peripherals Used to store data processed by the computer. Examples: Flash drives, hard drives etc. Input-Output Type Peripherals Used to partake the characteristics of both input type and output type peripherals. Examples: Touch Screen. 6
Task Categorize the below peripherals into their appropriate category based on their working type: Device Name Peripheral Type Keyboard Mouse Printer Barcode reader Projector Computer display 7
Task Categorize the below peripherals into their appropriate category based on their working type: Device Name Peripheral Type Microphone Speaker Special Pen with pressure sensitive pad Smartwatch Smartphone Tablet computer 8
Task Categorize the below peripherals into their appropriate category based on their working type: Device Name Peripheral Type Fitness tracker CD-ROM DVD drive Laser scanner Modem Network Interface Cards 9
Task Categorize the below peripherals into their appropriate category based on their working type: Device Name Peripheral Type Webcam Game Controller Digital Camera Touchscreen Touchpad 10
What is Interface? Every peripheral is connected to an interface in order to communicate with the processor. The point at which a peripheral is connected to is known as port. 11
What is Interface? While referring to software: An interface is a program that allows a user to interact computers in person or over a network. An interface may also refer to controls used in a program that allow the user to interact with the program. One of the best examples of an interface is a GUI (Graphical User Interface). This type of interface is what you are using now to navigate your computer. 12
What is Interface? While referring to hardware: An interface is a physical device, port, or connection that interacts with the computer or other hardware device. For example, IDE and SATA are disk drive interfaces for computer hard drives and ATAPI is an early interface for CD-ROM drives. 13
Need for Interface Key Reasons: Peripherals are electromechanical and electromagnetic devices and CPU and memory are electronic devices. Therefore, a conversion of signal values may be needed. The data transfer rate of peripherals is usually slower than the transfer rate of CPU and consequently, a synchronization mechanism may be needed. Data codes and formats in the peripherals differ from the word format in the CPU and memory. 14
Need for Interface Key Reasons: The operating modes of peripherals are different from each other and must be controlled so as not to disturb the operation of other peripherals connected to the CPU. To Resolve these differences, computer systems include special hardware components between the CPU and Peripherals to supervises and synchronizes all input and out transfers These components are called Interface Units because they interface between the processor bus and the peripheral devices. 15
Lecture Plan Chapter Contents CH-01 System bus design concept, execution of program by CPU, components of interface unit, communication mechanism of CPU to peripherals, Asynchronous data transfer, synchronous data transfer, serial port, parallel port, IO processor. CH-02 2D and 2.5D memory organisation, Concept of microprocessors (8085, 8086, 80286), Pin diagram of 8085 microprocessor, Signal diagram of 8085 microprocessor, concept of memory, requirements of memory chip, memory map and address range finding, concept of 32 bit and 64 bit operating systems. CH-03 Interfacing memory chips with 8085 microprocessor, interfacing I/O devices with 8085 microprocessor, concept of memory mapped I/O and peripheral mapped I/O, Interrupt driven I/O, DMA controller, 8255 programmable peripheral interface. 16
Lecture Plan Chapter Contents CH-04 Keyboard, Mouse, Laser Scanner, OMR, OCR, barcode reader, smartwatch, DTE-DCE interface. CH-05 Humidity sensor, temperature sensor, water sensor, PIR sensor, Ultrasonic sensor, connecting switch. 17
Marks Distribution Attendance Tutorial (15) Final Exam (30) Total T-I T-II T-III Written 5 15 15 15 30 50 18
Suggested Books Microprocessors & Interfacing: Programming & Hardware by D.V. Hall Computer peripherals and interfacing, Jyoti Snehi 19