SystemBase SLORY1010DILA User Manual

sLory
User Guide
Version: 1.0
April 8
, 2019
sLory User Guide
Revision History
Document
Date of Revision
Ver sion
April 8th, 2019 1.0 All New
Pages
Details of Revision
Revised
Copyright 2018 SystemBase Co., Ltd. All rights reserved.
Website http://www.sysbas.com/
Tel +82-2-855-0501
Fax +82-2-855-0580
16F (1601) Daerung Post Tower-1, 288, Digital-ro, Guro-gu, Seoul,
Republic of Korea
For inquiries, please contact us at tech@sysbas.com
2
sLory User Guide
This equipment has been tested and found to comply with the limits for a Class A digital
device, pursuant to part 15 of the FCC Rules. These limits are designed to provide
reasonable protection against harmful interference when the equipment is operated in a
commercial environment. This equipment generates, uses, and can radiate radio frequency
energy and, if not installed and used in accordance with the instruction manual, may cause
harmful interference to radio communications. Operation of this equipment in a residential
area is likely to cause harmful interference in which case the user will be required to correct
the interference at his own expense.
Caution
THE GRANTEE IS NOT RESPONSIBLE FOR ANY CHANGES OR MODIFICATIONS NOT
EXPRESSLY APPROVED BY THE PARTY RESPONSIBLE FOR COMPLIANCE. SUCH
MODIFICATIONS COULD VOID THE USER’S AUTHORITY TO OPERATE THE EQUIPMENT.
IMPORTANT NOTE : FCC RF Radiation Exposure Statement
This equipment complies with FCC RF radiation exposure limits set forth for an uncontrolled
environment.
This equipment should be installed and operated with a minimum distance of 20
centimeters between the radiator and your body. This transmitter must not be co-located or
operating in conjunction with any other antenna or transmitter.
This device complies with part 15 of the FCC Rules. Operation is subject to the following
two conditions:
(1) This device may not cause harmful interference, and
(2) this device must accept any interference received, including interference that may cause
undesired operation.
3
sLory User Guide
Table of Contents
1.OVERVIEW ...................................................................................................................................... 5
2. FEATURES ....................................................................................................................................... 5
3. COMPONENTS .............................................................................................................................. 6
4. HARDWARE ................................................................................................................................... 7
SPECIFICATION ....................................................................................................................................................... 7
4.1
LED ......................................................................................................................................................................... 8
4.2
DRAWING OF DEVICE ........................................................................................................................................... 9
4.3
SERIAL PIN SPECIFICATION ................................................................................................................................ 10
4.4
5. HOW TO CONNECT ................................................................................................................... 11
6. HOW TO USE .............................................................................................................................. 11
SWITCH SEETING TABLE ..................................................................................................................................... 11
6.1
OPERATION MODE SETTING ............................................................................................................................. 12
6.2
7. UTILIZATION ............................................................................................................................... 19
4
sLory User Guide
1. OVERVIEW
sLory is a device that converts signals of RS232, RS422 and RS485 Serial to LoRa to connect
with Serial devices that are several kilometers away.
LoRa (wireless communication technology for sensor networks), the next-generation
communication of technology of Low Power Wide Area (LPWA) capable of transmitting small
amounts of data over long ranges, enables communications up to 20 km in open terrain.
2. FEATURES
- Support low power and mid and long-range wireless communication of LoRa (Maximum of
20km in open terrain)
- Support RS232, RS422, and RS485 Serial Communication of 1 Port
- Support industrial operating temperature range from -40 to 85℃
- ±15 KV IEC ESD Protection embedded
- Device setup with utilities such as Dip switch, AT Command and LoryView
5
sLory User Guide
3. COMPONENTS
Package
5V DC Adaptor
2.625dBi Antenna
Product Brochure
COMPONENTS ORDER NUMBER
sLory-1010DIL/ALL, 2.625dBi Antenna,
5V DC Adaptor, Quick Manuals, SystemBase
Covenant
SystemBase Covenant
sLory-1010DIL/ALL
6
sLory User Guide
4. HARDWARE
4.1 Specification
CATEGORY SUBCATEGORY
Frequency Band
Wireless
Interface
Wired
Interface
Modulation LoRa
Encryption AES128 (Default setting: Disable)
Antenna +2.625 dBi Gain Load Antenna
Serial Port
Specification
917 ~ 923MHz
RS232/RS422/RS485
Display LED
Operating
Environment
Temperature
Humidity 5~95%; non-condensable
Power
LINK, SRL, RDY
-40℃ ~ +85℃
DC 5V 1A(Adaptor)
7
sLory User Guide
4.2 LED
LED
RDY
(
YELLOW)
Blink (Interval of 0.5 sec.) Operation Mode (Default)
Blink (Interval of 0.1 sec.)
STATUS OPERATION
Setup Mode
Transmission and Reception of Serial Data
SRL
On
(RS232/RS422/RS485)
(RED)
Off -
LINK
(GREEN)
On Transmission and Reception of LoRa Data
Off -
* If the input voltage level is lower than the rated voltage, an operation error occurs and the
RDY and LNK LED will light up at the same time.
8
sLory User Guide
4.3 Drawing of Device
9
sLory User Guide
4.4 Serial Pin Specification
Pin No. RS232 RS422 RS485
1 - TXD+ TRXD+
2 RXD RXD+ -
3 TXD TXD- TRXD-
4 - - -
5 GND
6 - RXD- -
7 RTS - -
8 CTS - -
9 VCC Option (DC5V) VCC Option (DC5V) VCC Option (DC5V)
* When supplying power through PIN 9, please apply DC 5V rated voltage.
10
sLory User Guide
5. HOW TO CONNECT
No installation of programs on PC or communication device is needed for sLory. Just
connect sLory to PC or Serial port of communication device and power to DC-Jack port.
Then, RDY LED will blink in the interval set to 0.1 seconds under the Setup Mode and to 0.5
seconds under the Operation Mode.
* See 4.2 in the manuals for the details of LED operation
6. HOW TO USE
Users should adjust setting of Serial (interface, communication speed, parity bits and flow
control) and LoRa (channel, Spreading Factor) for the communication between sLorys or
with other devices in LoryNet via AT command or LoryView.
The default Serial setting is as follows: Baud rate of 9600, Data Bit of 8 and Stop Bit of 1.
Here, Data Bit and Stop Bit are not subject to change.
6.1 Switch Setting Table
NUMBER STATUS DESCRIPTION
ON Setup Mode
1
OFF Active Mode (Default)
ON RS422
2
OFF RS232 when Switch 2 and 3 are OFF
ON RS485
3
OFF RS232 when Switch 2 and 3 are OFF
4 - Not used
11
sLory User Guide
Button Description
RST Reboot the system
6.2 Operation Mode Setting
There are two Modes for sLory: General Communication Mode and LoryNet Mode. General
Communication Mode is for the communication between PC and a device via sLory while
LoryNet Mode is used for the communication in a structure of LoryNet Packet.
<General Communication Mode>
Setup via command
Users can set AT Command via RS232 Port of a PC. To use Command, users need to set the Dip
Switch on the back of the product as shown below.
Set RS232 Port of a PC with a terminal program and open as shown below
Baud Rate: 9600
Data Bit: 8
Stop Bit: 1
Parity Bit: None
Switch on (Switch 1) to change to the Setup Mode
Change to the Setup Mode via AT Command and then, LED will blink fast during the process of
switching Mode
Switch off (Switch 1) to change it back to the Operation Mode after the completion of setup.
12
sLory User Guide
Command Instruction
Command for basic setup
COMMAND DEFAULT (RANGE) DESCRIPTION
AT&Z -
AT&F -
AT&V -
AT&H or ? -
AT&E -
1(0~1)
0 = LoryNet Mode
AT+PTYPE=<Mode>
1 = General Communication
Mode
Restart the device
Initialize all settings and show
the initial value on the screen
Show the current setting
Show the list of commands
Shows the current AES KEY, AES
IV. However, the initial AES KEY
and AES IV values are not
shown. Only the changed AES
KEY and AES IV values are
shown.
0: Setting for connection and
communication with LoryNet
platform
1: Default value of setting for
General Data Communication
1(0~1)
0 = OFF (LoryNet Table
0: Setting for LoryNet Table
Communication
AT+P TP
1: Default value of setting for
General Data Communication
Enter the ID of the device to
communicate with
AT+D ID=
<Destination ID>
Communication)
1 = ON (Peer to Peer)
16777214(1~16777215)
(16777215 is a Broadcast ID)
13
sLory User Guide
Commands for setup of LoRa
COMMAND DEFAULT (RANGE) DESCRIPTION
AT+PWR=<Power> 10(1~10)
20(1~20)
1=917.3MHz 2=917.9MHz
3=918.5MHz 4=919.1MHz
5=919.7MHz 6=920.3MHz
7=920.7MHz 8=920.9MHz
AT+CH=<Channel No>
9=921.1MHz 10=921.3MHz
11=921.5MHz 12=921.7MHz
13=921.9MHz 14=922.1MHz
15=922.3MHz 16=922.5MHz
17=922.7MHz 18=922.9MHz
19=923.1MHz 20=923.3MHz
AT+SFT=<Spreading
9(7~12)
Factor>
Change transmission intensity of
LoRa
Change channels of LoRa
Change Spreading Factor of LoRa
0: Disable the encryption
function.
AT+AES=<Encryption>
0(0, 1)
0=OFF
1: Activate the encryption
1=ON
function.
If you enter a new AES key (16
Bytes), “you must also type IV
AT+AESKEY=<KEY> -
(Initialization Vector) [16 Bytes]
"message is output. Enter the IV
value continuously (16 Bytes).
14
sLory User Guide
Command for setup of Serial
COMMAND DEFAULT (RANGE) DESCRIPTION
AT+PAB=<Parity Bit>
AT+BAU=<Baud rate>
N(N,O,E)
N=None,
Set Parity Bit
O=Odd,
E=Even
6(0~13)
0=600bps, 1=1200bps,
2=2400bps, 3=3600bps,
4=4800bps, 5=7200bps,
6=9600bps, 7=19200bps,
Set baud rate
8=38400bps, 9=57600bps,
10=115200bps,
11=230400bps,
12=460800bps,
AT+SER=<Interface>
AT+HF=<Hardware Flow
Control>
AT+DMT=<Time>
13=921600bps
1(1~3)
1=RS232
Set flow control
2=RS422
3=RS485
- Used to collect serial data and
transmit it to LoRa
- Wait for the next data after the
last data has transmitted from
0=OFF, 1=RTS/CTS
Serial, and then transmit data
that it has successfully read to
LoRa after specific period of
time
5(1~255)
Set the length of STX(Start of
Unit: 10ms
text) of Serial data
Example) 5=50ms
15
sLory User Guide
- Set STX(Start of
text) of Serial data
- Refer to the ASCII table and
enter the value of Hex except
0x for STX
AT+STXL=<Length>
AT+STX=<STX1>
AT+STX=<STX1>,<STX2>
AT+STX=<STX1>,<STX2>,
<STX3>
0(0~3) Unit: byte
0 = Not used
00(00~7F)
- Set the length in
AT+STXL=<Length> before
entering the desired length;
For example, in order to
register number 1,2 and 3,
users firstly input AT+STXL=3
and then AT+STX=31,32,33
- Set STX(Start of
text) of Serial data
- Refer to the ASCII table and
enter the value of Hex except
0x for STX
- Set the length in
AT+STXL=<Length> before
entering the desired length;
For example, in order to
register number 1,2 and 3,
users firstly input AT+STXL=3
and then AT+STX=31,32,33
0(0~3) unit : byte
Set the length of ETX(End of
AT+ETXL=<Length>
0 = not used.
text) of serial data
- Set ETX(End of
AT+ETX=<ETX1>
AT+ETX=<ETX1>,<ETX2>
text) of Serial data
- Refer to the ASCII table and
00(00~7F)
AT+ETX=<ETX1>,<ETX2>,
<ETX3>
enter the value of Hex except
0x for ETX
- Set the length in
16
sLory User Guide
0(0~116)
AT+DMS=<Length>
unit: byte
AT+ETXL=<Length> before
entering the desired length;
For example, in order to
register number 1,2 and 3,
users firstly input AT+ ETXL
=3 and then AT+ ETXL
=31,32,33 .
Serial data will be transmitted to
LoRa after a specific length of
data as specified is received
The priority is given in order of Length, STX or ETX and Time in case of that sLory includes
features of Time, STX, ETX, and Length in the condition for Serial data reception.
For example, if 1237890 will firstly be recognized according to the condition of Length if
1237890456 is entered with less than the 1-second-interval and the condition is set as
follows: Length=7, STXL=3, ETXL=3, STX=31,32,33, ETX=34,35,36, Time=100. If 5671237456
is entered with less than the 1-second-interval, the number 567 will be ignored being
considered as not STX because it does not satisfy the condition of Length but the second
priority condition. In other words, only the number 7 will be recognized as a result of
recognition of 123 for STX and 456 for ETX.
Setup via utility (LoryView)
The utility provided along with uLory is available on http://www.sysbas.com where users can
download the datA from the library of the homepage for the customer convenience. Users
can use LoryView for communication, reset, initialization and firmware update, and find the
detailed instructions on the use in the LoryView manual.
<LoryNet Mode>
LoryNet is an IoT platform with virtual cable that enables smooth communication as if it
were reading and writing to file by connecting devices utilizing low power, mid-range
wireless and wired communication technologies to the internet.
As a collection of protocols, cables and equipment in the middle to deliver signals and data
17
sLory User Guide
between objects, the virtual cable makes it easier to connect devices in LoryNet to establish
a new and desired network by improving reception from the distant or complicated
connections.
Accordingly, under the LoryNet Mode, uLory reads and writes entries, which are addresses
of a table to exchange data between devices with each table serving as an agency
Users can refer to the LoryView Manuals for detailed instructions on LoryNet Mode.
18
sLory User Guide
7. Utilization
LoRa is low power, mid- and long-range communication utilizing LPWA(Low Power Wide
Area) communication technology. With slow speed but long range of transmission and
reception, it is widely used in the area of remote monitoring and control such as smart
street lighting, smart metering, smart farm, smart farming and smart factories.
As it boasts a communication range of the maximum of 20km in open terrain, it can be
used in a variety of applications through 1:1 and 1:N communications as shown below:
~ 1:1 Diagram
Ser ial
~ 1:N Diagram
Ser ial
Ser ial
Ser ial
sLor y
sLory
sLory
LoRa
LoRa
LoRa
LoRa
Max. 20Km
Max. 20Km
LoRa
LoRa
Seria l
sLory
Seria l
sLory
sLory
19
Loading...