RS232 Serial and Parallel Interfaces

Slides:



Advertisements
Similar presentations
HARDWARE Rashedul Hasan..
Advertisements

I/O Interfaces.
Chapter 4 Making Connections. 2 Introduction  Examine the interface between a computer and a device. This interface occurs at the physical layer.  Connecting.
Introduction Computer Hardware Jess 2006 EXPANSION CARDS BUS ARCHITECTURE AND CONNECTORS.
11 NETWORK CONNECTION HARDWARE Chapter 3. Chapter 3: NETWORK CONNECTION HARDWARE2 NETWORK INTERFACE ADAPTER  Provides the link between a computer and.
PH4705 ET4305 Interface Standards A number of standard digital data interfaces are used in measurement systems to connect instruments and computers for.
Computer Parts Assignment
Discovering Computers 2010
Data Communications and Computer Networks: A Business User’s Approach
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 Serial Ports.
EET Advanced Digital Parallel Ports. n In contrast to serial ports, parallel ports ‘present’ all bits at one time. n ‘The parallel port reflects.
USB – An Overview Group 3 Kaushik Nandha Bikram What is the Universal Serial bus (USB)? Is a cable bus that supports data exchange between a host computer.
Chapter 10 Supporting I/O Devices. You Will Learn…  How to install peripheral I/O devices  How to use ports and expansion slots for add- on devices.
IT Systems In and Out EN230-1 Justin Champion C208 –
© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Chapter 15 PC Standard Bus Interfaces WK.
EE 316 Computer Engineering Junior Lab Lecture on PC Parallel port.
1 Arduino Board: Arduino UNO Arduino Programing Environment: Arduino 0022
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.
15-pin monitor male cable connects to pin female monitor port.
Computer Architecture Ports.  There are lots of external devices that you can connect to your computer. All external devices connect to the computer’s.
Chapter 4 Section 3.
12 - Winter 2006 ECE ECE 766 Computer Interfacing and Protocols 1 Interfaces Transmission of data from the source to a device or from a device to the destination.
Local Asynchronous Communications. Bit-wise data transmission Data transmission requires: Encoding bits as energy Transmitting energy through medium Decoding.
G043 – Lecture 02 Inside A Desktop PC Mr C Johnston ICT Teacher
3/17 Parallel and Serial Ports. Roll Call Lecture: –ports –serial ports –parallel ports –USB ports Group Project Information - Handout.
University of Tehran 1 Interface Design Keyboard and Printer Omid Fatemi.
The SCSI Interface Objectives In this chapter, you will: -Understand the different SCSI standards and confusing naming schemes -Identify cables and connectors.
Introduction to computer repair Chapter 1. Objectives After completing this chapter you will be able to ▫Identify common technician qualities ▫Understand.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 41 – Input/Output Ports.
PC Maintenance: Preparing for A+ Certification Chapter 7: Cables.
Technology Training that Works Hands of Data Communications, Networking & TCP/IP Troubleshooting.
PHY 201 (Blum) Buses Warning: some of the terminology is used inconsistently within the field.
Chapter 8 All About SCSI.
Identification And Function
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.
COMP 1017: Digital Technologies Session 7: Motherboards.
Chapter 8 Input/Output. Busses l Group of electrical conductors suitable for carrying computer signals from one location to another l Each conductor in.
Computer Insides and Out Computer Basics 1.1. Basic Personal Computer System  A computer system consists of hardware and software components.  Hardware.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 22 All About SCSI.
9/28: Buses & Communication Buses: highways of the motherboard –system buses –local buses: PCI, ISA, EISA –expansion slots plug & play laptops: PCMCIA.
1 Chapter Overview Understanding Expansion Buses Configuring Expansion Cards Cables and Connectors.
Strata IT Training Chapter 8 Upgrading Hardware. When to Upgrade Poor performance Out of disk space Application(s) fail to load –Need more RAM System.
CPU (CENTRAL PROCESSING UNIT): processor chip (computer’s brain) found on the motherboard.
Buses Warning: some of the terminology is used inconsistently within the field.
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
PRESENTATION ON MOTHERBOARD. MOTHERBOARD The motherboard is the main circuit board inside your PC. A motherboard is the central printed circuit board.
EE 316 Computer Engineering Junior Lab Project 1: Traffic Light Controller.
The Components of a System Unit
Itr3 lecture 3: the motherboard Thomas Krichel
I T Essentials I Chapter 1 JEOPARDY HardwareConnector/CablesMemoryAcronymsPotpourri
CPU Speaker Monitor Printer Touch pad Scanner Key Board Mouse Microphone.
Copyright 2003 The McGraw-Hill Companies, Inc CHAPTER The System Unit computing ESSENTIALS    
Nama: Chuli jimmi Manurung
Suleiman Mohammed(mcpn, mncs)
Managing Devices Lesson 5. Objectives Objective Domain Matrix Technology SkillObjective Domain DescriptionObjective Domain Number Connecting Plug-and-Play.
PC Internal Components Lesson 4.  Intel is perhaps the most recognizable microprocessor manufacturer. List some others.
1 Chapter Overview Modems The Internet and Web Browsers.
Parts of a Computer. Keyboard: The input device that you use to type letters, numbers, and symbols into a computer.
Ports and Connectors By Karina Hackett Overview: Ports are also known as sockets, and are located at the back of a system unit. Connectors are the parts.
COMPUTER COMPONENTS Ms Jennifer Computer Components.
WHY PARALLEL PORT? The simplest computer controlled robot Requires only basic programming skills in C to start off with Can take inputs from your robot.
Hardware Components Controller cards Bus Lines Ports Power Supply Secondary Storage.
Input / Output.
Parts of a Computer I plan to use this presentation for an introduction at the start of the year. Maybe even create a “word wall” with the cards.
C_ITCO011/C_ITCO111 LECTURER: E.DONDO
Chapter III, Desktop Imaging Systems and Issues: Lesson III Moving Image Data
Chapter Overview Understanding Expansion Buses
Presentation transcript:

RS232 Serial and Parallel Interfaces

What Is a Interface? The point of interaction or communication between a computer and any other entity, such as a printer or human operator.

Types of Interfaces RS232 nine pin serial port Parallel port USB port SCSI port Animated, when the slide is done, it leaves the top three highlighted IEEE 1394 PCI cards, etc.

RS232 9pin Serial Port Has existed for approximately 20 years RS232 stands for Recommended Standard 232 C Used mostly for devices that transmit or receive small amounts of data RS232 stands for Recommended Standard 232 C and is an electrical data communications standard published by the Electronic Industries Association (EIA).(D. Lawyer, Serial HOWTO, 2001) Devices like: PDA cradles, barcode scanners, some printers, industrial applications, external modems. Basically things that process data slower then 115 kbps.

What Does Serial Mean? The name 'serial' comes from the way that a serial port 'serializes' data. That is, it takes a byte of data and transmits the 8 bits in the byte one bit at a time.

How Does It Work? 01101110 1 1 1 1 1 1 1 1 1 Animated slide, explain how it applies to all eight bits, explain that the device or computer translate a voltage level into “0” and “1”. That the device and computer process information in parallel.

Facts About the RS232 Port Data throughput rate of 115Kbps Most computers have one or two RS232 ports built in to the motherboard More ports can be added by adding an adapter card to the computer; These cards again add one or two extra ports All RS232 devices need to have a device driver installed on the computer to operate correctly 1> rate given for SPP, ESP and SESP are around 460kb/s 2> port multipliers can be added, but are costly and complex, only special applications like industrial sensing or data aquasition. 3> Usually comes with the device.

RS232 Summary In general the RS232 interface is a fairly slow and complex way to connect devices to a computer. The lack of protocol and configuration standards for the interface means that users must manually configure the port for each new device added.

The Parallel Port Developed by IBM to connect PC to a printer Probably most common form of port used IBM decided not to use the 36-conductor connector that Centronics used on their printers, instead IBM used a 25-conductor connector on the PC. The parallel connector is located on the back of most computers and is a 25-pin D shell female connector (the outside shape of the connector is shape like a capital D and has 25 holes on the inside of the connector). . In 1994 the Institute of Electrical and Electronics Engineers (IEEE) developed IEEE-1284 , a standard for parallel ports that included both the EPP and ECP specifications. The IEEE-1284 standard is the standard that governs today's parallel ports. (J. Tyson, How Parallel Ports Work, n.d.)

Types Parallel Ports Uni- Directional Bi-Directional

What Does Parallel Mean? Of or relating to the simultaneous transmission of all the bits of a byte over separate wires: a parallel part; a parallel printer.

How Does It Work? 01101110 01101110 01101110 01101110 01101110 01101110 01101110 Animated, click to watch a byte of data move from the computer to the printer. 01101110

Facts About a Parallel Port The specification allows up to 2Mbps The specification allows up to a 10 meter cable Most PC’s come with one or two parallel ports, as with a serial port, more can be added if required (1 or 2 only) All devices require a device driver which is usually provided by device manufacturer The IEEE-1284 standard specifies data throughput rate of up to 2Mbps and cable lengths of up to 10 meters. Practical data throughput rate and cable lengths would depend on the configuration of devices connected to the computer. If you are connecting a printer you will not need to set the low level communication parameters (interrupt level, direct memory addresses, and I/O range) you can use the Windows default. Windows also has drivers for many printers built in, making connecting a printer a simple task.   Connecting other devices to the parallel port can be more complicated. Depending on the type of device and the number of devices you are connecting to a single parallel port you may have to set the low level communications parameters. For common devices like Zip drives and optical scanners the drivers supplied by the equipment vendor will handle the settings without user intervention.

Parallel Port Pins 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 DB-25 Male Connector

Parallel Port Pin Configuration 1 14 16 17 4 Control Pins 2 3 4 5 6 7 8 9 8 Data Pins 10 11 12 13 15 5 Status Pins 18 19 20 21 22 23 24 25 8 Ground Pins DB-25 Male Connector

Pin Assignment & Descriptions Strobe PC Output Data 0 PC Output Data 1 PC Output Data 2 PC Output Data 3 PC Output Data 4 PC Output Data 5 PC Output Data 6 PC Output Data 7 PC Output ACK (Acknowledgment) PC Input Busy PC Input Paper Empty PC Input Select PC Input Auto Feed PC Output Error PC Input Initialize Printer PC Output Select Input PC Output

Simple LEDs Driving Circuit 10 11 12 13 15 2 3 4 5 6 7 8 9 1 14 16 17 18 19 20 21 22 23 24 25 Anode  100 Ohm Resistance or Deponds on LEDs 3 Volts LEDs  Cathode  Grounding Pins

LEDs Driving Circuit - Example 1 Anode  100 Ohm Resistance or Deponds on LEDs 3 Volts LEDs  Cathode  Grounding Pins

Simple Example Program #include <dos.h> // Include header file #define DATA 0x378 // Base address of Data Pins #define STATUS DATA+1 // Status address of Status Pins #define CONTROL DATA+2 // Control address of Control Pins void main(void) { outportb(DATA, 0x00); // Turn all the LEDs off delay(1000); outportb(DATA, 0x01); // Turn the 1st LED on }