RAK RAK7204 Скачать руководство пользователя страница 1

Documentation Center

RAK7204 Quick Start Guide

Prerequisites

What do you need?

Before going through each and every step in the installation guide of the RAK7204 WisNode Sense Home, make
sure to prepare the necessary items listed below:

1. RAK7204 WisNode Sense Home
2. Micro USB Cable
3. Gateway in Range, for Testing
4. Windows PC

📝

 NOTE:

This device released by RAKwireless is already pre-loaded with its latest firmware upon manufacturing. If
you want to have your device's firmware and bootloader burned, please refer to the sections below:

1. 

Burning the Bootloader

2. 

Burning the Firmware

What's Included in the Package?

1pc - RAK7204 WisNode Sense Home
1pc - LoRa Antenna
1pc - 3500mAh Lithium Battery

Product Configuration

Interfacing with the RAK7204 WisNode Sense Home

In order for you to be able to interface with the RAK7204 WisNode Sense Home with your Windows Machine, you
need to download the RAK Serial Port Tool 

here  

.

 WARNING

The included battery is non rechargeable. Please do note that when configuring the device, you have to
connect the battery first in order for it to work.

Connect your RAK7204 WisNode Sense Home in your Windows Machine using the provided micro-usb cable.

Содержание RAK7204

Страница 1: ...ader burned please refer to the sections below 1 Burning the Bootloader 2 Burning the Firmware What s Included in the Package 1pc RAK7204 WisNode Sense Home 1pc LoRa Antenna 1pc 3500mAh Lithium Batter...

Страница 2: ...mage the device and may cause overheating and combustion of the battery Therefore when replacing the battery it is necessary to strictly confirm whether the positive and negative poles of the connecto...

Страница 3: ...e note of the COM Port Number NOTE If you didn t find any Port with the name Silicon Labs CP210x USB to UART Bridge make sure you have downloaded the CP210x USB Drivers in your Machine Choose the Corr...

Страница 4: ...th more than 27 000 devices deployed globally All our node products are compatible with it and the process of adding a device to the network is intuitive and straightforward This section will focus on...

Страница 5: ...you can see your function tree on the left and your DC balance at the tops as well as a number of useful links Figure 7 Helium console home screen Go to the Devices section in the function tree If thi...

Страница 6: ...efault Press the eye icon to reveal the values You can manually replace them with values of your own For this tutorial use the default values Press the Submit button and you are done Figure 10 Helium...

Страница 7: ...e Enter the App EUI Same as with the Device EUI replace the XXXX with your value Enter App Key Finally fill in the App key with the command Join Network Finish executing the join command in order for...

Страница 8: ...Figure 12 Helium console live device data Configuring the Built in Server The procedure for connecting the RAK7204 to the Built in Server is straightforward and includes going through the following s...

Страница 9: ...are in Network Server mode By default the gateway is working in this mode so if this is the first time you are configuring it it should already be set If this is nit the case go to the Network Server...

Страница 10: ...mode 2 Start the Device registration process by going to the Application sub menu in the LoRa Network section and creating an application Enter a name in the field leave the default type and press Sa...

Страница 11: ...ation Figure 16 Application configuration Move to the Payload Formats sub window and set the payload format to CayenneLPP via the drop down menu This is the format that the RAK7204 uses thus enabling...

Страница 12: ...ng its Device EUI which you can find on a sticker on the back of the RAK7204 Press the Add button to proceed Figure 19 Adding a device In the configuration screen enter a name for your device and leav...

Страница 13: ...the Devices section Figure 21 Devices section Next you need to import the same configuration in the RAK7204 Configuring the RAK7204 Start by connecting to your RAK7204 as described in the Product Con...

Страница 14: ...t to the Built in Server 1 Import the Device EUI from the label on the back Application EUI and Application Key you should have noted them down as instructed in the previous section by executing the f...

Страница 15: ...band class A OTAA activation mode LoRa Region Device Class Activation Mode After executing the last command the node will automatically start the join procedure If for some reason this is not the case...

Страница 16: ...ol Figure 25 Successful Device Join If you check the Devices Section and the Live Device Data in the Devices section you should see the device being online for some time and also some packets in this...

Страница 17: ...cting to The Things Network V3 TTNv3 At The Things Conference 2021 it was announced that The Things Network is upgrading to The Things Stack v3 In this section it will be shown how to connect RAK7204...

Страница 18: ...after successful login NOTE To connect RAK7204 WisNode Sense Home to TTNv3 you should already have connected a gateway in range to TTNv2 or TTNv3 or you have to be sure that you are in the range of a...

Страница 19: ...r Automatically filled by The Things Stack based on your account or created organization Application ID This will be the unique ID of your application in the Network ID must contain only lowercase let...

Страница 20: ...gister end device heading you can find two options for registering a device Choose Manually For Activation mode choose Over the air activation OTAA For the LoRaWAN version choose MAC V1 0 2 RAK7204 is...

Страница 21: ...lowercase letters numbers and dashes AppEUI The AppEUI uniquely identifies the owner of the end device It is provided by the device manufacturer To get the AppEUI connect your device via USB cable to...

Страница 22: ...e end device Note that for this tutorial the frequency plan used is Europe 863 870 MHz SF9 for RX2 recommended Regional Parameters version The Regional Parameters specify frequency dwell time and othe...

Страница 23: ...s for OTAA mode 9 Fill in the Application key AppKey to secure communication between the end device and the application The AppKey can be generated automatically by clicking the Generate button next t...

Страница 24: ...e node you will need the following three parameters Device EUI Application EUI and Application Key You can see them all on the Device Overview page But since the two EUI s come with the device you onl...

Страница 25: ...04 WisNode Sense Home operation mode NOTE The following tutorial is based on using the EU868 frequency band 3 Now that those parameters are set enter the App Key using the command below Remember to re...

Страница 26: ...tting up the RAK7204 WisNode Sense Home OTAA parameters 4 Finally execute the join command Figure 44 Join command If you get a response in the Live data feed in The Things Stack it means your RAK7204...

Страница 27: ...s NOTE In this section it is assumed that you are using RAK Gateway and its built in ChirpStack or RAK cloud testing ChirpStack It is also assumed that a Gateway with the ChirpStack has been configure...

Страница 28: ...entation Center Figure 46 ChirpStack Applications 3 Fill up the necessary information then Click CREATE APPLICATION Figure 47 Creating the Application 4 Click the new item name RAKwireless_Test_Applic...

Страница 29: ...Documentation Center Figure 48 Applications page in ChirpStack Figure 49 RAKwireless Test Application 5 Add a Node device into ChirpStack by clicking the CREATE button...

Страница 30: ...Parameters NOTE If you want to join in OTAA mode select DeviceProfile_OTAA in the Device profile item If you want to join in ABP mode and CN470 frequency then select DeviceProfile_ABP_CN470 in the De...

Страница 31: ...urself or generate it automatically by clicking the icon highlighted in the image Figure 53 Application Key Generation 3 Click SET DEVICE KEYS button Now you ve completed the configuration on ChirpSta...

Страница 32: ...Documentation Center Figure 54 Device EUI Code Same with the Application Key which was set in the previous section as app_key is the same with the image highlighted Figure 55 Application Key LoRaWAN...

Страница 33: ...7204 WisNode Sense Home to a PC power it on and open RAK Serial Port Tool on your computer Figure 56 RAK Serial Port Tool Now let us join our RAK7204 WisNode Sense Home using the OTAA activation mode...

Страница 34: ...t the Frequency Region Device EUI Application EUI and Application Key Remember to replace the XXXX with the corresponding parameter value for your particular case at set_config lora region XXXX at set...

Страница 35: ...Documentation Center Figure 58 Setting of Frequency and Device EUI Figure 59 Setting of Application EUI and Key 7 Then join in OTAA mode at join sh...

Страница 36: ...u can view the JoinRequest and JoinAccept on ChirpStack page Figure 61 Join Request of the Device in the ChirpStack 9 Let s try sending data from our RAK7204 WisNode Sense Home to the ChirpStack by ty...

Страница 37: ...n see the message on ChirpStack page Figure 63 Message Received in ChirpStack ABP Mode 1 If you select Device Profile ABP or DeviceProfile_ABP_CN470 it means you want to join ChirpStack in ABP mode WA...

Страница 38: ...VATION item Figure 65 ABP Parameters 3 Next let s use these parameters to set WisNode LoRa by using AT command Let s join in ABP mode and set EU868 frequency as an example 4 If the join mode is not in...

Страница 39: ...Figure 66 Setting of LoRaWAN Mode and Class 5 Type the following AT command to set your respective Frequency Region Device Address Network Session Key and App Session Key Figure 67 Setting of Frequenc...

Страница 40: ...Documentation Center Figure 68 Setting of Device EUI and Network Session Key 6 Then join in ABP mode Figure 69 Joining of ABP Now try sending data from our WisNode LoRa to the Chirpstack...

Страница 41: ...nsor Data on ChirpStack and TTN Analyzing Sensor Data from RAK7204 WisNode Sense Home In the previous section we have successfully sent some raw data from our RAK7204 WisNode Sense Home to The Things...

Страница 42: ...a mentioned above as an example We will convert the Hexadecimal Data into Decimal Data using this converter in order to be able to understand it Figure 74 Hexadecimal to Decimal converter 1 Battery Vo...

Страница 43: ...tion in TTN 1 To start with download the decoding function through this link Parameter Hex Data Decimal Equivalent Multiplier True Value Data flag 06 73 Pressure 25 9E 9630 0 1 hPa Unsigned MSB 963 0...

Страница 44: ...s tab as shown in the image below Figure 76 Payload Format at TTN Application Page 3 Next select Payload Format as Custom Then from the decoder tab copy and paste the decoder function from step 1 Figu...

Страница 45: ...ata 2 Then click Test and it will generate a code with the decoded data as shown in the image above Testing in Real System in TTN After gateway and node go online click the uplink data record from the...

Страница 46: ...ding function through this link 2 From to your ChirpStack go to application page and click the APPLICATION CONFIGURATION tab as shown in the image below Figure 80 Application Configuration Tab 3 Next...

Страница 47: ...decoding function Testing in Real System in ChirpStack After gateway and node go online click the uplink data record from the application data at LIVE DEVICE DATA tab to check the decode status From...

Страница 48: ...ense Home which can work on EU868 frequency and make sure their firmware version isn t less than V3 0 0 1 2 Next connect these two RAK7204 WisNode Sense Home with PC through USB cable and open two ser...

Страница 49: ...oRaP2P Configuration OK Try to send a message from RAK7204 WisNode Sense Home 2 the right one to RAK7204 WisNode Sense Home 1 the left one Figure 85 Test Message Sent Success You can send more message...

Страница 50: ...204 WisNode Sense Home by using the following AT command or you can close the ADR feature of RAK7204 WisNode Sense Home by using this AT command There is also an AT command which is used to set the Da...

Страница 51: ...ome by following the steps below 1 Download and Install the STM32CubeProgrammer Software from STMicroelectronics on your Windows PC Figure 87 STM32CubeProg Download Page 2 Insert the provided jumper o...

Страница 52: ...ubeProgrammer 4 Choose the appropriate port number in the COM Port field 5 Set the Baud Rate to 115200 and the Parity to Even as seen in the figure above then Press Connect If you didn t properly set...

Страница 53: ...ense Home to work in Boot Mode again If all works well You will then see the following log Figure 92 Successful Connection Log to your Device Now that you have successfully connected your RAK7204 WisN...

Страница 54: ...on to erase all the data on RAK7204 WisNode Sense Home Figure 93 Erasing the Data in the Chip 8 Click Open File and select the correct Bootloader file that you have just downloaded Figure 94 Opening t...

Страница 55: ...you have successfully burned the Bootloader to your RAK7204 WisNode Sense Home Figure 96 Successfully Burned the Bootloader to the device 11 Disconnect and close the STM32CubeProgrammer tool WARNING...

Страница 56: ...bootloader according to the previous section it works in boot mode now Open and download the RAK Serial Port Tool Here and Connect your board via the USB interface and enter the following AT command...

Страница 57: ...x x x H supported regions are IN865 EU868 US915 AU915 KR920 AS923 RUI_RAK7204_V3 x x x L supported regions are EU433 CN470 Visit this article for more information on your local TTN frequency plan Sel...

Страница 58: ...ceed to the next section Testing the Installed Firmware In order for you to check if you have successfully installed the firmware on your RAK7204 WisNode Sense Home open the Serial Port tool again Pre...

Страница 59: ...Documentation Center Figure 102 Restarting Your Device This information means that you have uploaded the Firmware successfully Last Updated 7 29 2022 10 17 19 PM...

Отзывы: