Concept of Serial Communication

Similar documents
Lecture #3 RS232 & 485 protocols

PRODUCT INFORMATION B&B ELECTRONICS. Port-Powered RS-232 Fiber Optic Modem with Handshake Support. Model 9PFLST. Description. RS-232 Connections

Universal Converter Covers All the Bases- RS-232 to 4-wire RS-422, 2-wire or 4-wire RS-485

Serial Input/Output. Lecturer: Sri Parameswaran Notes by: Annie Guo

A50/A51/A60. June 2008 (4th Edition) All Rights Reserved

DigiPoints Volume 1. Student Workbook. Module 2 Modem Overview

Miniature Synchronous Multipoint Modems

ANALOG AND DIGITAL PHYSICAL INTERFACES

APPLICATION BULLETIN. SERIAL BACKGROUNDER (Serial 101) AB23-1. ICS ICS ELECTRONICS division of Systems West Inc. INTRODUCTION CHAPTER 2 - DATA FORMAT

Universal RS232/CMOS to RS422/RS485 Converter

USER'S MANUAL. Model : K

Electronics / Water analogy. Resistor. Inductance. Capacitor. Water Electronics Energy - Energy Pressure - Voltage Flow - Current Volume - Charge

Serial Communications RS232, RS485, RS422

Intermittent Vibration 0.075

ECE 4510/5530 Microcontroller Applications Week 6 Lab 5

Chapter 12: Digital Modulation and Modems

EECE494: Computer Bus and SoC Interfacing. Serial Communication: RS-232. Dr. Charles Kim Electrical and Computer Engineering Howard University

EIA-232 Information. DTE Signal Direction. DCE Signal Direction. Signal EIA

RS-232 / 20mA Interface Converter ELO E00Q. Operation manual

Non-Powered Interface Converters RS-232 to RS-530 RS-422 to V.35 RS-232 to RS-485 RS-232 to RS-422/RS-449

Cable and Port Specifications

Modem RS232/RS422/RS485. to MM optic fibers. RS-232 to Multimode Optic. Fiber Converter. Characteristics DIN rail mounting.

CL4424. Industrial 2.4GHz ConnexLink. User s Manual Version 1.1

M7 Over-The-Air Protocol. Overview. Technical Brief AN187 Rev A1

RS 485/422 to Fibre Optic Modems ELO E243, ELO E244, ELO E245. Operation manual

ADA-1028L. User manual ADA-1028L. RS232 to Current Loop 2-wire CLO Converter. 1 io_ada-1028l_v.1.10_en. Copyright CEL-MAR sp.j.

CL4790 HARDWARE INTEGRATION GUIDE VERSION 3.0. Americas: Europe: Hong Kong:

Model 4xx. Plug-in Series Of FSK Modems USER GUIDE. (TI) 20 Jan 06 DWG: A GDI COMMUNICATIONS LLC PO Box I-80 Exit 1 Verdi, NV 89439

CL4490 HARDWARE INTEGRATION GUIDE VERSION 1.0. FCC Notice.

MDR24x Wireless 2.4GHz Modem

MULTI-DROPS DIGITAL MODEM FOR PRIVATE LINE

RFID. LF Training. Installation and Set-up. J.A.G 7 March, 2008 Texas Instruments Proprietary Information 1

NETWORK. TE = Terminal Equipment (DTE - Data Terminal Equipment) NT = Network - Terminating Equipment (DCE - Data Circuit - Terminating Equipment)

ADA User manual ADA RS-232 to RS-485 / RS-422 Converter

Dual Protocol Transceivers Ease the Design of Industrial Interfaces

Installation and Operation Manual HS-R. 4-Channel Low Speed Data Module with V.110 Rate Adaptation MEGAPLEX-2100 MODULE

King Fahd University of Petroleum & Minerals Computer Engineering Dept

M9606. FSK Modem. 5C Communications Inc.

1.0 Introduction. Related Products and Documentation

Fanuc Serial (RS232) Communications Information

Modem 9600 baud 500FSD11 EDS500 series - FSK modems

FOM-5A, 6A Asynchronous Fiber Optic Modems

Home Automation, Inc. Omnistat2. RC-1000 and RC-2000 Communicating Thermostat. Serial Protocol Description

+3.3V Multiprotocol 3Tx/3Rx Software-Selectable Control Transceivers

ROM/UDF CPU I/O I/O I/O RAM

INSTALLATIONSANVISNING INSTALLATION MANUAL INSTALLATIONS ANLEITUNG MA-12 AC MA-12 DC. Korthållsmodem Short haul modem Kurzstreckenmodem

+3.3V-Powered, EIA/TIA-562 Dual Transceiver with Receivers Active in Shutdown

SMARTALPHA RF TRANSCEIVER

+3.3V, Multiprotocol, 3 Tx/3 Rx, Software- Selectable Clock/Data Transceiver

Appendix C RS-485 Network

Interface Description Peak MTT

HR1200. Version 1.00 ATIM RADIOCOMMUNICATION 1/11

Introduction. Protocol Definitions. The RS-485 Standard. APPLICATION NOTE 3884 How Far and How Fast Can You Go with RS-485?

CONTROL MICROSYSTEMS SCADAWave Radio Transceiver. Hardware Manual

Integrity Instruments

G3P-R232. User Manual. Release. 2.06

RM24100D. Introduction. Features. 2.4GHz 100mW RS232 / RS485 / RS422 DSSS Radio Modem (IEEE compliant) Operating Manual English 1.

REMOTE TRACKING SOLUTION. User Manual Name. CS-P000-TS-1N-Rev.A This document provides the technical specification SOLUTION.

Week 2 Lecture 1. Introduction to Communication Networks. Review: Analog and digital communications

DSP4xxFP SA USER S MANUAL. A01561 Rev. A. This Manual covers all configurations of the DSP4xxSA Modem with the Serial Number SA and up.

2070-6A Manual A Manual. Dual 1200 baud Modem For The 2070 Controller GDI A MANUAL

Unbounded Transmission Media

Interface converter G kbit/sec

1 What s in the shipping package?

Applications. Operating Modes. Description. Part Number Description Package. Many to one. One to one Broadcast One to many

DATA SHEET. OD Precision. Displacement sensors for precise and comprehensive measurement tasks

The I-2532 CAN to Fiber Converter

User Guide. Measurement Systems International Quality Industrial Weighing and Force Measurement Equipment

USER'S MANUAL. Models : 5000N/5000NV/7000N/7000NV

APPLICATION NOTE ANI6. Connecting the SP504 Multiprotocol Transceiver to the 85C30 Universal Enhanced Serial Communications Controller (ESCC)

There are many important factors when trying to achieve good, reliable communications between 2 devices.

Interface: Serial EIA RS-232D/CCITT V.24, DCE; RTS/CTS delay 0,8 or 64 ms (user-selectable).

RS-422/RS-485 Line Tester Model 485T

Preliminary. RF Data Transmission Rates 38.4, 115.2, 200 and 500 kbps

DMP Electronics Inc Robotic Division

RS-232 Electrical Specifications and a Typical Connection

GREEN HERON ENGINEERING LLC

ZCS485 User s Manual. Version ZYPEX, Inc.

LCC-10 Product manual

RM24100A. Introduction. 1 Features. 2.4GHz 100mW RS232 / RS485 / RS422 DSSS Radio Modem (IEEE compliant) Operating Manual English 1.

Local Asynchronous Communication. By S.Senthilmurugan Asst.Professor/ICE SRM University. Chennai.

CONV232/422 SERIAL DATA CONVERTER

9600 bps, Dual Modem 170 Card Private Wire Only

Preliminary. DN-900 Series. 900 MHz Wireless Serial Modems

RM24100D. Introduction. 1 Features. 2.4GHz 100mW RS232 / RS485 / RS422 DSSS Radio Modem (IEEE compliant) Operating Manual English 1.

RS-232 to Current Loop Converters

RS232 to RS485 or RS422 line converter with isolation. >>> Distribucion: ER-Soft, S.A. Tel: <<<

Quick-Start Guide. M7 Series DATA RADIO MODEM

+5V Multiprotocol, Software-Selectable Cable Terminator

2070-6B Manual B Manual. Dual 9600 baud Modem For The 2070 Controller. GDI B Manual. Rev B

AccessCON-N64 INTERFACE CONVERTER E1/FRACTIONAL E1 TO N64 INSTALLATION AND OPERATION MANUAL. Version 1

Chapter 9: Serial Communication Interface SCI. The HCS12 Microcontroller. Han-Way Huang. September 2009

UNICOM 2500 UNICOM Installation Operation Programming. Universal Communication Converter

MGE TM Galaxy TM , 60 Hz kva

Interfacing To Climatronics Tacmet II Sonic Weather Station

TS4000 Radio Modem. User s Manual

Series 2000 Reader System. Reader S251B RI-STU-251B. Reference Guide. April 2000 SCBU035

Atrie WireSpan 600/610 MODEM User's Manual

ITL Basics of Encoding and Wiring

Modem 1200 baud 500FSD10 EDS500 series - FSK modems

Transcription:

Concept of Serial Communication

Agenda Serial v.s. Parallel Simplex, Half Duplex, Full Duplex Communication RS-485 Advantage over RS-232

Serial v.s. Parallel

Application: How to Measure the temperature in a long distance? Measuring with a DAC card: 1200 m Remote sensor T/C T/C wire Control room A/D noise

Application: How to Measure the temperature in a long distance? Measuring with a remote I/O module: 1200 m Remote sensor Control room T/C Remote I/O Standard T/C signal, 4-20mA, 0-5V Serial Communication Noise rejection (Differential signal)

Most Popular 3 types of Serial Comm. RS-232 Most commonly available Simple wiring Low cost Short length (40 ft) Slow data rates Subject to noise Tx Rx CTS RTS DTR DSR GND Rx Tx RTS CTS DSR DTR GND Bar code reader RS-422 High data rates Longer cable lengths (4000 ft) Full-duplex Noise rejection Tx+ Tx- Rx+ Rx- GND PLC Multipoint application (Up to 32 units) RS-485 Low cost Longer cable lengths (4000 ft) Noise immunity Data+ Data- GND Half-duplex PLC

Serial V.S. Parallel Communication Serial Communication Transfer the data bit by bit Synchronous Data Transfer Bit Send Data Parallel Communication Transfer the all data simultaneously Asynchronous Data Transfer Receive Data Bit Bit Bit Bit Bit Bit Bit Bit Send Data Receive Data

Simplex, Half Duplex, Full Duplex Communication

Simplex Communication Simplex Communication : Data in a simplex channel is always one way. Simplex channels are not often used because it is not possible to send back error or control signals to the transmit end. The examples of simplex are broadcasting, or Radio Simplex Channel Operation One way only

Half-Duplex Communication Half Duplex Communication : A half-duplex channel can send and receive, but not at the same time. It's like a one-lane bridge where two way traffic must give way in order to cross. Only one end transmits at a time, the other end receives. Another examples of half-duplex are talk-back radio, RS-485 Half-Duplex Operation Two way but not at the same time

Full-Duplex Communication Full Duplex Communication Data can travel in both directions simultaneously. There is no need to switch from transmit to receive mode like in half duplex. Its like a two lane bridge on a two-lane highway. Have you ever watched these television talk shows where the host has a number of people on the show, and they all try to talk at once. Well, that s full duplex! All examples of full-duplex are RS-232, RS-422, telephone Full-Duplex Operation Both Way at the same time

RS-485 Advantage over RS-232

RS-232 Communication Full-Duplex Operation No noise rejection (single-ended) Short transmission distance (within 15m) Low transmission speed (within 115.2kbps) Protocol 1. Point-to-point : Handle communication between 2 devices. 2. Unbalanced lines (Single-ended.) : Signal applied to one line and referenced to ground. 3. Most common use as a communication device for a Serial port of the PC and peripherals Single-Ended Driver Tx Single-Ended Receiver signal Rx

RS-232 Pin Assignment Layouts and signals of DB25 and DB9 connector (RS-232) 25 pin 9 pin Signal Direction Description 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 1 - Shield - protection ground 2 3 TD DTE DCE transmitted data 3 2 RD DCE DTE received data 4 7 RTS DTE DCE request to send 5 8 CTS DCE DTE clear to send 6 6 DSR DCE DTE data set ready 7 5 GND - signal ground (common) 8 1 DCD DCE DTE data carrier detect 20 4 DTR DTE DCE data terminal ready 22 9 RI DCE DTE ring indicator 23 - DSRD DCE DTE data signal rate detector DCE : Data Carrier Equipment (Modem) DTE : Data Terminal Equipment (PC s COMport) 9 8 7 6 5 4 3 2 1

RS-232 Hand-Shaking Wiring Transfer Data with no handshaking Signal Pin Pin Signal TX RX GND 3 2 5 3 2 5 TX RX GND Transfer Data with handshaking Signal Pin Pin Signal TX RX RTS CTS DSR CD DTR GND 3 2 7 8 6 1 4 5 3 2 7 8 6 1 4 5 TX RX RTS CTS DSR CD DTR GND

RS-232 Application The Application for RS-232 1. PC s and Laptops 2. Point of Sales Equipment (POS) 3. PDA s and GPS s 4. PC Peripherals (printers, faxes, mouse,..) 5. Barcode Reader

RS-485 Communication Half-Duplex Operation Noise rejection and cross wire (Differential) Long transmission distance (Up to 1200m) High transmission speed (Up to 10Mbps ) Auto-Flow Control Differential Driver Twisted-pair Differential Receiver Signal Voltage Twist Pair: to reduce the electromagnetic interference V CM

RS-485 Communication Save the wiring cost Easy to setup and maintain Communication is more reliable DATA+ (Y) Host RS-485 DATA- (G) Rt Rt + - Power Supply +10 to +30 V DC +Vs(R) GND(B) Local power supply Y RGY GY B R G

RS-485 Multi-drop Network and Termination Terminal Resistor: To decrease the distortion of the signal RT repeater RT RX TX RX TX RX TX RX TX Device 0 Device 31 Device 0 Device 31 32 driver / receiver 32 driver / receiver

RS-485 Application Typical RS-485 Applications 1. Point of Sales Equipment ( ex. Remote price checker,.) 2. Control System Automation (ex. PLC,.) 3. Power/Gas Meters PLC Temperature Controller AC Power Monitor

RS-422 Communication The electrical spec. is similar to RS-485 protocol Key difference 1 driver only can connect up to 10 receivers Full-Duplex

RS-422/485 Pin Assignment Pin RS-422 RS-485 Pin RS-422 RS-485 1 TxD- Data- 2 RxD+ 9 8 7 6 5 4 3 2 1 2 TxD+ Data+ 3 RxD+ 4 RxD- 5 GND GND 6 RTS- 7 RTS+ 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 3 TxD+ Data+ 4 RTS+ 5 CTS- 6 RTS- 7 GND GND 8 TxD- Data- 8 CTS+ 20 RxD- 9 CTS- 22 CTS-

RS-232 V.S. RS-422/485 Protocol RS-232 RS-422 RS-485 Signal Single-Ended Differential Differential Driving No. 1 10 32 Receiving No. 1 10 32 Distance 15m 1200m 1200m Max. Data Transfer Rate 115.2Kbps 10Mbps 10Mbps Transmission Mode Full-Duplex Point to Point Full-Duplex Point to Point Half-Duplex Multi-Drop

Q & A

Thanks~~~