Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

Size: px
Start display at page:

Download "Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS"

Transcription

1 SERIAL I/O COMMON PROTOCOLS

2 RS-232 Fundamentals

3 What is RS-232 RS-232 is a popular communications interface for connecting modems and data acquisition devices (i.e. GPS receivers, electronic balances, data loggers,...) to computers. RS-232 can be plugged straight into the computer s serial port (know as COM or Comm port).

4 RS-232 Signals Architecturally RS-232 is a bi-directional point to point link. Two independent channels are established for two-way (fullduplex) communications. RS-232 can also carry additional signals used for flow control (RTS, CTS) and modem control (DCD, DTR, DSR, RI). (serial port - PC side)

5 RS-232 Line Driver Unbalanced Line Drivers Each signal appears on the interface connector as a voltage with reference to a signal ground. The idle state (MARK) has the signal level negative with respect to common whereas the active state (SPACE) has the signal level positive respest to the same reference.

6 RS-232 Speed How fast can RS-232 be? The maximum speed, according to the standard, is 20kbit/s. However, modern equipment can operate much faster than this. (i.e. Lynx can reach baud.) The length of the cable also plays a part in maximum speed. The longer the cable and the slower the speed at which you can obtain accurate results. A large wire capacitance and inductance limits the maximum length of the cable and/or the maximum speed; Moreover higher is the capacitance of the cable higer is the interference between two adjacent signal wire. 50 feet max baudrate is commonly quoted as the maximum distance. It is not specified in EIA standard but it s recommended respect these values.

7 RS-232 sw settings One byte of async data has: Start Bit = 1 (always); Stop bits = 1 (or 2) Data Bits = 8 (or 7); Parity = NONE (or EVEN or ODD)

8 What is RS-485? RS-485 is a EIA standard interface which is very common in the data acquisition world RS-485 provides balanced transmission line which also can be shared in Multidrop mode. It allows high data rates communications over long distances in real world environments. How fast can RS-485 be? RS-485 was designed for greater distance and higher baudrates than RS-232. According to the standard, 100kbit/s is the maximum speed and distance up to 4000 feet (1200 meters) can be achieved.

9 RS-485 Line Driver Balanced Line Drivers Voltage produced by the driver appears across a pair of signal wires that transmit only one signal. Both wires are driven opposite. RS-485 driver has always the Enable direction control signal. Differential system provides noise immunity, because much of the common mode signal can be rejected by the receiver. So ground shifts and induced noise signals can be nullified.

10 RS-485 Network RS-485 provides Half-Duplex, Multidrop communications over a single twisted pair cable. The standard specifies up to 32 drivers and 32 receivers can share a multidrop network Terminator resistors avoid reflected signal MASTER SLAVE-2 SLAVE-3 SLAVE-1

11 RS-485 Half-duplex TX ENABLE RX Master RTX485+ RTX GND TX ENABLE RX TX ENABLE RX TX ENABLE RX Slave 1 Slave 2 Slave N

12 RS-485 Full-duplex Potentially RS-485 interface can also use 4-wires to communicate in multidrop mode ENABLE TX RX Scanner TX485+ RX485+ TX485- RX GND TX RX Other device ENABLE

13 RS-232 vs RS-485 The architectural difference between RS-232 and RS-485 is that 232 is a bi-directional point to point link, whereas 485 is a single channel bus. Electrically, each 232 signal uses a single wire with symmetric voltages about a common ground wire. 485 uses two wires to carry the single signal differentially. The big difference to the software is that only one device on a 485 bus can transmit at a time, whilst there is not similar limitation on RS232 because is a peer-to-peer link

14 RS-232 vs RS-485

15 I 2 C and SPI

16 I 2 C and SPI Serial communication protocols Meant for short distances inside the box Low complexity Low cost Low speed (a few Mbps at the fastest )

17 What is I 2 C? Shorthand for an Inter-integrated circuit bus Developed by Philips Semiconductor for TV sets in the 1980 s I 2 C devices include EEPROMs, thermal sensors, and real-time clocks Used as a control interface to signal processing devices that have separate data interfaces, e.g. RF tuners, video decoders and encoders, and audio processors. I 2 C bus has three speeds: Slow (under 100 Kbps) Fast (400 Kbps) High-speed (3.4 Mbps) I 2 C v.2.0 Limited to about 10 feet for moderate speeds

18 I 2 C Bus Configuration 2-wire serial bus Serial data (SDA) and Serial clock (SCL) Half-duplex, synchronous, multi-master bus No chip select or arbitration logic required Lines pulled high via resistors, pulled down via opendrain drivers (wired-and)

19 I 2 C Protocol 1. Master sends start condition (S) and controls the clock signal 2. Master sends a unique 7-bit slave device address 3. Master sends read/write bit (R/W) 0 - slave receive, 1 - slave transmit 4. Receiver sends acknowledge bit (ACK) 5. Transmitter (slave or master) transmits 1 byte of data

20 I 2 C Protocol (cont.) 6. Receiver issues an ACK bit for the byte received 7. Repeat 5 and 6 if more bytes need to be transmitted. 8.a) For write transaction (master transmitting), master issues stop condition (P) after last byte of data. 8.b) For read transaction (master receiving), master does not acknowledge final byte, just issues stop condition (P) to tell the slave the transmission is done

21 I 2 C Signals Start high-to-low transition of the SDA line while SCL line is high Stop low-to-high transition of the SDA line while SCL line is high Ack receiver pulls SDA low while transmitter allows it to float high Data transition takes place while SCL is low, valid while SCL is high

22 I 2 C Features Clock stretching when the slave (receiver) needs more time to process a bit, it can pull SCL low. The master waits until the slave has released SCL before sending the next bit. General call broadcast addresses every device on the bus 10-bit extended addressing for new designs. 7-bit addresses all exhausted

23 I 2 C Tradeoffs Advantages: Good for communication with on-board devices that are accessed occasionally. Easy to link multiple devices because of addressing scheme Cost and complexity do not scale up with the number of devices Disadvantages: The complexity of supporting software components can be higher than that of competing schemes ( for example, SPI ).

24 What is SPI? Shorthand for Serial Peripheral Interface Defined by Motorola on the MC68HCxx line of microcontrollers Generally faster than I 2 C, capable of several Mbps Applications: Like I 2 C, used in EEPROM, Flash, and real time clocks Better suited for data streams, i.e. ADC converters Full duplex capability, i.e. communication between a codec and digital signal processor

25 SPI Bus Configuration Synchronous serial data link operating at full duplex Master/slave relationship 2 data signals: MOSI master data output, slave data input MISO master data input, slave data output 2 control signals: SCLK clock /SS slave select (no addressing)

26 SPI vs. I 2 C For point-to-point, SPI is simple and efficient Less overhead than I 2 C due to lack of addressing, plus SPI is full duplex. For multiple slaves, each slave needs separate slave select signal More effort and more hardware than I 2 C

27 SPI Protocol 2 Parameters, Clock Polarity (CPOL) and Clock Phase (CPHA), determine the active edge of the clock CPOL CPHA Active edge 0 0 Rising 0 1 Falling 1 0 Falling 1 1 Rising Master and slave must agree on parameter pair values in order to communicate

28 CAN Protocol

29 ISO-OSI Reference Model 7. Application Layer CAN Layers 2. Data Link Layer 1. Physical Layer 6. Presentation Layer 5. Session Layer 4. Transport Layer 3. Network Layer HLPs: CANopen, DeviceNet, OSEK/VDX CAN Protocol Partially Implemented by High Layer Protocol (HLP)

30 CAN Bus Logic 1 Recessive (r) 0 Dominant (D) Two logic states on the CAN bus Node 1 Node 2 Node 3 Bus D D D D D D r D D r D D D r r D r D D D r D r D r r D D r r r r Wired-AND Function Bus in dominant state Bus in recessive state or idle

31 Typical CAN Node TXD CAN_H µcontroller CAN Controller CAN Transceiver RXD CAN_L CAN Bus is a simple 2-wire differential serial bus CAN Bus is terminated on each side by a 120 Ohm resistor CAN Bus

32 CAN Bit Coding & Bit Stuffing Bit Coding : NRZ (Non-Return-To-Zero code) does not ensure enough edges for synchronization Stuff Bits are inserted after 5 consecutive bits of the same level Stuff Bits have the inverse level of the previous bit. No deterministic encoding, frame length depends on transmitted data Number of consecutive bits with the same polarity

33 CAN Bus Access and Arbitration: CSMA/CD and AMP CSMA/CD: Carrier Sense Multiple Access / Collision Detection AMP: Arbitration by Message Priority

34 CAN Bus Synchronization Hard synchronization at Start Of Frame bit Re-Synchronization on each Recessive to Dominant bit

SPI I2C LIN Ethernet. u Today: Wired embedded networks. u Next lecture: CAN bus u Then: 802.15.4 wireless embedded network

SPI I2C LIN Ethernet. u Today: Wired embedded networks. u Next lecture: CAN bus u Then: 802.15.4 wireless embedded network u Today: Wired embedded networks Ø Characteristics and requirements Ø Some embedded LANs SPI I2C LIN Ethernet u Next lecture: CAN bus u Then: 802.15.4 wireless embedded network Network from a High End

More information

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual. 14.10.2010 HAW - Arduino 1

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual. 14.10.2010 HAW - Arduino 1 The I2C Bus Introduction The I2C-bus is a de facto world standard that is now implemented in over 1000 different ICs manufactured by more than 50 companies. Additionally, the versatile I2C-bus is used

More information

Eliminate Risk of Contention and Data Corruption in RS-485 Communications

Eliminate Risk of Contention and Data Corruption in RS-485 Communications I. Background and Objective Eliminate Risk of Contention and Data Corruption in RS-485 Communications Earle Foster, Jeff Hunter Sealevel Systems The RS-485 communications standard was introduced in 1983

More information

Serial Communications

Serial Communications April 2014 7 Serial Communications Objectives - To be familiar with the USART (RS-232) protocol. - To be able to transfer data from PIC-PC, PC-PIC and PIC-PIC. - To test serial communications with virtual

More information

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor. http://onsemi.

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor. http://onsemi. Design Examples of On Board Dual Supply Voltage Logic Translators Prepared by: Jim Lepkowski ON Semiconductor Introduction Logic translators can be used to connect ICs together that are located on the

More information

User Manual IC-485AI 2002-09-27

User Manual IC-485AI 2002-09-27 User Manual IC-485AI Note: This equipment has been tested and found to comply ith the limits for a Class A digital device pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable

More information

MDM192 MULTI-DROPS DIGITAL MODEM FOR PRIVATE LINE. USER GUIDE Document reference : 9010709-03

MDM192 MULTI-DROPS DIGITAL MODEM FOR PRIVATE LINE. USER GUIDE Document reference : 9010709-03 MDM192 MULTI-DROPS DIGITAL MODEM FOR PRIVATE LINE USER GUIDE Document reference : 9010709-03 If you have questions about the MDM192 or desire assistance, contact ETIC TELECOMMUNICATIONS at the following

More information

Cable Guide. Click on the subject to view the information. Digi Cables Building Cables General Cable Information

Cable Guide. Click on the subject to view the information. Digi Cables Building Cables General Cable Information Cable Guide Click on the subject to view the information. Digi Cables Building Cables General Cable Information Digi Cables Click on the subject to view the information. Digi Connector Options Digi Connector

More information

Pmod peripheral modules are powered by the host via the interface s power and ground pins.

Pmod peripheral modules are powered by the host via the interface s power and ground pins. Digilent Pmod Interface Specification Revision: November 20, 2011 1300 NE Henley Court, Suite 3 Pullman, WA 99163 (509) 334 6306 Voice (509) 334 6300 Fax Introduction The Digilent Pmod interface is used

More information

Local Interconnect Network Training. Local Interconnect Network Training. Overview

Local Interconnect Network Training. Local Interconnect Network Training. Overview Overview Local Interconnect Network Training History and introduction Technical features The ISO/OSI reference model and LIN Frames Message Frames Communication concept of LIN Command Frames and Extended

More information

Why you need to monitor serial communication?

Why you need to monitor serial communication? Why you need to monitor serial communication Background RS232/RS422 provides 2 data lines for each data channel. One is for transmitting data and the other for receiving. Because of these two separate

More information

2-Port RS232/422/485 Combo Serial to USB2.0 Adapter (w/ Metal Case and Screw Lock Mechanism) Installation Guide

2-Port RS232/422/485 Combo Serial to USB2.0 Adapter (w/ Metal Case and Screw Lock Mechanism) Installation Guide 2-Port RS232/422/485 Combo Serial to USB2.0 Adapter (w/ Metal Case and Screw Lock Mechanism) Installation Guide 1. Introduction Thank you for purchasing this 2-Port RS232/422/485 Combo Serial to USB Adapter.

More information

USB TO SERIAL ADAPTER

USB TO SERIAL ADAPTER USB TO SERIAL ADAPTER (Model: U232-P9V2) SPECIFICATIONS CONTENTS 1. GENERAL SPECIFICATIONS... 1 1.1 PRODUCT SURFACE... 1 1.2 PRODUCT DIMENSION... 2 1.3 PRODUCT FEATURES... 3 1.4 PRODUCT SPECIFICATIONS...

More information

Distributed Real-Time Systems (TI-DRTS) Track 2. CAN-BUS Introduction. Version 9.11.2009 Ref. VECTOR application note & Motorola note

Distributed Real-Time Systems (TI-DRTS) Track 2. CAN-BUS Introduction. Version 9.11.2009 Ref. VECTOR application note & Motorola note Distributed Real-Time Systems (TI-DRTS) Track 2 CAN-BUS Introduction Version 9.11.2009 Ref. VECTOR application note & Motorola note What is CAN? Controller Area Network (CAN) is a common, small area network

More information

LIN (Local Interconnect Network):

LIN (Local Interconnect Network): LIN (Local Interconnect Network): History: LIN (Local Interconnect Network) was developed as cost-effective alternate to CAN protocol. In 1998 a group of companies including Volvo, Motorola, Audi, BMW,

More information

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide Parallel Data Transfer Suppose you need to transfer data from one HCS12 to another. How can you

More information

Implementing SPI Communication Between MSP430 G2452 and LTC2382-16 ADC

Implementing SPI Communication Between MSP430 G2452 and LTC2382-16 ADC Implementing SPI Communication Between MSP430 G2452 and LTC2382-16 ADC Enwei Gu Nov. 12, 2011 MCU ADC MSP430- G2452 LTC2382-16 16- bits SPI Keywords 1 Abstract This document describes and shows how to

More information

Process Control and Automation using Modbus Protocol

Process Control and Automation using Modbus Protocol Process Control and Automation using Modbus Protocol Modbus is the fundamental network protocol used in most industrial applications today. It is universal, open and an easy to use protocol. Modbus has

More information

Implementing MOD bus and CAN bus Protocol Conversion Interface

Implementing MOD bus and CAN bus Protocol Conversion Interface Implementing MOD bus and CAN bus Protocol Conversion Interface Umesh Goyal, Gaurav Khurana M.E., Electronics & Electrical Communications Department, PEC University of Technology, India M.E., Electronics

More information

Single channel data transceiver module WIZ2-434

Single channel data transceiver module WIZ2-434 Single channel data transceiver module WIZ2-434 Available models: WIZ2-434-RS: data input by RS232 (±12V) logic, 9-15V supply WIZ2-434-RSB: same as above, but in a plastic shell. The WIZ2-434-x modules

More information

How To Encode Data From A Signal To A Signal (Wired) To A Bitcode (Wired Or Coaxial)

How To Encode Data From A Signal To A Signal (Wired) To A Bitcode (Wired Or Coaxial) Physical Layer Part 2 Data Encoding Techniques Networks: Data Encoding 1 Analog and Digital Transmissions Figure 2-23.The use of both analog and digital transmissions for a computer to computer call. Conversion

More information

Application Note 83 Fundamentals of RS 232 Serial Communications

Application Note 83 Fundamentals of RS 232 Serial Communications Application Note 83 Fundamentals of Serial Communications Due to it s relative simplicity and low hardware overhead (as compared to parallel interfacing), serial communications is used extensively within

More information

Microcomputer Protocol Implementation at Local Interconnect Network Georgi Krastev

Microcomputer Protocol Implementation at Local Interconnect Network Georgi Krastev Microcomputer Protocol Implementation at Local Interconnect Network Georgi Krastev Abstract: The paper discusses the issues of microcomputer protocol implementation at local interconnect network for automobile

More information

RS-232 COMMUNICATIONS

RS-232 COMMUNICATIONS Technical Note D64 0815 RS-232 COMMUNICATIONS RS-232 is an Electronics Industries Association (EIA) standard designed to aid in connecting equipment together for serial communications. The standard specifies

More information

Tutorial. www.ccontrols.com

Tutorial. www.ccontrols.com Tutorial 1 Tutorial CONTROLLER AREA NETWORK CAN was designed by Bosch and is currently described by ISO 11898 1. In terms of the Open Systems Interconnection model (OSI), CAN partially defines the services

More information

Modbus Communications for PanelView Terminals

Modbus Communications for PanelView Terminals User Guide Modbus Communications for PanelView Terminals Introduction This document describes how to connect and configure communications for the Modbus versions of the PanelView terminals. This document

More information

AN141 SMBUS COMMUNICATION FOR SMALL FORM FACTOR DEVICE FAMILIES. 1. Introduction. 2. Overview of the SMBus Specification. 2.1.

AN141 SMBUS COMMUNICATION FOR SMALL FORM FACTOR DEVICE FAMILIES. 1. Introduction. 2. Overview of the SMBus Specification. 2.1. SMBUS COMMUNICATION FOR SMALL FORM FACTOR DEVICE FAMILIES 1. Introduction C8051F3xx and C8051F41x devices are equipped with an SMBus serial I/O peripheral that is compliant with both the System Management

More information

Raspberry Pi. Hans- Petter Halvorsen, M.Sc.

Raspberry Pi. Hans- Petter Halvorsen, M.Sc. Raspberry Pi Hans- Petter Halvorsen, M.Sc. Raspberry Pi 2 https://www.raspberrypi.org https://dev.windows.com/iot Hans- Petter Halvorsen, M.Sc. Raspberry Pi 2 - Overview The Raspberry Pi 2 is a low cost,

More information

Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A

Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A Application Note Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A AN026701-0308 Abstract This application note demonstrates a method of implementing the Serial Peripheral Interface

More information

ALL-USB-RS422/485. User Manual. USB to Serial Converter RS422/485. ALLNET GmbH Computersysteme 2015 - Alle Rechte vorbehalten

ALL-USB-RS422/485. User Manual. USB to Serial Converter RS422/485. ALLNET GmbH Computersysteme 2015 - Alle Rechte vorbehalten ALL-USB-RS422/485 USB to Serial Converter RS422/485 User Manual ALL-USB-RS422/485 USB to RS-422/485 Plugin Adapter This mini ALL-USB-RS422/485 is a surge and static protected USB to RS-422/485 Plugin Adapter.

More information

Understanding SAE J1939. by Simma Software, Inc.

Understanding SAE J1939. by Simma Software, Inc. Understanding SAE J1939 by Simma Software, Inc. Contact E-mail: jrsimma at simmasoftware dot com Phone: 888-256-3828 For J1939 source code, see J1939 Software Starting Notes Ask questions anytime. This

More information

Vehicle data acquisition using CAN By Henning Olsson, OptimumG henning.olsson@optimumg.com

Vehicle data acquisition using CAN By Henning Olsson, OptimumG henning.olsson@optimumg.com Vehicle data acquisition using By Henning Olsson, OptimumG henning.olsson@optimumg.com Introduction: Data acquisition is one of the best tools to increase the understanding of vehicle behavior. One can

More information

Software User Guide UG-461

Software User Guide UG-461 Software User Guide UG-461 One Technology Way P.O. Box 9106 Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 Fax: 781.461.3113 www.analog.com ezlinx icoupler Isolated Interface Development Environment

More information

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

COMPUTER HARDWARE. Input- Output and Communication Memory Systems COMPUTER HARDWARE Input- Output and Communication Memory Systems Computer I/O I/O devices commonly found in Computer systems Keyboards Displays Printers Magnetic Drives Compact disk read only memory (CD-ROM)

More information

Date Rev. Details Author

Date Rev. Details Author Jtech engineering ltd J - Te c h E n g i n e e ring, L t d. 11080 Bond Boulevard Delta BC V4E 1M7 Canada Tel: 604 543 6272 Fax: 604 543 6476 http://www.jtecheng.com AUTODIALER USER S MANUAL REVISION HISTORY

More information

Welcome to the Introduction to Controller Area Network web seminar My name is William Stuart, and I am a Applications Engineer for the Automotive

Welcome to the Introduction to Controller Area Network web seminar My name is William Stuart, and I am a Applications Engineer for the Automotive Welcome to the Introduction to Controller Area Network web seminar My name is William Stuart, and I am a Applications Engineer for the Automotive Products Group within Microchip. This web seminar today

More information

USB to serial chip CH340

USB to serial chip CH340 The DataSheet of CH340 (the first) 1 1. Introduction USB to serial chip CH340 English DataSheet Version: 1D http://wch.cn CH340 is a USB bus convert chip and it can realize USB convert to serial interface,

More information

Manual Serial PCI Cards

Manual Serial PCI Cards Manual Serial PCI Cards W&T Models 13011, 13410 13411, 13610 13611, 13812 Version 1.4 Subject to error and alteration 37 01/2005 by Wiesemann & Theis GmbH Subject to errors and changes: Since we can make

More information

Encore Controller to Router Connections

Encore Controller to Router Connections Encore Presentation System Encore Controller to Router Connections Contents: Scope... 2 EXT COMM Pinouts... 2 Cable Connection Straight Through... 3 Cable Connection Null Modem... 3 Lantronix Ethernet

More information

Data Cables. Schmitt TTL LABORATORY ELECTRONICS II

Data Cables. Schmitt TTL LABORATORY ELECTRONICS II Data Cables Data cables link one instrument to another. Signals can attenuate or disperse on long wires. A direct wire works best for short cables of less than 10 ft. A TTL cable connection can use a Schmitt

More information

RS485 & RS422 Basics

RS485 & RS422 Basics RUA ALVARO CHAVES, 155 PORTO ALEGRE RS BRASIL 90220-040 TEL: +55 (51) 3323 3600 FAX: +55 (51) 3323 3644 info@novus.com.br RS485 & RS422 Basics INTRODUCTION The 422 and 485 standards, as they are known

More information

Tutorial Introduction

Tutorial Introduction Tutorial Introduction PURPOSE: This tutorial describes concepts related to communication busses, including attributes, functions, and the different types of bus systems. The intent is to provide a baseline

More information

Allows the user to protect against inadvertent write operations. Device select and address bytes are Acknowledged Data Bytes are not Acknowledged

Allows the user to protect against inadvertent write operations. Device select and address bytes are Acknowledged Data Bytes are not Acknowledged Write Protect CAT24WCxxx I 2 C Serial EEPROMs. Allows the user to protect against inadvertent write operations. WP = V CC : Write Protected Device select and address bytes are Acknowledged Data Bytes are

More information

Serial Communications (Chapter 10) RS232, SPI, I2C

Serial Communications (Chapter 10) RS232, SPI, I2C Serial Communications (Chapter 10) RS232, SPI, I2C Thesimplest is parallel One way Communications There may be mechanism for peripheral to get attention of μc(i.e., interrupt, or poll) μc Multiple (8 typically)

More information

DS1721 2-Wire Digital Thermometer and Thermostat

DS1721 2-Wire Digital Thermometer and Thermostat www.dalsemi.com FEATURES Temperature measurements require no external components with ±1 C accuracy Measures temperatures from -55 C to +125 C; Fahrenheit equivalent is -67 F to +257 F Temperature resolution

More information

Real-time Operating Systems Lecture 27.1

Real-time Operating Systems Lecture 27.1 Real-time Operating Systems Lecture 27.1 14.7. Universal Serial Bus () General References http://www.usb.org. http://www.beyondlogic.org/usbnutshell/ References http://www.ftdichip.com/documents/programguides/d2xxpg34.pdf

More information

FOSTCDR. Industrial Serial to Multimode Fiber Optic Converter PRODUCT INFORMATION B&B ELECTRONICS. Specifications Serial Technology

FOSTCDR. Industrial Serial to Multimode Fiber Optic Converter PRODUCT INFORMATION B&B ELECTRONICS. Specifications Serial Technology FOSTCDR pn 8684R1 FOSTCDR-0812ds page 1/5 Industrial Serial to Multimode Fiber Optic Converter Data Rates up to 115.2 kbps 2.5 Mile (4 km) Range 10 to 30 VDC Input Voltage Wide Operating Temperature 2000V

More information

1.Eastron SDM220Modbus Smart Meter Modbus Protocol Implementation V1.0

1.Eastron SDM220Modbus Smart Meter Modbus Protocol Implementation V1.0 1.Eastron SDM220Modbus Smart Meter Modbus Protocol Implementation V1.0 1.1 Modbus Protocol Overview This section provides basic information for interfacing the Eastron Smart meter to a Modbus Protocol

More information

RS-232/422/485, Power over Ethernet

RS-232/422/485, Power over Ethernet IP-COM-M IP-COMi-M IP-COM-M PoE IP-COMi-M PoE RS-232 RS-232/422/485 RS-232, Power over Ethernet RS-232/422/485, Power over Ethernet Edition: September 2012 The computer programs provided with the hardware

More information

Current Loop Application Note 1495

Current Loop Application Note 1495 Current Loop Application Note Document No. CLAN1495 International Headquarter B&B Electronics Mfg. Co. Inc. 707 Dayton Road -- P.O. Box 1040 -- Ottawa, IL 61350 USA Phone (815) 433-5100 -- General Fax

More information

MODBUS over Serial Line. Specification & Implementation guide V1.0

MODBUS over Serial Line. Specification & Implementation guide V1.0 MODBUS over Serial Line Specification & Implementation guide V1.0 Modbus.org http://www.modbus.org/ 1/44 Contents 1 Introduction...4 1.1 Scope of this document... 4 1.2 Protocol overview... 5 1.3 Conventions...

More information

T1 Networking Made Easy

T1 Networking Made Easy T1 Networking Made Easy 1 THE T1 CARRIER 3 WHAT DOES A T1 LOOK LIKE? 3 T1 BANDWIDTH 3 T1 PHYSICAL CHARACTERISTICS 4 T1 FRAMING 5 LINE CODE 6 T1 NETWORKING 6 TELCOS 6 PSTN ACCESS WITH A T1 8 SUMMARY OF

More information

SyncLink GT2/GT4 Serial Adapter

SyncLink GT2/GT4 Serial Adapter SyncLink GT2/GT4 Serial Adapter Hardware User s Manual MicroGate Systems, Ltd http://www.microgate.com MicroGate and SyncLink are registered trademarks of MicroGate Systems, Ltd. Copyright 2008 2012 MicroGate

More information

2.1 CAN Bit Structure The Nominal Bit Rate of the network is uniform throughout the network and is given by:

2.1 CAN Bit Structure The Nominal Bit Rate of the network is uniform throughout the network and is given by: Order this document by /D CAN Bit Timing Requirements by Stuart Robb East Kilbride, Scotland. 1 Introduction 2 CAN Bit Timing Overview The Controller Area Network (CAN) is a serial, asynchronous, multi-master

More information

MCB3101 (Class I) WiRobot Serial Bluetooth Wireless Module User Manual

MCB3101 (Class I) WiRobot Serial Bluetooth Wireless Module User Manual MCB3101 (Class I) WiRobot Serial Bluetooth Wireless Module User Manual Version: 1.0.1 Dec. 2005 Table of Contents I. Introduction 2 II. Operations 2 II.1. Theory of Operation 2 II.2. Configuration (PC-PC

More information

Serial Communications

Serial Communications Serial Communications 1 Serial Communication Introduction Serial communication buses Asynchronous and synchronous communication UART block diagram UART clock requirements Programming the UARTs Operation

More information

DS1621 Digital Thermometer and Thermostat

DS1621 Digital Thermometer and Thermostat www.maxim-ic.com FEATURES Temperature measurements require no external components Measures temperatures from -55 C to +125 C in 0.5 C increments. Fahrenheit equivalent is -67 F to 257 F in 0.9 F increments

More information

Fast Ethernet and Gigabit Ethernet. Networks: Fast Ethernet 1

Fast Ethernet and Gigabit Ethernet. Networks: Fast Ethernet 1 Fast Ethernet and Gigabit Ethernet Networks: Fast Ethernet 1 Fast Ethernet (100BASE-T) How to achieve 100 Mbps capacity? MII LLC MAC Convergence Sublayer Media Independent Interface Media Dependent Sublayer

More information

s!nus-elektrotechnikai bt. Industrial IT & Automation

s!nus-elektrotechnikai bt. Industrial IT & Automation USB/PPI+ Optoelectronic isolated USB/PPI adapter Optoelectronic isolated USB/PPI adapter, can replace Siemens 6ES7 901-3DB30-0XA0, the largest communication distance of up to 2 kilometers. Not support

More information

Bluetooth UART/RS232 Module

Bluetooth UART/RS232 Module Introduction BLUEMORE600 is a professional, slim, wireless module ready for integration in brand new or existing electronic products. Based on CSR chipset BC03MM it s fully compatible for Serial Port profiles.

More information

M-Bus Network Installation Notes

M-Bus Network Installation Notes M-Bus Network Installation Notes 1 M-Bus Network Installation Notes This manual explains how to calculate the maximum M-Bus cable length depends on technical parameters of used cable and number of M-Bus

More information

1-Port R422/485 Serial PCIe Card

1-Port R422/485 Serial PCIe Card 1-Port R422/485 Serial PCIe Card Installation Guide 1. Introduction Thank you for purchasing this 1-Port RS422/485 Serial PCI Express (PCIe) Card. It is a universal add in card that connects to a PC or

More information

What is Easy-Radio? Devices Covered. Frequency Hopping Transceiver. Where x00 denotes frequency of operation. E.g. 400 = 433MHz

What is Easy-Radio? Devices Covered. Frequency Hopping Transceiver. Where x00 denotes frequency of operation. E.g. 400 = 433MHz What is Easy-Radio? Easy-Radio modules combine low power radio transmitters, receivers or transceivers with on-board microcontrollers to produce intelligent RF modules that provide simple to use wireless

More information

Cable Guide Including all PortServer TS, Digi Connect, and Digi One Products

Cable Guide Including all PortServer TS, Digi Connect, and Digi One Products Cable Guide Including all PortServer TS, Digi Connect, and Digi One Products 90000253_E Digi International Inc. 2005. Digi, Digi International, the Digi logo, the Making Device Networking Easy logo, Digi

More information

applicomio Profibus-DP

applicomio Profibus-DP BradCommunications Profibus-DP network interface cards allow deterministic I/O data acquisition for PC-based control applications. Features New! Support of Windows 32-bit and 64-bit (WoW64) Support of

More information

DK40 Datasheet & Hardware manual Version 2

DK40 Datasheet & Hardware manual Version 2 DK40 Datasheet & Hardware manual Version 2 IPC@CHIP DK40 Evaluation module Beck IPC GmbH http://www.bcl.de page 1 of 11 Table of contents Table of contents... 2 Basic description... 3 Characteristics...

More information

MODBUS over Serial Line. Specification and Implementation Guide V1.02

MODBUS over Serial Line. Specification and Implementation Guide V1.02 MODBUS over Serial Line Specification and Implementation Guide V1.02 Modbus.org http://www.modbus.org/ 1/44 Contents 1 Introduction...4 1.1 Scope of this document... 4 1.2 Protocol overview... 5 1.3 Conventions...

More information

1.1 Connection. 1.1.1 Direct COM port connection. 1. Half duplex RS232 spy cable without handshaking

1.1 Connection. 1.1.1 Direct COM port connection. 1. Half duplex RS232 spy cable without handshaking POS function Marchen POS-DVR surveillance system is a professional surveillance integrated with POS system. By bringing video and POS transaction data together, the POS-DVR surveillance system provides

More information

USER GUIDE EDBG. Description

USER GUIDE EDBG. Description USER GUIDE EDBG Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging support through Atmel

More information

Cable Guide For all PortServer TS, Digi Connect, and Digi One Products

Cable Guide For all PortServer TS, Digi Connect, and Digi One Products Cable Guide For all PortServer TS, Digi Connect, and Digi One Products 90000253_F Digi International Inc. 2011. Digi, Digi International, the Digi logo, Digi One, Digi Connect, PortServer TS, and RealPort

More information

Objectives. Basics of Serial Communication. Simplex vs Duplex. CMPE328 Microprocessors (Spring 2007-08) Serial Interfacing. By Dr.

Objectives. Basics of Serial Communication. Simplex vs Duplex. CMPE328 Microprocessors (Spring 2007-08) Serial Interfacing. By Dr. CMPE328 Microprocessors (Spring 27-8) Serial Interfacing By Dr. Mehmet Bodur Objectives Upon completion of this chapter, you will be able to: List the advantages of serial communication over parallel communication

More information

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs AN033101-0412 Abstract This describes how to interface the Dallas 1-Wire bus with Zilog s Z8F1680 Series of MCUs as master devices. The Z8F0880,

More information

In-Vehicle Networking

In-Vehicle Networking In-Vehicle Networking SAE Network classification Class A networks Low Speed (

More information

SafeSPI - Serial Peripheral Interface for Automotive Safety

SafeSPI - Serial Peripheral Interface for Automotive Safety Page 1 / 16 SafeSPI - Serial Peripheral Interface for Automotive Safety Technical SafeSPI_specification_v0.15_published.doc 30 July 2015 Page 2 / 16 1 INTRODUCTION 3 1.1 Requirement specification types

More information

Chapter 9A. Network Definition. The Uses of a Network. Network Basics

Chapter 9A. Network Definition. The Uses of a Network. Network Basics Chapter 9A Network Basics 1 Network Definition Set of technologies that connects computers Allows communication and collaboration between users 2 The Uses of a Network Simultaneous access to data Data

More information

Fast Ethernet and Gigabit Ethernet. Computer Networks: Fast and Gigabit Ethernet

Fast Ethernet and Gigabit Ethernet. Computer Networks: Fast and Gigabit Ethernet Fast Ethernet and Gigabit Ethernet 1 Fast Ethernet (100BASE-T) How to achieve 100 Mbps capacity? MII LLC MAC Convergence Sublayer Media Independent Interface Media Dependent Sublayer Data Link Layer Physical

More information

GE Power Controls FIELDBUS APPENDIX PROFIBUS DP. Doc. No.: ASTAT Plus PB_Appendix-v0

GE Power Controls FIELDBUS APPENDIX PROFIBUS DP. Doc. No.: ASTAT Plus PB_Appendix-v0 GE Power Controls = FIELDBUS APPENDIX PROFIBUS DP = Doc. No.: ASTAT Plus PB_Appendix-v0 Fieldbus Appendix: PROFIBUS DP 1 Fieldbus Introduction...... 2 1.1 Introduction to Profibus-DP... 2 1.2 Network Overview...

More information

Introduction: Implementation of the MVI56-MCM module for modbus communications:

Introduction: Implementation of the MVI56-MCM module for modbus communications: Introduction: Implementation of the MVI56-MCM module for modbus communications: Initial configuration of the module should be done using the sample ladder file for the mvi56mcm module. This can be obtained

More information

KOM200. Industrial Serial to Fiber Media Converter. User s Manual

KOM200. Industrial Serial to Fiber Media Converter. User s Manual KOM200 s Manual 200911 KOM200 Industrial Serial to Fiber Media Converter s Manual KYLAND Technology Co., Ltd. 1 KOM200 s Manual 200911 Table of contents CHAPTER 1: PRODUCT OVERVIEW---------------- 3 CHAPTER

More information

Automotive Communication Network Trends

Automotive Communication Network Trends Automotive Communication Network Trends Renesas Electronics America Inc. Renesas Technology & Solution Portfolio 2 Microcontroller and Microprocessor Line-up 2010 2012 32-bit 1200 DMIPS, Superscalar Automotive

More information

DeviceNet Communication Manual

DeviceNet Communication Manual DeviceNet Communication Manual Soft-Starter Series: SSW-07/SSW-08 Language: English Document: 10000046963 / 00 03/2008 Summary ABOUT THIS MANUAL... 5 ABBREVIATIONS AND DEFINITIONS... 5 NUMERICAL REPRESENTATION...

More information

2-Port RS232/422/485 Combo Serial PCI Card

2-Port RS232/422/485 Combo Serial PCI Card 2-Port RS232/422/485 Combo Serial PCI Card Installation Guide 1. Introduction Thank you for purchasing this 2-Port RS232/422/485 Combo Serial PCI Card. It is a universal add in card that connects to a

More information

Embedded Systems Design Course Applying the mbed microcontroller

Embedded Systems Design Course Applying the mbed microcontroller Embedded Systems Design Course Applying the mbed microcontroller Serial communications with SPI These course notes are written by R.Toulson (Anglia Ruskin University) and T.Wilmshurst (University of Derby).

More information

Bluetooth Audio Data Transfer between Bluetooth chipset (PMB6752&PMB6625) and TriCore Host TC1920

Bluetooth Audio Data Transfer between Bluetooth chipset (PMB6752&PMB6625) and TriCore Host TC1920 Application Note, v1.0, 2001-10 Bluetooth Audio Data Transfer between Bluetooth chipset (PMB6752&PMB6625) and TriCore Host TC1920 Abstract The paper describes the interfaces and the handling of Audio Data

More information

RS232C < - > RS485 CONVERTER S MANUAL. Model: LD15U. Phone: 91-79-4002 4896 / 97 / 98 (M) 0-98253-50221 www.interfaceproducts.info

RS232C < - > RS485 CONVERTER S MANUAL. Model: LD15U. Phone: 91-79-4002 4896 / 97 / 98 (M) 0-98253-50221 www.interfaceproducts.info RS232C < - > RS485 CONVERTER S MANUAL Model: LD15U INTRODUCTION Milestone s model LD-15U is a RS232 to RS 485 converter is designed for highspeed data transmission between computer system and or peripherals

More information

RS-422 and RS-485 Application Note

RS-422 and RS-485 Application Note RS-422 and RS-485 Application Note International Headquarters B&B Electronics Mfg. Co. Inc. 707 Dayton Road -- P.O. Box 1040 -- Ottawa, IL 61350 USA Phone (815) 433-5100 -- General Fax (815) 433-5105 Home

More information

Cable Pinouts. SRP I/O Module

Cable Pinouts. SRP I/O Module Cable Pinouts C This appendix lists the cables and connector pinout assignments for the cables used with the ERX-700 series and ERX-1400 series. Topic Page SRP I/O Module C-1 CT1 and CE1 I/O Modules C-4

More information

CS263: Wireless Communications and Sensor Networks

CS263: Wireless Communications and Sensor Networks CS263: Wireless Communications and Sensor Networks Matt Welsh Lecture 4: Medium Access Control October 5, 2004 2004 Matt Welsh Harvard University 1 Today's Lecture Medium Access Control Schemes: FDMA TDMA

More information

RJ45 Shielded (standard) port pinout. CS9000, Jetstream 4000 + 8500, Lanstream 2000, RTA8/RJX, RRC16, MTA8/RJX & SXDC8/RJX

RJ45 Shielded (standard) port pinout. CS9000, Jetstream 4000 + 8500, Lanstream 2000, RTA8/RJX, RRC16, MTA8/RJX & SXDC8/RJX Shielded (standard) port pinout Pin Circuit Function 1 DCD Input Data Carrier Detect 2 DSR Output Data Set Ready 3 DTR Input Data Terminal Ready 4 S/GND Signal Ground 5 TXD Output Transmit Data 6 RXD Input

More information

Quectel Cellular Engine

Quectel Cellular Engine Cellular Engine GSM UART Port Application Notes GSM_UART_AN_V1.01 Document Title GSM UART Port Application Notes Version 1.01 Date 2009-11-16 Status Document Control ID Release GSM_UART_AN_V1.01 General

More information

The Programming Interface

The Programming Interface : In-System Programming Features Program any AVR MCU In-System Reprogram both data Flash and parameter EEPROM memories Eliminate sockets Simple -wire SPI programming interface Introduction In-System programming

More information

Bluetooth to Serial Adapter

Bluetooth to Serial Adapter Bluetooth to Serial Adapter Third Edition, Oct 2007 Version 3.0 771-BTS1009C3-001 Contents 1.0 Features....P.2 2.0 Package Content....P.2 3.0 Hard Drives Requirement.P.2 4.0 Specifications.P.3 5.0 Pin

More information

LOW COST GSM MODEM. Description. Part Number

LOW COST GSM MODEM. Description. Part Number Dual Band 900 / 1800 MHz Fax, SMS and Data Integral SIM Card holder Siemens TC-35i GSM Engine Rugged Extruded Aluminium Enclosure Compact Form Factor 86 x 54 x 25mm RS232 Interface with Auto baud rate

More information

SMS based remote control system

SMS based remote control system EE 318 Electronics Design Project Report, EE Department, IIT Bombay, April 2006 SMS based remote control system Ashish Deswal ( 03007020 ) Shaleen Harlalka ( 03007015 ) Arjun Arikeri ( 03007032 ) Ashish

More information

DS1621 Digital Thermometer and Thermostat

DS1621 Digital Thermometer and Thermostat Digital Thermometer and Thermostat www.dalsemi.com FEATURES Temperature measurements require no external components Measures temperatures from 55 C to +125 C in 0.5 C increments. Fahrenheit equivalent

More information

Data Bulletin. Communications Wiring for POWERLINK G3 Systems Class 1210 ABOUT THIS BULLETIN APPLICATION INTRODUCTION.

Data Bulletin. Communications Wiring for POWERLINK G3 Systems Class 1210 ABOUT THIS BULLETIN APPLICATION INTRODUCTION. Data Bulletin 1210DB0002R3/05 03/2005 LaVergne, TN, USA Communications Wiring for POWERLINK G3 Systems Class 1210 Retain for future use. ABOUT THIS BULLETIN This data bulletin describes the proper wiring

More information

Computer Systems Structure Input/Output

Computer Systems Structure Input/Output Computer Systems Structure Input/Output Peripherals Computer Central Processing Unit Main Memory Computer Systems Interconnection Communication lines Input Output Ward 1 Ward 2 Examples of I/O Devices

More information

Lizy Kurian John Electrical and Computer Engineering Department, The University of Texas as Austin

Lizy Kurian John Electrical and Computer Engineering Department, The University of Texas as Austin BUS ARCHITECTURES Lizy Kurian John Electrical and Computer Engineering Department, The University of Texas as Austin Keywords: Bus standards, PCI bus, ISA bus, Bus protocols, Serial Buses, USB, IEEE 1394

More information

Debugging Serial Buses in Embedded Systems Designs

Debugging Serial Buses in Embedded Systems Designs Debugging Serial Buses in Embedded Systems Designs Introduction Embedded systems are literally everywhere in our society today. A simple definition of an embedded system is a special-purpose computer system

More information

Based on Computer Networking, 4 th Edition by Kurose and Ross

Based on Computer Networking, 4 th Edition by Kurose and Ross Computer Networks Ethernet Hubs and Switches Based on Computer Networking, 4 th Edition by Kurose and Ross Ethernet dominant wired LAN technology: cheap $20 for NIC first widely used LAN technology Simpler,

More information