当前位置:网站首页>[lorawan node application] the application and power consumption of Anxin ra-08/ra-08h module in lorawan network
[lorawan node application] the application and power consumption of Anxin ra-08/ra-08h module in lorawan network
2022-06-30 00:34:00 【Anxinco Technology】
Catalog
Preface
This article mainly introduces how to configure Ra-08H module / Development board access LoRaWAN Relevant contents of the service .LoRaWAN The difference in LoRa Technology lies in ,LoRa The signal transmission goes through the physical layer , and LoRaWAN Is the media control layer protocol , Mainly used for network layer protocol .LoRaWAN The main components of the architecture are :LoRaWAN gateway 、LoRaWAN node 、LoRaWAN Network services and LoRaWAN The application service consists of four parts . The server to be connected this time is the server integrating network services and application layer services , The gateway uses .
1 Hardware preparation
1.1 Hardware preparation
| Hardware | Number |
|---|---|
| Ra-08H module | 1 individual |
| DuPont line | A number of |
| USB turn TTL modular | 1 individual |
| Ra-08H-Kit Development board | 1 individual |
| Android cable | 1 root |

1.2 Wiring instructions
Ra-08H The module burning wiring is shown in the following table :
| Ra-08H module | USB turn TTL module |
|---|---|
| 3.3V | 3.3V |
| GND | GND |
| RXD0 | TXD |
| TXD | RXD |
| IO2 | DTR |
| RST | GND |
1.3 Firmware burning instructions
The firmware burning tool and firmware can be downloaded from the official website of Anxin , For a link :https://docs.ai-thinker.com/lorawan
1.3.1 Ra-08H Module burning operation
After wiring as described above , Set the... On the module RST Unplug the pin wiring , Open the firmware burning tool , Select the firmware to burn , Click on “Erase All”, Clear the original firmware in the module , After erasing successfully , Click on “Start”, Burn new firmware .
1.3.2 Ra-08H-Kit Development board burning operation
Via Android cable Ra-08H-Kit Development board and PC End connection ,IO2 The key remains pressed , A short press RST Key , Open the firmware burning tool , Select the firmware to burn , Click on “Erase All”, Clear the original firmware in the module , After erasing successfully , Click on “Start”, Burn new firmware .
2 The server controls the platform operation
2.1 Configure the gateway docking content
Configure the gateway frequency band , Select frequency band , Configure the center frequency of the receiving window , Maximum and minimum transmission frequencies , bandwidth , Spread spectrum factor and other related parameters .
2.2 Configure network service related parameters
Configure the data rate of the receive window 、 Receiving window 2 Frequency size of 、 Transmit power, adaptive rate and other related parameters .
2.3 Create nodes
2.3.1 Create an application
Create a new application , Set the name of the app , Select the application key type , Save application .
Configure application secret key , Can generate random numbers , Other content uses the default configuration , Click save and apply .
2.3.2 Create a node
Click to enter the created application , input device EUI( Customizable ), Click on “ add to ”
Set the relevant parameters of the node , Include : Equipment name 、 How nodes work (Class A/Class B/Class C)、 Network access mode (ABP(Activation By Personalization)/OTAA(Over The Air Activation)), Other configurations default to , Click save and apply .
OTAA The network access mode configuration interface is as follows :
Set up ABP Network access mode , Fill in the equipment address 、 Set the random number with the session secret key 、 Set random number for network session key , Other configurations remain default , Here's the picture :
3 Ra-08H Module instruction operation
3.1 OTAA Network access mode AT Command operation
AT+CJOINMODE=0 # Set the network access mode (0:OTAA 1:ABP)
AT+CRXP=1,1,869525000 # Set the receiving window parameters ,Rx01,Rx02,Rx02 frequency
AT+CDEVEUI=70B3D57ED0052256 # Set up the device EUI
AT+CAPPEUI=0000000000000000 # Set up network access application EUI
AT+CAPPKEY=8D5EC8F6834BDE677A3D815E81A14981 # Set application key
AT+CFREQBANDMASK=0001 # Set the channel mask (0001: Set up 0~7 channel ;0002: Set up 8~15 channel )
AT+CULDLMODE=2 # Set whether the uplink and downlink data are on the same channel (1: Set the same channel ;2: Set up different channels )
AT+CCLASS=0 # Set network access CLASS type (0:Class A;1:Class B;Class C)
# Set network access parameters
# value1:Join Operation mode ,0: Stop joining ;1: Begin to join or rejoin
# value2: Set whether to automatically access the network ,0: No automatic networking ;1: Set automatic network access
# value3: Set the network access cycle ,10 Then for 10s
# value4: Set the maximum number of connections ,8 Express 8 Time
AT+CJOIN=1,0,8,3
AT+DTRX=0,2,6,445566 # send data
3.2 ABP Network access mode AT Command operation
AT+CJOINMODE=1 # Set the network access mode (0:OTAA 1:ABP)
AT+CRXP=1,1,869525000 # Set the receiving window parameters ,Rx01,Rx02,Rx02 frequency
AT+CDEVEUI=AC1F09FFFE051E80 # Set up the device EUI
AT+CNWKSKEY=f37d6a9c1acc2106411f8c13a5eb20bf # Set the network session key
AT+CAPPSKEY=7c5132451d140e15d72a1993d62f1c31 # Set the application session key
AT+CAPPPORT=1 # Set the device port number
AT+CFREQBANDMASK=0001 # Set the channel mask (0001: Set up 0~7 channel ;0002: Set up 8~15 channel )
AT+CULDLMODE=2 # Set whether the uplink and downlink data are on the same channel (1: Set the same channel ;2: Set up different channels )
AT+CCLASS=0 # Set network access CLASS type (0:Class A;1:Class B;Class C)
AT+CJOIN=1,0,10,8 # Open network access
AT+DTRX=0,2,6,445566 # send data
4 Network access effect


5 Power consumption
Module connection power consumption :
When the module is idle , The power consumption is 10mA. When the module enters the network , The power consumption is 14mA.
Contact us
The above is the content of this issue , The purpose is to let everyone quickly adapt to the development of new products , More information can be obtained from our official website .
Official website :https://www.ai-thinker.com
Development of information :https://docs.ai-thinker.com/
Official forum :http://bbs.ai-thinker.com
Technical support :[email protected]
边栏推荐
- Yunna | fixed assets system management, NC system management where are the fixed assets
- [MRCTF2020]Ezpop-1|php序列化
- Interviewer: why does database connection consume resources? I can't even answer.. I was stunned!
- IDEA工具快捷键的使用
- MySQL基础篇1
- SOFARegistry 源码|数据同步模块解析
- 云呐|如何利用系统管理固定资产?如何进行固定资产管理?
- MySQL foundation 3
- Quick pow: how to quickly find power
- 公司固定资产该哪个部门管理,一般公司固定资产怎么管理
猜你喜欢
随机推荐
[PHP] PHP variable memory release
VIM plug in manager VIM plug installation method
Finding a job in 2022 is the "last lesson" for graduates
[garment software] what are the criteria for the selection of garment production management system?
【PHP】PHP变量内存释放
Initial i/o and its basic operations
利用 CertBot 申请 Let’s Encrypt SSL 证书
云呐|固定资产系统管理的优势,固定资产管理系统有何特点
Connection query of SQL Server database
MySQL foundation 3
将日志文件存储至 RAM 以降低物理存储损耗
vsftp 与 TFTP 与 samba 与 nfs 复习
Review of vsftp, TFTP, samba and NFS
SOFARegistry 源码|数据同步模块解析
【PHP】php压测,报错:通常每个套接字地址(协议/网络地址/端口)只允许使用
有流量,但没有销售?增加网站销量的 6 个步骤
Traffic, but no sales? 6 steps to increase website sales
Mr. Hu Bo, CIO of weiduomei, a scientific innovator: digitalization is a bloodless revolution, and the correct answer lies in the field of business
[MRCTF2020]Ezpop-1|php序列化
简要的说一下:Fragment 间的通信方式?

![[dynamic programming] - linear DP](/img/cb/4ad8dce1da1d1110d6e79fadca4293.png)






