当前位置:网站首页>[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]
边栏推荐
- HDCP Paring
- IDEA工具快捷键的使用
- [review and Book delivery] 6 interesting R language projects for beginners
- [qnx hypervisor 2.2 user manual]6.2.2 communication between guest and host
- Which securities company is better and which platform is safer for stock speculation account opening
- js中的事件
- I / o initial et son fonctionnement de base
- 01背包问题
- What does it mean to open an account online? In addition, is it safe to open an account online now?
- Botu V16 changes the model and firmware version of PLC
猜你喜欢

Quick pow: how to quickly find power

Automatic integration: yescomusa, an overseas cross-border e-commerce, cooperates with cloud expansion to realize one-stop Automation Service

C MDI open subform to remove automatically generated menu bar

Several simple queries of SQL Server database

俞敏洪:我的退与进;架构师必须了解的5种最佳软件架构模式;Redis夺命52连问|码农周刊VIP会员专属邮件周报 Vol.096

Common interview questions for network workers: Telnet, TTL, router and switch

Five key elements of the data center
![[MySQL basic] general syntax 2](/img/fe/6837fe96cb99b54e5cbce8f20787a5.png)
[MySQL basic] general syntax 2

What is the essential difference between get and post requests?

云呐|固定资产系统管理,nc系统管理固定资产在哪里
随机推荐
SOFARegistry 源码|数据同步模块解析
Intermittent sampling and forwarding interference
leetcode-1. 两数之和
简要的说一下:Fragment 间的通信方式?
初始I/O及其基本操作
Top performance version 2 reading notes (IV) -- memory monitoring
[UML] several relationships of UML (dependency Association aggregation composition inheritance Implementation)
MySQL advanced 2
Traffic, but no sales? 6 steps to increase website sales
HDCP Paring
SSH key disclosure (module B competition topic) -- Application Service Vulnerability scanning and utilization
自动融合,驰骋海外丨跨境电商YescomUSA携手云扩实现一站式自动化服务
分布式任务调度 ElasticJob demo
Findbugs modification summary
GET 和 POST请求的本质区别是什么?
Several simple queries of SQL Server database
云呐|固定资产系统管理的优势,固定资产管理系统有何特点
MySQL foundation 2
数据库学习笔记(SQL03)
[advanced C language] address book implementation