Setting up a LoRaWAN testing environment
A LoRaWAN Gateway provides the link between the NBnano platform and your devices. Depending on the number of devices and area you are covering, you may need more than one gateway.
This article contains all the required information to configure and to connect your Gateways to the NBnano, and how to set up a private LAN with static IPs connecting your devices.
|Registered NBnano + package contents
|Ethenet Switch (not included)
|Gateway Package Contents
Configuring the NBnano
Before configuring gateways, the NBnano must have its final LAN settings, and LoRaWAN® region configured.
Step 1: Connect to your NBnano’s WiFi network using the credentials configured during registration.
Step 2: Open your browser and browse to “192.168.12.1” to reach your NBnano Platform.
Step 3: Log in and navigate to Project -> Network, here you will see 1 network.
Step 4: Change the network interface labeled BMS from DHCP to Static and assign it a new IP address. Here we use 192.168.99.11 as the IP address for the NBnano. Click the Apply button for your changes to take effect.
Configuring the LoRaWAN® region
Step 1: Navigate to Project -> Settings -> LNS configuration, here you will see a list of available LoRaWAN® Regions.
Step 2: Change the LNS frequency to the region you wish to use and click the Apply button for your changes to take effect.
Configuring the Gateways
If your NBnano is running version V3.3.7 or Lower please refer to the articles below to configure your gateways:
Step 1: To configure your gateways plug them directly into the NBnano using an Ethernet cable. Ensure both devices are powered by their power supplies and turned on
NOTE: DO NOT POWER THE GATEWAY USING THE USB PORT ON ANOTHER DEVICE. GATEWAY REQUIRES 5V 2A SUPPLY TO FUNCTION PROPERLY.
Step 2: Navigate to Devices -> Gateways and click on the Gateway Scan button.
Step 3: The NBnano will find the connected gateway for you to configure its network settings. Please ensure the NBnano IP and LNS frequency are correct before continuing.
Note: If the gateway is already configured it will not appear in the scan, and a manual configuration will be required. Please refer to the articles “Manually Adding Gateways to the NBnano” and ” Manual LoRaWAN LAN Setup” for manual configuration instructions.
Step 4: Configure the Gateway’s new network settings, ensuring it is on the same range as the NBnano. Note down the WiFi password as you will need this if manual configuration is ever needed.
Step 5: Click apply, and the gateway will re-start with the new configuration. Your new gateway should now appear in the list of gateways. Once it boots and successfully connects it will show as green. You may need to refresh the page for it to update.
Network Physical Setup
Connect your NBnano and Configured Gateways to an Ethernet switch via their Ethernet ports. Ensure that antennas are attached to the gateways, and all devices are powered using their provided power cords.
Your LoRaWAN® environment is now set up and ready to use. To access the NBnano platform connect over WiFi or with a PC connected to the Static IP network.
If connecting using a PC use the following steps to configure its network settings.
PC network configuration
1: Open your Control Panel and click the network & internet.
2: Click Network and Sharing Center
3: Here the networks you are currently connected to are shown. Now click the Ethernet right after the word ‘connections’.
4: A new window will pop-up. Click ‘properties’ and a new window will pop-up again.
5: Now Look for Internet Protocol Version 4 (TCP/IPv4) and click ‘properties’.
6: In the new window choose ‘use the following IP address’. Enter the information as per the image below:
You can now access the NBnano Platform through the LAN using a browser pointing at the NBnano IP address (In this case 192.168.99.11).
If you have any issues, please Contact us.