background image

v2.0.0.0.0

29

Set “app_key”:

Start to join:

Содержание RAK7200

Страница 1: ...1 Version V1 0 July 2019 Get Start with RAK7200 Tracker Device 36 PAGES www RAKwireless com Visit our website for more document...

Страница 2: ...burn the update firmware into RAK7200 3 3 How to configure RAK7200 9 4 How to connect with TTN 12 4 1 Join in OTAA mode 17 4 2 Join in ABP mode 20 5 How to connect with LoRaServer 21 5 1 Join in OTAA...

Страница 3: ...ate firmware into RAK7200 Firstly please install the STM32CubeProgrammer tool on your Windows PC You can download it from here https www st com content st_com en products development tools software de...

Страница 4: ...button Open the STM32CubeProgrammer tool and select UART type then configure the Port Baudrate and Pairty as the following picture shows Note It is COM5 on my computer and it may be another COM port...

Страница 5: ...ld let it work in boot mode firstly The correct Log you should see is the information like the following picture shows Now let s start to burn a firmware into RAK7200 At first erase all data on RAK720...

Страница 6: ...v2 0 0 0 0 6 Press Open file and select the correct firmware file in the pop up window as follow...

Страница 7: ...v2 0 0 0 0 7 Press the Download button to start the burning process...

Страница 8: ...K7200 successfully Now Disconnect and close the STM32CubeProgrammer tool then open a serial port tool on your PC Choose the correct COM port and baud rate is 115200 Then press the Reset button on RAK7...

Страница 9: ...ip 3 How to configure RAK7200 You can configure LoRa Button by sending AT commands into it from a serial port tool running on your PC The following list shows the AT commands AT Command Description at...

Страница 10: ...YYY Send a customized data X definition LoRa port YYY definition the data which you want to send The limited length is 50 Bytes and the data must be in HEX format at set_config lora work_mode X Set t...

Страница 11: ...nition the application EUI for example 70B3D57ED001A1E2 at set_config lora app_key XXXX Set the application key for OTAA XXXX definition the application key for example D9988A5F02D80FAB8BA5F453C4A2C D...

Страница 12: ...return the state of all LoRa channels then you can see which channel is closed and which channel is open very clearly More information please have a look at the next section How to Connect with TTN 4...

Страница 13: ...v2 0 0 0 0 13 Open the link https www thethingsnetwork org and login then open the Console page from the right corner at the top Press APPLICATIONS...

Страница 14: ...orrect contents Please note that the content you fill in Application ID item should be in low case and it must be the unique ID on TTN network Then press the Add application button at the bottom of th...

Страница 15: ...v2 0 0 0 0 15 At the middle of this page you can find the box named DEVICES Just register device You can click the following icon and Device EUI will be generated automatically in the next step...

Страница 16: ...v2 0 0 0 0 16 The following picture shows the final page Then press the Register button at the bottom of this page to finish...

Страница 17: ...ation method is OTAA These three parameters will be used on RAK7200 OK Now let s join in OTAA mode and AU915 frequency for example The default LoRa work mode is LoRaWAN 1 0 2 the default LoRa join mod...

Страница 18: ...v2 0 0 0 0 18 Set the Device EUI Set the Application EUI...

Страница 19: ...v2 0 0 0 0 19 Set the Application Key...

Страница 20: ...in OTAA mode Join successfully You can see that RAK7200 is sending data frequently Now you can see the sensor data send from RAK7200 on TTN website as follow Great That s all about OTAA mode 4 2 Join...

Страница 21: ...AK LoRa gateway and its built in LoRaServer or you are using RAK cloud testing LoRaServer But if you are using a LoRaServer which is built by yourself maybe you need to configure it by yourself too OK...

Страница 22: ...v2 0 0 0 0 22 CREATE APPLICATION Click the new item name RAK7200_test Add a LoRa node device into LoRaServer by clicking the CREATE button...

Страница 23: ...ou should select DeviceProfile_OTAA in the Device profile item If you want to join in ABP mode and CN470 frequency you should select DeviceProfile_ABP_CN470 in the Device profile item If you want to j...

Страница 24: ...AA mode CREATE DEVICE Then generate the application key in this page You can write it by yourself or generate it automatically by clicking the following icon SET DEVICE KEYS That s OK You ve complete...

Страница 25: ...he Application EUI which will be set into RAK7200 as app_eui is useless for LoRaServer and you can set it to any value with a correct format for example 7083D57ED001C1CF Next let s configure RAK7200 b...

Страница 26: ...v2 0 0 0 0 26 The default LoRa work mode is LoRaWAN 1 0 2 Set the LoRa join mode to OTAA...

Страница 27: ...v2 0 0 0 0 27 Set the LoRa class to Class A Set the frequency region to AU915...

Страница 28: ...v2 0 0 0 0 28 Set dev_eui Set app_eui...

Страница 29: ...v2 0 0 0 0 29 Set app_key Start to join...

Страница 30: ...age The data format is LPP OK that s all about Join in OTAA mode with LoRaServer 5 2 Join in ABP mode If you select DeviceProfile_ABP or DeviceProfile_ABP_CN470 it means you want to join LoRaServer in...

Страница 31: ...v2 0 0 0 0 31 Next let s use these parameters to set RAK7200 by using AT command Set LoRa join mode to ABP Set LoRa class to Class A...

Страница 32: ...v2 0 0 0 0 32 Set the frequency region to AU915 Set dev_addr...

Страница 33: ...v2 0 0 0 0 33 Set nwks_key Set apps_key...

Страница 34: ...v2 0 0 0 0 34 Start to join Great Join and send data successfully You can see the data which is just sent from RAK7200 on LoRaServer page...

Страница 35: ...v2 0 0 0 0 35 That s all about Join in ABP mode with LoRAServer...

Страница 36: ...by Fomi Penn Fomi About RAKwireless RAKwireless is the pioneer in providing innovative and diverse cellular and LoRa connectivity solutions for IoT edge devices It s easy and modular design can be us...

Отзывы: