MatchX MatchBox LoRa Gateway Setup (for AS923) and Installation

At the end of last year, I received MatchX Matchbox LoRaWAN gateway, but only quickly checked out the hardware, as I was still unclear about regulations in South East Asia, and did not have any nodes to play with.

Understanding Regulations and LoRaWAN Frequency Plans

Since then, the government published some notifications about the 920-925 MHz band we are supposed to follow here. It’s in Thai language, and I can’t still read/understand it, but I got some translation help, and some key points include:

paragraph 5 : for 920-925MHz non-RFID radio equipment

(1) max EIRP not more than 4 watts
(2) if EIRP < 50mW, no need for any license (3) if EIRP < 500mW, a license is required for importing, selling, and making your own equipment (4), and you must be in accordance with NBTC technical standard. (5) must not interfere with any licensed application. Interfering equipment must be prevented for any usage.

I’ve also learned that LoRaWAN defines frequency plans such as AS923 in Thailand, Malaysia or Japan, and based on the text above transmission power must be limited to 50mW, unless you get some special licenses which are probably impossible to get for an individual.

If you’ve ever tried to buy LoRa hardware, you’ll easily find 433MHz, 868 MHz, or 915 MHz nodes and gateways which are normally used in respectively China, Europe, and the US. However, some other countries like Japan, Korea, or India, people have to other frequency plans namely AS923, KR920-923 and IN865-867 respectively. More details can be found on The Things Network’s frequency plans page.

So how do you exactly buy hardware for AS923, for example? Leaving 433 Mhz aside, Semtech sells chips for 868 MHz and 915 MHz, but those can be re-programmed to match other countries regulations. For example, you can get 915 MHz gateways or nodes for AS923 or KR920-923, and 868 MHz or nodes for IN865-867, and configure the gateway accordingly, and update the nodes’ firmware.

As mentioned previously, I had a gateway thanks to MatchX, but so far I had no node, but this has changed as Rak Wireless send me one of their RAK811 LoRa GPS tracker (915 MHz) configured for AS923.

RAK811 LoRa Tracker Kit
RAK811 LoRa Tracker Kit – Click to Enlarge

At first, I thought the frequency plan had to be defined by the manufacturer in some binary blob, but actually the user can change this him/herself as explained in the user’s manual. The other thing you may have to take into account is the antenna, as the kits will be sold with a 868 MHz or 915 MHz antenna, and this should work with alternative frequency plans, but it may affect the range, so you may want to use a different antenna that matches exactly your frequency for longer range. I’ll just use the antennas provided by the manufacturers in this review.

MatchX MatchBox LoRa Gateway Setup for AS923

So now, that I’ve got a LoRa Gateway and a GPS tracker node, it’s time to get started. In this review, I’ll take care of the gateway first, as I’ll have to study a bit more to find out how to use both.

You’ll find documentation on MatchX website. You could install the gateway first in a proper location, but I prefer to configure it first from my office, as it’s easier to manage in case something goes, i.e. I would not need to climb on the roof…

MatchX MatchBox Serial Number

First step is to connect power the gateway through its PoE power supply with an Ethernet cable. You’ll also need to note your gateway serial number (S/N) as shown above.

MatchX Box Initial Connection
Click to Enlarge

Once your gateway is powered, you should see a new ESSID called MatchX_Box_xxxx, you can login to it using your gateway serial number, and then access the gateway IP to connect it to your WiFi router. That is if you are using WiFi, since Ethernet is also an option. Your gateway will now have internet access, and we won’t need to access it directly anymore

Instead, we’ll control everything from the cloud via MatchX Cloud.

MatchX Cloud Service LoRa ZonesSelect your location in their website, in my case JP/SEA (SEA = South East Asia), register an account, and add your gateway. You should now see your gateway’s parameters and its location in the Gateways section of the dashboard.

MatchBox LoRa Gateway Setup / Dashboard
Click to Enlarge

After a while, I could see some activity with frames received in the 923 MHz band. It was not my nodes, but it showed the device was configured properly and automatically to use AS923. That was easy. I clicked on the Global LoRa Config’s download button, and got global_config.json:


I have not studied LoRa specifications in details yet, so I don’t understand all the parameters used, but it’s clear 923 MHz is used.

I wanted to disabled Tx or find a way to limited the power to 50 mW, so I asked MatchX, and they explained that:

The TX can’t be disabled as bidirectional connection is required for nodes to join the network. The LoRa server is taking care of the maximum allowed TX power and it is within 50mW.

So that’s great, and there’s apparently no configuration to be done if you use MatchX cloud, everything is automatically configured for your country.

The company told me I should not modify global_config.json, but the file is provided for those to want to connect the gateway to a different cloud server such as TTN. Maybe I’ll try that a little later.

MatchX LoRa Gateway Installation

So now that I got configuration sorted out, it’s time to install the gateway in a good location to have a decent range. I plan to install RAK811 in a bicycle and test whether it can sent signals to the gateway from a stadium located a little over 3km (line of sight) from my home.

I did not install the gateway at the highest point in my home since I don’t trust the roof can handle with weight, but instead found a location around 3 meters high.

LoRa Gateway Roof InstallationOnce the gateway is in place, you can just insert an Ethernet cable, and put the bottom cover back.Waterproof LoRa Gateway

The gateway is rated IP65 and should be weatherproof,  but we’ll see if it can handle Thailand’s rainy season… 🙂

MatchX PoE Power Supply

The next step is to install the PoE power adapter is a location protected from the rain. The small bit with a hole makes it extra convenient as you can keep the power adapter firmly in place with a single screw.  Now connect the Ethernet cable to the PoE connector, and connect the power cord.

Matchbox LoRa Gateway PoE Power Supply
Click to Enlarge

Finally connect the other end of the power cord to an AC power socket, and you should be good to go. You could also add another Ethernet cable if you don’t use WiFi.

That’s all for today.  If you are interested in the hardware I’ll use for testing LoRaWAN connectivity, you can buy MatchBox LoRa gateway for 350 Euros on MatchX website, and purchase RAK811 LoRa GPS tracker  on Aliexpress for around $50. Just make sure you get the model with the right frequency for your location.

6
Leave a Reply

avatar
2 Comment threads
4 Thread replies
1 Followers
 
Most reacted comment
Hottest comment thread
3 Comment authors
Mark Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Mark
Guest
Mark

I’ve never understood the draw of these devices, they seem kinda pointless to me.

And I’d never thought I’d say I miss that kind of dull weather. It’s just far too hot and humid in Europe at the moment.

Member
Chaiwat

Is this one supports class C?
On hardware page(https://www.matchx.io/hardware) I can’t find detail about GW’s lora class support, but they said their node(MATCHSTICK) is support class ABC. So can i assume that MatchBox is support class C too?