Location:Home >> Solutions >> Other >> Internet of Things
Update time:2021-08-26 Pageviews:673
Introduction
SWRF_1E80 is a wireless transceiver module with built-in MCU in general ISM frequency bands such as 315MHz/433MHz/868MHz/915MHz (hereinafter referred to as 315, 433, 868, and 915) frequency bands below 1GHz. The module integrates functional modules such as radio frequency transceiver, frequency synthesizer, crystal oscillator, modem and MCU, and supports one-to-many networking and communication mode with ACK. UART serial communication is provided externally to facilitate the secondary development of customers.
图1SWRF-1E80功能框图
Application scenarios
Remote control, smart home, industrial control, smart security, building energy consumption monitoring, interactive voting, wireless electronic scales, municipal street lights and lighting wireless networking control, automatic meter reading of water, electricity and heating
Main features
1. Support multiple frequency bands below 1GHz.
2. Support GFSK modulation.
3. The maximum transmit output power is 20dBm.
4. Support two-way data transmission and reception.
5. Support TTL serial port, default 9600bps.
6. Low power consumption sleep mode, suitable for battery power supply.
Pin definition
管脚 |
名称 |
说明 |
备注 |
1 |
IO2 |
输入,睡眠唤醒 |
上升沿唤醒。 当TSLEEP>0时,低电平强制模块进入休眠模式。 |
2 |
Txd |
串口发送 |
TTL电平,可唤醒模块。 |
3 |
Rxd |
串口接收 |
TTL电平 |
4 |
IO1 |
串口输出指示 |
平常为高电平,空中收到有效数据后模块将此管脚拉低100ms,再往串口输出数据。 |
5 |
GND |
电源地 |
|
6 |
ANT |
天线 |
|
7 |
VCC |
2.2 ~ 3.3V |
|
8 |
GND |
电源地 |
|
9 |
LED |
状态灯 |
空中有数据收发时,拉低; 无数据时保持高电平。 |
10 |
RES |
|
|
11 |
RES |
|
|
12 |
RST |
输入,模块复位 |
低电平复位 |
physical dimension
working principle
The transparent transmission module needs to be used in pairs or one-to-many. Take two module serial port transparent transmission as an example to illustrate the working process.
After power-on reset, the initial state is RF receiving.
When data needs to be sent wirelessly, IO2 is pulled up for 100ms, and Rxd will automatically RF forward after receiving the data. If the data stream bytes received by Rxd exceed 10ms, it will be automatically sub-packed. If multiple data packets are required to be sent continuously, the interval between two data packets is less than =1s, and there is no need to repeatedly pull up IO2 at this time. If no new data is sent for more than 1s, switch back to RF receiving mode.
After the module receives the air data, IO1 outputs a low level for 100ms, and then Txd spit out the data.
Low power consumption. When TSLEEP>0 and IO2 is low level, when no data is sent or received, it is in a low power consumption state. Wake up every TSLEEP, the data will be forwarded immediately after receiving the data, no data will continue to sleep.
IO1 and Txd timing
typical application
Transparent transmission between remote control and host serial port
Common wiring
Data sending and receiving process
antenna
Copper spring antenna
Installation method
12-pin stamp hole patch
RF power consumption
RF characteristics
Extreme working conditions
Parameter configuration
The parameters can be modified by sending commands to the serial port. After the setting is successful, the parameters will take effect immediately without powering on again. Including serial port rate data format, modulation frequency, modulation rate, output power, etc. The specific setting commands are as follows. The format of the read parameter is "command=?", and the return is the parameter value.
Appendix A: Slave-Master Data Transmission Test
One of the two modules is in slave mode and the other in master mode. Both TSleep are set to 0, and the slave sends a data packet every 1s.
Appendix B Power-on reset output
Appendix B power-on reset output power-on reset, the serial port defaults to output the module model, module ID, hardware version, firmware version, and working mode.
Appendix C Parameter Setting Example
Step 1 enter configuration mode
MCU sending: +++
Module return: AT + Enter config
Step 2 query working mode
MCU sends: AT+MODE=? <\r><\n>
Module return: AT+MODE=S
Step 3 set the working mode
MCU send: AT+MODE=M<\r><\n>
Module return: AT+MODE=M
[Note] This parameter takes effect immediately and will be saved after power-off. Power-on reset, the serial port defaults to output the module model, module ID, hardware version, firmware version, and working mode.
Appendix C Parameter Setting Example
Step 1 enter configuration mode
MCU sending: +++
Module return: AT + Enter config
Step 2 query working mode
MCU sends: AT+MODE=? <\r><\n>
Module return: AT+MODE=S
Step 3 set the working mode
MCU send: AT+MODE=M<\r><\n>
Module return: AT+MODE=M
[Note] This parameter takes effect immediately and will be saved after power-off.
Step 4 Exit working mode
MCU send: ATT<\r><\n>
Module return: AT + Exit Config
The following figure lists the command returns of Step 1 ~ 4 modules.
Step 4 Exit working mode
MCU send: ATT<\r><\n>
Module return: AT + Exit Config
The following figure lists the command returns of Step 1 ~ 4 modules.
Query baud rate
MCU sending: AT+UARTRATE=?<\r><\n>
Module return: AT+UARTRATE=9600,N
Set the baud rate
MCU sending: AT+UARTRATE=2400<\r><\n>
Module return: AT+UARTRATE=2400,N
[Note] This parameter needs to be reset to take effect, and save when power off.
Reset module
MCU send: AT+RST<\r><\n>
Module return: RESET
[Note] Sending a reset command is also one of the ways to exit the configuration mode.
Query sleep interval
MCU send: AT+TSLEEP=?<\r><\n>
Module return: AT+TSLEEP=1
Set sleep interval
MCU sending: AT+TSLEEP=5<\r><\n>
Module return: AT+TSLEEP=5
[Note] This parameter will take effect immediately and will be saved after power-off.
Copyright ©2021 Shenzhen Hongxinyuan Industrial Technology Co., Ltd. All Rights Reserved.