![Quectel KG200ZABTB](kg200z.png)
The Quectel KG200ZABTB is a high-performance LoRa module launched by Quectel, which provides ultra-low power consumption and long-range wireless transmission applications.
The module integrates an ARM Cortex-M4 core with the modulations of LoRa, (G)FSK, (G)MSK and BPSK, supporting LoRaWAN standard protocol, as well as 470–510MHz and 862–928MHz LoRa frequency bands. Additionally, it incorporates AES hardware encryption for enhanced security.
In this guide, we focus on connecting the evaluation board (EVK) to The Things Stack. This board can be used for programming the KG200Z module.
Provisioning Information
To get the provisioning information of the EVK we need to connect to the board via serial. The steps for connecting to it via serial depends on what OS you are using, MacOS/Linux or Windows.
MacOS / Linux
On MacOS and Linux, you can use the handy built-in screen
command.
First step is to find out the board address.
Before plugging in the board, open up a terminal and type ls /dev/tty.*
. You should see a couple of addresses show up.
![](cmd-ls.png)
Then plug in the EVK and turn it on. When you try the command again you should see a new address show up.
![](cmd-ls-dev.png)
Now use the newly discovered board address to connect to the board using the screen <DEVICE-ADDRESS> 115200
command.
![](cmd-screen.png)
Once you do that, you should see some text show up in your terminal. Now press the reset button on the EVK to have the device show its provisioning information. Select and copy the AppKey, DevEUI and AppEUI and store them somewhere.
![](prov-info.png)
Using these parameters we can now proceed with onboarding the device to The Things Stack.
Windows
To connect to the EVK using Windows, a third party tool that can interface with the EVK needs to be installed first. Make sure your board isn’t yet connected to your computer.
For this tutorial we use SimpleCom, but any UART serial tool should do the trick. Download the ZIP file, unzip it and run SimpleCom.exe.
When you run the tool, you will see the following screen. If you select the COM dropdown, you will probably see a couple of COM ports.
![](win-com.png)
Now close the program (using the Cancel button), then plug in the EVK and turn it on. Run the program again, and when you select the dropdown again you should see a new COM port show up. Select that one and make sure the Baud Rate is set at 115200
.
![](win-com-dev.png)
Once that is done, hit Connect and you should see some text show up in the terminal. Now press the reset button on the EVK to have the device show its provisioning information. Select and copy the AppKey, **DevEUI and AppEUI and store them somewhere.
![](win-com-prov.png)
Using these parameters we can now proceed with onboarding the device to The Things Stack.
Note:
Quectel KG200ZABTB cannot be onboarded to The Things Stack using QR code.Onboarding to The Things Stack
The Quectel KG200ZABTB has to be onboarded manually.
To do this, in the End device type section, under Input Method, select Enter end device specifics manually option. The Manually adding devices and Over the Air Activation (OTAA) guides explain this procedure in detail. Following details are Quectel KG200ZABTB-specific:
- LoRaWAN version: LoRaWAN Specification 1.0.2
- Regional parameters version: RP001 Regional Parameters 1.0.2 revision B
After configuring your device, select the Register end device button.
![Settings for manual registration](evk-manual-prov.png)
Monitoring Live Data
When your device is registered, select the Live Data tab to view all messages exchanged between the end device and The Things Stack.
![Live data tab](evk-live-data.png)