Difference between revisions of "HM-TRLR-S Series 100mW LoRa Transceiver"
(→Operating Mode) |
(→Operating Mode) |
||
Line 116: | Line 116: | ||
*Reset Timing Diagram | *Reset Timing Diagram | ||
− | [[File:Reset Timing Diagram.png]] | + | [[File:Reset Timing Diagram.png|600px|]] |
==Channel Frequency== | ==Channel Frequency== |
Revision as of 08:12, 22 October 2014
Introduction
HM-TRLR-S series is a low cost, high performance transparent transceiver operating at 433/915MHz. It is LoRa/FSK/GFSK/OOK modulation variety. It features small size, high output power, high sensitivity, long transmission distance and most of the parameters can be set via the command. Receive and send data to automatically switch. Use generic UART interface. It is easy to realize the wireless data transmission if provided with the UART data. It is flexible for the users to set the parameters of UART baud rate, output power, data rate, frequency select, modulation mode select etc. It is your ideal choice for designing wireless data transmission products which can be widely used on wireless data transmission field.
Features
- Low cost, high performance, high reliability
- LoRa/FSK/GFSK/OOK modulation, 2-way half –duplex communication, strong anti-interfere
- 433/915MHz ISM band, globally license free.
- Maximal output power100mW(20dBm), output power adjustable between 2-20dBm
- LORA Sensitivity -139dBm
- Supply current for Tx 130mA@20dBm, 35mA@13dBm
- Supply current for Rx 16mA
- Low current sleep mode 2uA
- Standard UART interface, extendable to RS232 or other interface
- Operation frequency can be configured, acceptable for several modules working in different frequency with no disturbance on each other.
- RF parameters as needed, users can be modulated by software.
- Easily use, auto exchange on communication & transceiver
- Communication speed 1.2kbps -115.2kbps,can be modulated through software
- Afford Sleep control signal,user self control work duty cycle
- With LED indicator
- Longer transmission distance,over 5Km in open air
- Small size 16*20*2mm,10PIN SMD package,easy for assembly .
- Tuning free
- Accord FCC, ETSI standard
Applications
- Remote control, remote measurement
- Data collection
- Wireless meter
- Access control
- IT household appliance
- Intelligence household appliance
- Identification system
Pin Description
VCC—— Power supply,2.4-3.6V DC power, recommendation 3.3V DC power
TXD—— Data transmission
GND—— Ground
RXD—— Data receiving
CONFIG——Set low for configuration mode, while set high for communication
SLEEP——Set low for normal mode for data transceiver , while back to sleep if set high
STATUS——Disconnected
RESET——Reset trigger input, Active low
ANT—— Input/output interface with 50 ohm antenna
GND—— Ground
Maximum Specification
Parameters
Typical Application
HM-TRLR-S TTL UART
As in the above Figure, connect the TXD pin of HM-TRLR-S with UART RXD Pin of MCU, connect the RXD pin of HM- TRLR-S with the UART TXD pin of MCU. Then the CONFIG/SLEEP/RESET/STATUS of HM-TRLR-S connects with GPIO of MCU.
HM-TRLR-S extends to RS232
You can extend the HM-TRLR-S to RS232 by adding the MAX3232, and then you can directly connect the COM to the PC.
Mechanical Dimension
unit:mm
Application Part
Modulation Mode
HM-TRLR series transparent transceiver module can work in the traditional FSK / GFSK modulation mode, as well as in LoRa modulation mode. According to the application requirements, users can switch the modulation mode conveniently. Using principles: use FSK / GFSK modulation when requiring large quantities of high-rate data transmission; use the LoRa modulation when long-distance data transmission is needed.
Operating Mode
HM-TRLR series transparent transceiver module has three kinds of operating mode: Running Mode、Configuration Mode and Sleep Mode. When the module is in Running Mode, users can send and receive data; when the module is in the Configuration Mode, users can change the formulation parameters according to the need via AT commands; Sleep Mode allows the module to enter into a low power consumption status.
- Running Mode Timing Diagram
Note:When the modulation pattern is LoRa and the HM - TRLR receive buffer is full, the STATUS pin will output a low level.
- Configuration Mode Timing Diagram
Note:The module enters into the Configuration Mode by pulling up the CONFIG pin. If the STATUS output is at low level, users can send AT commands to revise the parameters.
- Sleep Mode Timing Diagram
Note: Sleep mode is controlled by SLEEP pin
- Reset Timing Diagram
Channel Frequency
Different model of HM-TRLR module has different frequency band, each frequency band is divided into 16 channels, and frequency details are as below:
Transfer rate
When HM-TRLR module works in FSK modulation, the air rate can self-adapt to serial baud rate. Theoretically, it is able to transfer wireless data, it’s better to transmit in batches to avoid interference in the air if the data package is large. When HM-TRLR module works in LoRa modulation, the transmission rate depends on the Signal Bandwidth, the Spreading Factor, FEC coding rate and the Payload Length. The sensitivity of receiver is only related to the Signal Bandwidth and the Spreading Factor. The following table shows the relationship between the transmission rate and parameters:
Test conditions:
1. Supply voltage = 3.3 V
2. Temperature = 25° C
3. CRC on payload enabled
4. Payload length = 64 bytes
5. Coding Rate = 1
Hopping Frequency Spread Spectrum (HFSS)
When HM-TRLR module works in LoRa modulation, it has the function of HFSS, which can be applied to the occasions where the time of frequency occupancy is limited. For example, in the United States, the frequency of the ISM segments 902-928, when the data transmission time of a packet exceeds the frequency occupancy time limits, you can use frequency-hopping technology, there are two parameters need to be set: Hopping Cycle and Frequency Stepping.
Calculating Formula:
HoppingPeriod(ms) = ( 2SF/BW) * FreqHoppingValue
SF = SpreadingFactor
BW = SingnalBandWidth
FreqHoppingValue = 1~255
FreqStep = 61Hz*FreqStepValue
FreqStepValue = 0~65535
Node ID Function with FSK
When HM-TRLR works in FSK modulation, you can set the Node ID, when the function of the Node ID is turned on, the first byte the transmitter sends is the Node ID of the receiver, and the receiver receives only the Node ID that matches with it. When the function of Node ID is turned on, the module can start the Broadcast ID function; when the Broadcast starts, the receiver can receive data both from the Node ID and the Broadcast.
Note:When this function is on, the interval between the two frames of data is not less than the Td; the first byte of each frame of data is the Node ID or Broadcast ID.
Td (Time Delay)
TD for FSK modulation
Td is the delay of time between module 1(RXD pin received data) and module 2 (TXD pin transfer data). The time delay (Td) will change with different baud rate, as shown below:
Td for LoRa Modulation
As air data is transmitted in batches when the module is in LoRa Modulation, if the data exceeds Payload Length and the air rate is less than serial rate, the data receivered will be intermittent. In the transmitter, you can check whether the HM-TRLR buffer is full or not through the STATUS pin.
Air rate is higher than the serial rate, as shown below:
Air rate is less than the rate of the serial rate, as shown below:
Testing Conditions:
1. Spread Factor = 9
2. Singal Band Width = 250 kHz
3. Code Rate = 1
4. PayLoad = 32 bytes
HM-TRLR-S AT Instruction Manual
Overview
When IO port is triggered by peripherals, the HM-TRLR-S module will enter into the Configuration Mode, you can revise the performance parameter by sending AT commands through serial ports.
Command Syntax
Command will be represented by capitalized ASCII and ending with <CR>, when the module receives the commands, it will interpret and respond to commands
Command Set Format
Command Set is used to set the parameters of peripherals for HM-TRLR-S transparent transceiver module; it is begins with capital AT, followed by the command type and parameters.
Command Format:AT+Cmd Type=Para1, Para2…<CR>
Command Return Succeed: OK<CR>
Command Return Failed: ERROR: n<CR>
Read Command Format
Read Command is used to read the command of peripherals for HM-TRLR-S transparent transceiver module; it begins with capital AT, and followed by the command type and a question mark.
Command Format:AT+CmdType=? <CR>
Command Return Succeed: CmdType: Para1, Para2…<CR>
Command Return Failed: ERROR: m<CR>
Parameter interpretation when an error returns
When an execution error is returned, the modules will return ERROR:m.
Command Type
Baud Rate Command
Serial baud rate refers to the communication rate between the module and its peripherals, when the setup is complete, the new baud rate takes effect immediately, and the baud rate of the peripherals should be based on the new module communication.
AT+SPR (SerialPortRate) Command
Parameters Table
Serial check mode command
Modules and peripherals using UART mode, their check mode can be set, when the setup is completed, the new formulation will come into effect immediately.
AT+SPC(SerialPortCheck) Command
Parameters Table
Transmit power command
Transmitting power can be revised, when the setup is completed, it will come into effect when you exit the Configuration Mode.
AT+POWER Command
Parameters Table