Serial Communications Standards (Partly Excerpted from Simpl Primer) Cabling Configuration Protocol.

Slides:



Advertisements
Similar presentations
Serial Interface Dr. Esam Al_Qaralleh CE Department
Advertisements

DATA COMMUNICATIONS Some organisations concerned with standards: EIA - Electroonic Industries Association (RS standards including RS-232) IEEE - Institute.
1 Fall 2005 Local Serial Asynchronous Communication Qutaibah Malluhi Computer Science and Engineering Qatar University.
Local Asynchronous Communication and RS-232. Goals Explain how electric current can be used to transmit bits over short distances Present a popular mechanism.
Connections. SERIAL DATA Serial Terminals Serial connections Telecommunication History 101  RS-232 DTE – Data Terminal Equipment  Teletype  Computer.
PH4705 ET4305 Interface Standards A number of standard digital data interfaces are used in measurement systems to connect instruments and computers for.
RS-232 Communications. Why Serial Communications? Serial communication is the most simplistic form of communication between two devices. It’s pretty intuitive.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
CSCI 4550/8556 Computer Networks Comer, Chapter 5: Local Asynchronous Communication (RS-232)
EET Advanced Digital Chapter 21 Serial Ports.
Data Communications Chapter 6 The Data Communications Interface.
1 The 9-Pin Connector Pin abbreviations (numbers in parentheses are the 25D pin numbers): 1. CD (8) 2. RD (Rx) (3) 3. TD (Tx) (2) 4. DTR (20) 5. SG (Ground)
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.
Local Asynchronous Communication
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.
University of Tehran 1 Interface Design Serial Communications Omid Fatemi.
Technology Training that Works Hands of Data Communications, Networking & TCP/IP Troubleshooting.
CIS 103 — Applied Computer Technology Last Edited: September 17, 2010 by C.Herbert Personal Computer Data Communications.
USART Communication using the RS standard ETEC6416.
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.
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
ELECTRONIC COMMUNICATIONS A SYSTEMS APPROACH CHAPTER Copyright © 2014 by Pearson Education, Inc. All Rights Reserved Electronic Communications: A Systems.
The 8051 Microcontroller and Embedded Systems
Serial Port I/O Serial port sends and receives data one bit at a time. Serial communication devices are divided into: Data Communications Equipment (DCE),
1 Ch 5 Local Asynchronous Communication (RS-232).
AS Computing F451 F451 Data Transmission. What data is transmitted? Phone SMS Radio TV Internet.
Data Communications Introduction and Review. Transmission Media Copper Wires Copper Wires Low resistance. Electrical signal produces miniature radio station.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.0 Module 1 WANs and Routers.
Microprocessors 2 lesson Subjects lesson 7 Planning Interrupts Serial communication /USART Questions.
Serial Communications
Advanced Embedded Systems Design Lecture 8 Serial I/O BAE Fall 2004 Instructor: Marvin Stone Biosystems and Agricultural Engineering Oklahoma.
Chapter 5: Local Asynchronous Communication 1. Bit-wise data transmission 2. Asynchronous communication 3. Sending bits with electric current 4. Standard.
1 6 Further System Fundamentals (HL) 6.5 Computer – Peripheral Communication.
Day 7 Connections. Standards Unless we had connection standards nothing would be interchangeable. –There would be different printers for Macs and Windows.
Input/Output 2 What is I/O? How we get the CPU to communicate with devices From the computer’s point of view, it’s just 1’s and 0’s Gets interpreted.
Serial Interfaces Oct 3, Announcement We will discuss the test at the end of tonight’s lecture. No homework Chap. 9 is not required to be read.
Universal Asynchronous Receiver/Transmitter (UART)
AS Computing Data Transmission and Networks. Transmission error Detecting errors in data transmission is very important for data integrity. There are.
The Principle of Electronic Data Serial and Parallel Data Communication Transmission Rate Bandwidth Bit Rate Parity bits.
1 Transmission of Digital Data : Interface and Modems.
Lecture 2 Physical Layer Standards. DTE-DCE INTERFACE Two terms are important in computer networking: – Data terminal equipment(DTE) – Data circuit-terminating.
Digital Interfaces An interface links two devices Interface Standards define: – mechanical specifications - how many wires & connector type –electrical.
Modems How They Work. Modem A device used by a PC to communicate over a phone line or cable A device used by a PC to communicate over a phone line or.
Ch. 6 Digital Data Communication Techniques
การส่งข้อมูลผ่าน PSTN
CSC 335 Data Communications and Networking Lecture 4b: Communication and Multiplexing Dr. Cheer-Sun Yang.
1 Chapter Overview Modems The Internet and Web Browsers.
©F.M. Rietti Communication Lines Fundamentals. ©F.M. Rietti LM-18 Computer Science SSI Embedded Systems I 2 Communication Lines Generally used to connect.
1 Pertemuan 2 Routers. Discussion Topics Introduction to WANs Router physical characteristics Router external connections Management port connections.
Lecture 3 EIA 449.
BASICS OF SERIAL COMMUNICATIONS BIRLA VISHWKARMA MAHAVIDYALAYA ELECTRONICS & TELECOMMUNICATION DEPARTMENT PRESENTING BY: ABHISHEK SINGH AMANDEEP.
NARNARAYAN SHASTRI INSTITUTE OF TECHNOLOGY Prepared by: Wasu Ichcha kaur H Bhalani Nidhi M Dhakate Megha D MICROCONTROLLER.
Serial mode of data transfer
RS-232 Communications.
6장 Transmission of Digital Data: Interfaces and MODEMs
SERIAL PORT PROGRAMMING
Serial Communications
RS-232 Communications.
C_ITCO011/C_ITCO111 LECTURER: E.DONDO
DATA COMMUNICATION Lecture-21.
Serial Communication: RS-232 (IEEE Standard)
Local Asynchronous Communication (RS-232)
SYSTEM BUS.
Serial Communication Interface
CHAPTER SERIAL PORT PROGRAMMING. Basics of Serial Communication Computers transfer data in two ways: ◦ Parallel  Often 8 or more lines (wire.
Chapter 6 Transmission of Digital Data Interfaces and Modems
ANALOG AND DIGITAL PHYSICAL INTERFACES
Chapter 6: INTERFACES Visit for more Learning Resources.
Presentation transcript:

Serial Communications Standards (Partly Excerpted from Simpl Primer) Cabling Configuration Protocol

Standards RS-232, RS-422, and RS-485 The terms RS-232, RS-422, and RS-485 all refer to physical standards for serial communication developed by the Electronic Industries Association (EIA). The standards specify the electrical interface between equipment. Any device that conforms to one of the standards above should be able to communicate with any other device conforming to the same standard.

RS-232 By far the most popular of the serial protocols “Single Ended” meaning the signals are referenced to ground and therefore limited in cable length Approx. 50’ maximum cable length Many A.V., lighting and other devices implement RS-232

RS-422 and RS-485 These are less often used Most often found in instrumentation systems in industrial environments “Double Ended” signal electronics means much greater distances Up to 5000’ cable length Cresnet is RS-485

RS-232 Standard Cabling DB-25 is full industry standard DB-9 has become more popular over last several years due to compact size. It is a limited but normally adequate implementation DTE is Data Terminal Equipment (Computer) DCE is Data Communications Equipment (Modem) DTE talks to DCE

Crossover DTE should connect to DCE with straight through cable DTE can connect to DTE and DCE can connect to DCE using a crossover cable

Handshaking Handshaking is the process of ensuring that data not be transmitted when the receiver is not ready and to ensure error free transmission. Handshaking can be either hardware or software Handshaking may not be required if the amount of data is small.

Minimal Implementations Although the RS-232 standard uses up to 25 wires, as few as 2 may be used for 1 way communications, or as few as 3 for 2 way communications. The other pins are either looped back on themselves, or not implemented internally. The minimum signals are: Ground, TX and RX Both communicating devices must be satisfied with the cabling

Other Serial Standards USB, Firewire, SCSI and ethernet are all more sophisticated serial standards. To date, they are mostly limited to computer peripherals Expect to see USB may be a control standard in the future Ethernet is beginning to be used for control

For Crestron Systems The COM ports can be configured for RS232, RS422 or RS485 with minimal or greater level implementation. The I.R. ports can be used as 1 way minimally implemented RS232 with Ground and TX only. Crestron cable database shows many cabling requirements for controlled devices

Configuration Once the hardware is correctly connected, the data configuration must be determined and adhered to by both devices Data rate (Baud) Number of data bits (7 or 8) Number of stop bits Parity or no parity Handshaking

Configuration The controlled device will have a default configuration and may be changeable Normally, best practice is to leave the controlled device in default and program the controller (Crestron) to that standard.

Protocols Each device to be controlled will have a protocol, which are the “rules” Often, this is simply a table with the controllable commands and the data to be sent for that command. –Example: POWER ON = 05(H) Power Off = 06(H) The (H) in the example refers to HEX

Data formats The device protocol may be listed in Hex, Decimal, Binary or ASCII. The programmer needs to ensure that the program sends appropriate data format.