UART/RS232/RS485/USB/Ethernet Over Powerline Communication Transceiver Module. User Manual

Similar documents
Embedded Serial Web Server. User Manual

USR-TCP Hard version: V2.0 File version: V

GEM80 & ewon Setup Quick Guide

WIR-1386 / WIR-1186M Long Range 865MHz 867MHz RF Wireless Module with WIR-METERING Mesh Stack

User Manual A08. User Manual

Sierra Radio Systems. Mesh Data Network. Reference Manual. Version 1.0

Wiring Section 3-3. NQ-Series communication ports support various types of (serial) communication.

SNR610. Embedded network node module SNR610. Description. Feature. Application. SNR610 is highly integrated network module.

Xbee module configuration from a µcontroller

TCP/IP TO SERIAL (SINGLE PORT) MODEL No: SerEth-1P VER 2.0

Model:UT-8814 USB/RS-232 Commercial interface converter. Instruction Manual

Manual and Protocol Description

Dual Serial Shield User Manual

TRAINING GUIDE LEVEL 3 MODBUS WRITE IMPORT COMMAND

Wireless-Tag WT51822-S4AT

SF200. Installation Guide & Quick Start Guide. 2 TFT AC Terminal Version: 1.0 Date: June 2014

User s Manual Closer to Real, Zigbee Module ZIG-100. Wireless Communication. ROBOTIS CO.,LTD

LinkSprite JPEG Color Camera Serial UART Interface. User Manual

KTA-250 Anemometer Alarm Card

[WIR-1286]868MHz LORA Wireless Module. Page 1. LORA 868MHz Wireless serial link [WIR-1286]

Wireless Modem Evaluation Board User s Guide

USER MANUAL HPS-120. About this product: Your Communications Solutions Provider

HACCOM UM96 DataSheet / UserManual Dimitri Karatsinides


EtherSeries. EtherSeries CR-2. CR-2-Opto. User s Guide. Revised October 7, 2013 Firmware Version 1.X

Product manuals. Shanghai Shuncom Communication Technology Ltd. SZ05-ZBEE embedded wireless communication module.

USR-TCP Hard version: V1.1 File version: V

EtherSeries Modbus Gateway EMB-2 User s Guide

Quick Start Hardware Testing Environment Connection Default Parameter Data Transmission Testing

USR-GPRS-MODEM user manual

TRP-C08X. USB To 4 RS232/422/485 Converter. User s Manual

8520/8520R. User Manual

CAN bus communication module

MODBUS TCP/IP TO MODBUS SERIAL GATEWAY. MODEL No: MGate-1024-DC VER 2.0

i-7550 PROFIBUS to RS-232/422/485 Converter User's Manual High Quality, Industrial Data Acquisition, and Control Products

Any device, including routers and hosts, is running an implementation of IP address Host

USER S MANUAL. PH232Ex1. #1 RS-232 Serial Port to Ethernet, Terminal Server/Client. Doc No: PH232Ex1-UM-001 IPEX. (IP Electronix)

LinkSprite JPEG Color Camera Serial UART Interface. User Manual

ETH to 232 (A) User Manual

IO Expansion Shield User Manual

WiFi to RS-232 adapter user manual

Embedded Modbus TCP Module GS11-MT. User Manual REV 1.1. SST Automation.

MB40 & MB45 MODBUS TCP/IP Gateway Handbook

2001 by NEC America. All Rights Reserved. Printed in U.S.A.

IT900 STK4 (Starter Kit)

ICC. Metasys N2 Master Driver Manual INDUSTRIAL CONTROL COMMUNICATIONS, INC Industrial Control Communications, Inc.

DRF1605H Zigbee Module 1.6km Transfer CC2530 Wireless Module UART to Zigbee

TABLE OF CONTENTS 2/10

ECM-1240 User Manual

SERIAL TO ETHERNET CONVERTER E-P User Manual

zigb232 & zigb485 User Guide User Guide TANGENT TECHNOLABS

Document Name: User Manual for SC10EK4 Serial to Ethernet Converter with 4 TCP Sockets. Index

WiFi Shield. User Guide

EQ-DCM User Manual Revision 1.02 Sep 10, 2013

MGate TM EIP3000 DF1 to EtherNet/IP Gateway User s Manual

RM024 DVK USER GUIDE VERSION 1.2

Z232. Technical Manual. Low cost wireless interface for TERN controllers th Street, Davis, CA 95616, USA Tel: Fax:

GEM-10 GPRS/Modbus Gateway User Manual. Rev /2012

Communication adapter RS485/422 over the Ethernet ELO E222. User manual

ZIC2410 User Guide Device-Programmer Software Manual

Figure 3-1: XBee Loopback Testing

Communication Technology by: Semitech Semiconductor. SM2400 Serial-2-PLC Adapter User s Guide

Serial. to Ethernet module

SCB-C08 USB to RS232/422/485 Converter

DFS/Cutter. Debugging Communication Problems

Getting Started with your D3000M Series Module

USB485. USB to RS485 Converter Card. User Manual for connecting with Windows Vista Version 1.01

TTL TO ETHERNET Module. MODEL No: TTL-Sereth1P VER 1.0

BQ351 MODBUS IO DEVICE USER MANUAL

Multifunctional Serial to Ethernet converter

Automatic transfer switch

Catalog 1. Overview Feature Application Block Diagram

8S RS232/422/485 Combo to USB2.0 Module Box Installation Guide

USR-K1 Super Port. File version: V1.0.4

Flex Series User Guide

USB/PPI+ Programming Cable Driver Procedure. Setting Guideline

TEL: (203) FAX: (203) WEB:

Intech Micro 2300-RTD6 analogue input station MODBUS RTU slave application supplementary manual.

IPM-01 / IPM-01H MODBUS TCP/RTU Bridge User Guide

Quick Start. Appearance and pin assignments

EX & EX-45362IS 2S RS232/422/485 3-in-1 Serial PCIe Card

Innovati s Bluetooth 100M Universal Wireless Bluetooth Module

GW-USB-05. User's Guide. FW v1.07. IQRF USB Gateway MICRORISC s.r.o. User_Guide_GW-USB-05_ Page 1

Serial Bluetooth Smart Adapter - RS232, Low Energy 4.2 BLE Datasheet and Quick Reference for USBLE232DEXA

ES- JBM-141SPP Module. Application Note

gridcomm GC1310 Master Light Controller Hardware Installation Guide

XBee ZigBee SMT RF Module Development Kit Getting Started Guide

EQ7000. User Manual. Rev 1.00

Industrial Serial Device Server

Wireless Communication Using Zigbee Module and Aurdino

PAC BI-DP BIM and 8701-CA-BI Carrier

Overview. Table of contents

Z-2400-RB/TCP TURBO Wireless Data Links Using ZIGBEE For MicroScan Protocols.

# Byrne Rd, Burnaby, BC, V5J 3J1, Canada Phone: or

Message Display Operator Panel. UCT-33/36 Industrial Terminal. Manual 32.00

3.1 I-7560 Pin Assignment and Specifications: Introduction

Chapter 3 Configuring Serial Device Server

Updating Reader Firmware

+ (5~27 VDC) GND. Bluetooth V4.1 BLE RS-232 Serial Adapter. Model: BLE-232B. 1. Package content: BLE RS-232 adapter

Mitsubishi FX Net Driver PTC Inc. All Rights Reserved.

Transcription:

UART/RS232/RS485/USB/Ethernet Over Powerline Communication Transceiver Module User Manual July, 2011 LinkSprite Technologies, Inc www.linksprite.com

Doc Title IA4TV UART/RS232/RS485/USB/Ethernet Number SPYDER_DATA1 Over Powerline Communication Transceiver Module User Manual Version 1.0 Version Date Description Author 1.0 07/11/2011 The front page Nancy LinkSpriteTechnologies, Inc. 2 www.linksprite.com

Table of Content Ⅰ Summary...4 1 Introduction...4 2 Features...5 3 Specifications...6 4 Applications...7 Ⅱ Diagram...8 1 Functional Diagram...8 2 Board Layout...8 3 LED...9 4 Interface Card Socket Definition and Layout...9 Ⅲ Command Interface...12 1 Command Mode...12 1.1 Enter command mode...12 1.2 Exit command mode...12 2 Arguments and Responses...12 2.1 Arguments and Responses...12 2.2 Commands without Arguments...13 2.3 Modified arguments...13 3 Command List...13 Ⅳ Repeater Function...17 1 Introduction...17 2 Function Setting...18 2.1 Turn on repeater function...18 2.2 Turn off repeater function...18 2.3 Setting Illustration...19 3 Repeater Hops...19 Ⅴ Logic Address...20 1 Logic Address...20 2 Address Setting...21 Ⅵ Application Illustration...22 1 Introduction...22 2 Start of Narrow Band Powerline Communication Transceiver Module...23 LinkSpriteTechnologies, Inc. 3 www.linksprite.com

Ⅰ Summary 1 Introduction This document documents LinkSprite second-generation powerline communication modem. Based on the feedbacks of the first-generation, LinkSprite second-generation powerline communication modem products are consisted of a Spyder motherboard, UART-RS232 daughter board, UART-RS485 daughter board, UART-USB daughter board, and UART-Ethernet daughter board. On the Spyder motherboard, there is a 20-pin receptacle, users can choose different daughter boards based on the interface needs. This 20-pin receptacle is pin-compatible with Xbee module from Digi (www.digi.com). So a Xbee module can also be used on Spyder, and Spyder will become a powerline communication to Zigbee bridge. The new generation Spyder motherboard also support DIP by optional pins that can be used to directly plug to user s board without doing screwing. The interface board signals such as RS232/RS485/USB signals are also routed back to motherboard through the 20-pin receptacle, and again to users board through these DIP pins. Powerline communication transceiver modules from LinkSprite are transceiver modules designed to send/receiver serial data over the powerline network. Spyder is designed to transparently move serial data over the powerline network, and achieves the target of replacing cables by the ubiquitous powerline network. LinkSprite modules have the built-in packet-level repeater function. This LinkSpriteTechnologies, Inc. 4 www.linksprite.com

feature can greatly extend the coverage of the powerline communication. LinkSprite module has both physical and logic addresses. In a network, both physical and logic addresses can be used to address different nodes in the network. 2 Features A Spyder with a UART-RS232 daughter card AC and DC powerline Communications Fully transparent mode, plug and play coming out of the box without the need to do any programming. Built-in error correction codes. Built-in repeater function to extend the coverage. Physical and logic address AT commands used for advanced configuration. 3.3V TTL UART, Optional RS232, RS485. USB, Ethernet, Zigbee interfaces FSK(Frequency Shift Keying)modulation used in physical layer Low power LinkSpriteTechnologies, Inc. 5 www.linksprite.com

RoHS Small module size (55mm X 85mm including the on-board power switch regular keep out area), and easy to be implemented into existing products. 3 Specifications Product name Interface Communication Line Voltage Spyder Transceiver Module 3.3V TTL UART Optional interface cards: RS232 (model/ordering no: UART-RS232) RS485 (model/ordering no: UART-RS485) USB (model/ordering no: UART-USB) Ethernet (model/ordering no: UART-Ethernet) Zigbee (model: Xbee from Digi.com) 230VAC/50Hz 110VAC/60Hz 0-400V DC Supply Voltages 7V 12V DC, Internal + External Modulation Carrier frequency Error Correction Data rate on Powerline FSK(Frequency Shift Keying) 262K/144KHz FEC(Forward Error Correction) 30Kbps Maximum data length packet 300bytes Repeater Hops Transmission distance 3 Hops 300 feets(no Repeater) Support number LED nodes 65535 Power Line Activity System LED Serial port LED LED LinkSpriteTechnologies, Inc. 6 www.linksprite.com

4 Applications AMR Industry manufacture and control Safeguard, fire alarm, smoke alarm Collect and transmit instrument data Safeguard and monitor Home automation Solar/Wind electricity generation system LinkSpriteTechnologies, Inc. 7 www.linksprite.com

Ⅱ Diagram 1 Functional Diagram Power lines Power lines Coupling circuit Carrier signal Power lines carrier module UART 20-pin socket Serial data 2 Board Layout LinkSpriteTechnologies, Inc. 8 www.linksprite.com

3 LED PLC LED PLC LED: green mans module is sending data to PLC; red means module is receiving data from PLC RDY_LED LED1 System LED,green means system is in normal Serial port LED,green means module is receiving data from aerial port; red means module is sending data to serial port 4 Interface Card Socket Definition and Layout The pin layout of interface cards is compatible with Xbee module from Digi (www.digi.com). The socket on the Spyder motherboard can be used to receive any interface card with the pin out shown below: LinkSpriteTechnologies, Inc. 9 www.linksprite.com

Pin assignment of the interface card socket: Pin # Name Direction Description 1 VCC - 3.3V Power supply 2 DOUT Output UART Data Out 3 DIN Input UART Data In 4 EX4 Depending on model of daughter card Route daughtercard final interface signal back to mother board, and to the DIP pins to user s board 5 RESET Input Module Reset 6 EX3 7 EX2 Depending on model of daughter card Depending on model of daughter card Route daughtercard final interface signal back to mother board, and to the DIP pins to user s board Route daughtercard final interface signal back to mother board, and to the DIP pins to user s board LinkSpriteTechnologies, Inc. 10 www.linksprite.com

8 EX1 UART/RS232/RS485/USB/Ethetnet Over Powerline Communication Transceiver Module V1.0 Depending on model of daughter card 9 SLEEP Input Route daughtercard final interface signal back to mother board, and to the DIP pins to user s board Pin Sleep Control Line 10 GND - Ground 11 Unused - - 12 Unused - - 13 Unused - - 14 Unused - - 15 Associate Output Associated Indicator 16 Unused - - 17 Unused - - 18 Unused - - 19 Unused - - 20 Unused - - LinkSpriteTechnologies, Inc. 11 www.linksprite.com

Ⅲ Command Interface 1 Command Mode 1.1 Enter command mode The module can be put into command mode by sending +++ through serial port. The module will respond with an ok. In order to prevent the situation where the user data +++ mistakenly triggers the command mode, there must be no serial port data input one second before and after the receiving of "+++". At the same time, the gap between the three + should not be more than one second, otherwise, it will be considered as a data rather than a command. 1.2 Exit command mode There are two approaches to exit command mode. One way is to input command ATEX. The other is to timeout and automatically exit. In either case, the modules will response "exited". The timeout value can be set by command "ATTO" 2 Arguments and Responses 2.1 Arguments and Responses For all the commands with arguments: if the parameters are correct, the module will respond with an ok. Otherwise, the modules will response with an invalid para. If there are no arguments associated with the commands, it will be treated as polling modem and the module will respond with the existing arguments residing in the module. LinkSpriteTechnologies, Inc. 12 www.linksprite.com

2.2 Commands without Arguments There are four commands without arguments. + + +: enter command mode; will directly return ok. ATEX: exit the command mode, return exited. ATRS: software reset, will reset the module immediately, no return. ATSR: in search for other modules on the power lines, this will return the name of the found module. Please wait for two seconds after sending a command. The name of module received in two seconds will be shown in the serial port, otherwise, the name received after two seconds will be ignored. Note: In the course of searching, all bytes input from serial port also will also be ignored. 2.3 Modified arguments Except for serial arguments, the modified arguments will be immediately saved into eeprom and take effect. The serial arguments won t take effect immediately after being modified to avoid user from modifying PC serial arguments before inputting command. Serial arguments will take effect through automatically resetting module when exiting the command mode. 3 Command List Command Description Arguments Description Default Control Class +++ none Enter mode command LinkSpriteTechnologies, Inc. 13 www.linksprite.com

ATEX Exit none Exit command mode ATTO Time out 1-30 Timeout value, unit: second 5 ATRS Reset none Software reset ATWT Save to flash memory control Y,N This controls if the following setting will be saved to flash: ATDA ATNA ATDT ATRT N ATWT itself is not saved to flash. Network class ATDA Domain Address 1-32767 Domain Address of Logic Address 1 ATNA Node Address 1-65535 Node Address of logical address 1 ATDT Packet Destination Serial Number (Physical Address) 0-2147483646 When set to 0, the packet will be broadcasted in the same logical domain. Otherwise, the packet will be sent to the node with the specified 0 LinkSpriteTechnologies, Inc. 14 www.linksprite.com

physical address (serial number). Function class ATRP Repeater Y,N Relay function, Y is on, N for off Y Turn on the repeater function remotely. ATRR Remote Repeater Y,N It may be set broadcast or individually depending on the ATDT settings. Y ATNM Name A string with length less than 15 Set the name of the module PU-R485A Communication class ATBD Baud Rate 1200, 2400, 4800, 9600, 19200 Baud Rate 9600 ATDB Data Bit 5,6,7,8 Data bit 8 ATPA Parity N, O, E Parity bit,n = no, O = odd, E = even N LinkSpriteTechnologies, Inc. 15 www.linksprite.com

ATST Stop Bit 1,2 Stop bit 1 Debug class ATRW Raw Y,N The raw data for debugging. The module will output sent raw packets from host to the module, and not just the payload. Y means turn on this function, N means turning off. N ATMI MIO Y,N Support and Ariane MIO-RS232 format interoperability, which means "A3 04"data head encapsulated data packet. N ATSR Search none Search for peer module on the power line network LinkSpriteTechnologies, Inc. 16 www.linksprite.com

Ⅳ Repeater Function 1 Introduction To extend the coverage, Linksprite modules have built-in repeater function. When the module's repeater function is turned on (off is the default setting), the module echos the data packet from the power line, while entertaining the data sent by host through the serial port. A C Because of far distance, data transmission can not be reached. A B C After adding repeater function to proper locations, the data can be transmitted farther. Transceiver function is not influenced by repeater function, that is to say, each module can be used as a separate repeater or can be seen as repeater when sending and receiving data. It can not only send and receive data from the power line, but also repeat other data packets. In order to prevent network congestion, the module is smart smart enough to know the data were sent or repeated by itself and will discard the data packets when receiving the duplicated ones. Note: Due to the fact that repeaters will resent the received data packets, if the number of repeater is too large, a number of repeaters will seize the channel, LinkSpriteTechnologies, Inc. 17 www.linksprite.com

and lead to increased communication time. When deploying the repeater, one should take full account of the balance of reliability and real-time. 2 Function Setting AT command ATRP is designed to set up the repeater function. 2.1 Turn on repeater function Steps input response description 1 +++ ok Enter command mode 2 ATRP Y or N Poll current repeater status, Y is on, N for off 3 ATRP Y ok Turn on repeater function 4 ATRP Y Check present repeat status, ON 5 ATEX exit Exit command mode 2.2 Turn off repeater function steps input response description 1 +++ ok Enter command mode 2 ATRP Y or N Check current repeater status, Y is on, N for off 3 ATRP N ok Turn off repeater function 4 ATRP N Check current repeater status, OFF 5 ATEX exit Exit command mode LinkSpriteTechnologies, Inc. 18 www.linksprite.com

2.3 Setting Illustration UART/RS232/RS485/USB/Ethetnet Over Powerline Communication Transceiver Module V1.0 Repeater function is available in the factory. Once repeater function is modified; it will immediately take effect and be preserved permanently, even if the module is restarted. 3 Repeater Hops A data packet could at most pass through third repeater three times. It is shown as follows: A B C D E F The first time The second time The third time No re-transition Data packet is sent from module A to module B. From module B to module C is the first time, to module D is the second time, and to module E is the third time. Module F is the termination. Therefore, data packet won t be sent to module F. LinkSpriteTechnologies, Inc. 19 www.linksprite.com

Ⅴ Logic Address 1 Logic Address Module data packets are transmitted in the way of broadcasting in power lines. All modules will receive the data packets issued by the module and sent them, through the serial port under carrier signals area. When multiple modules are installed on the same power line network, however, one does not want them to communicate directly; thus, the networks can be addressed by the logic address. Logic address is composed of two parts: domain and nodes. For example, the logic address (10:200) means that the domain value is 10, node value is 200. Logic address is the default setting (1:1). Module data packets can only be received and processed by the module at the same domain. Other modules, even detecting the carrier signal will not receive, nor to transmit to the serial port or repeater. H 10:8787 A 1:1 B 10:8 C 2002:1998 F G 10:59 2002:65500 E 1:299 D 10:1000 LinkSpriteTechnologies, Inc. 20 www.linksprite.com

On the above figure, A, E are at the same network, their domain values are 1; B, D, F, H are at the same network, its domain values are10; C, G are at the same network, their domain values are 2002. Although in the physically speaking, all the modules are in a power line network, the packet issued by A, will only be received and processed by E, other modules will not respond. Similarly, packet issued by F, only B, D, H will receive and process packet issued by F, other modules will not work. 2 Address Setting step input response description 1 +++ ok Enter command mode 2 ATDA 1-32767 3 ATNA 1-65535 Check domain values of present logic address. Default factory setting is 1. Check nodes values of present logic address. Default factory setting is 1. 4 ATDA 2 ok Set domain value of logic address as 2 5 ATNA 45 ok Set nodes of logic address as 45 6 ATDA 2 Check domain values of logic address 7 ATNA 45 Check node values of logic address 8 ATEX exited Exit command mode LinkSpriteTechnologies, Inc. 21 www.linksprite.com

Ⅵ Application Illustration 1 Introduction Intelligent instruments widely adopt RS485 bus to communicate. For example, the power meter automatic meter reading systems, data concentrator through the RS485 bus read the message from power meter. RS485 A B Power Meter Power Meter Power Meter Power Meter Power Meter Power Meter Data concentrator In order to automatically meter reading, RS485 bus needs to be deployed. Here, using Spyder module, one can use the existed power lines to directly complete data transmission. LinkSpriteTechnologies, Inc. 22 www.linksprite.com

Power lines Power meter Spyder Spyder Power meter Power meter Spyder Spyder Power meter Power meter Spyder Spyder Power meter Spyder Data concentrator 2 Start of Narrow Band Powerline Communication Transceiver Module What you will need LinkSpriteTechnologies, Inc. 23 www.linksprite.com

You need to have a pair of the items shown above: 1. Spyder 2. RS232 card or USB card 3. Power line cable used to couple power communication signal to power line, the power line can be 110V/220V 50/60Hz, DC, or unpowered. 4. 110V/220V to 12V/500mA power supply LinkSpriteTechnologies, Inc. 24 www.linksprite.com

You need to install LinkSprite-NEC serial port terminal software that is included in the CD that accompanies the Spyder by clicking setup.exe If you are using a USB to RS232 converter, you can use Device Manager tab to find out the COM port. Open LinkSprite-NEC serial port terminal by click program and follow the following: LinkSprite-NEC serial port terminal will show up as: LinkSpriteTechnologies, Inc. 25 www.linksprite.com

Click the Port Settings button to configure the serial port: From device manager, we know that the COM port we are using is COM17. The LinkSpriteTechnologies, Inc. 26 www.linksprite.com

default baud rate for Spyder is 9600. Click OK, and Click Open COM Port to open the COM port. As shown in the following screen, by typing three + fast, we can enter into AT command mode to configure the module. receive. Next we can click Start Continuous Send to toggle continuous send and LinkSpriteTechnologies, Inc. 27 www.linksprite.com

LinkSprite Technologies, Inc. Add:1067 S Hover St, Unit E-186,Longmont, CO 80501 Tel:720-204-8599 Email:sales@linksprite.com Web:www.linksprite.com LinkSpriteTechnologies, Inc. 28 www.linksprite.com