LoRa Devices/Sensors’ Step by Step Explanation Document
- STEP 1: LoRa Network Server Setting
You can use either your own LoRa Network Server (or 3rd Party LoRa Servers such as The Thing Network (TTN), Actility, Loriot, Kerlink etc.) or NETOP’s LoRa Network Server.
1.1 If you want to use NETOP’s LoRa Network server
1.a. Please direct your LoRa Gateway to NETOP’s Server. You should use this information and set your Gateway’s settings:
- IP: server.netop.io
- Port_up: 1700
- Port_down: 1700
1.b. After directing your Gateway, please send an e-mail to email@example.com The e-mail subject should be as LoRa Gateway MAC Address. Please write both your LoRa Gateway MAC address (example: 7276ff000b030995) and your LoRa sensor IDs which you did buy from NETOP. And wait for NETOP Support Team’s confirmation to continue with the next step. As soon as your e-mail is received by NETOP Support Team, they will contact you.
1.2 If you use any other LoRa Network Server (The Thing Network (TTN), Actility, Loriot, Kerlink, etc.)
Please use your LoRa device keys (you can find them onto the device enclosure or your e-mail as excel document) and add your LoRa device(s) onto your LoRa Network Server. Please remember that NETOP LoRa Sensor is set OTAA (as default).
- STEP 2: Activate Power Supply
There are 3 different enclosures:
You can prefer to watch “How to Videos” from our YouTube Channel https://www.youtube.com/netoptechnology
- If your sensor type is “IP65 STANDARD BLACK BOX” (see at the picture on annexes part at the end of the page) just open the enclosure and plug the battery connector to the sensor board as it is shown on the Picture.
- If your sensor type is “IP65 ROUNDED BLACK and YELLOW BOX” (see at the picture on annexes part at the end of the page) just open the enclosure and pull the yellow battery tape(s) in order to activate the battery.
- If your sensor type is IP67 GREY BOX (see at the picture on annexes part at the end of the page) just open the enclosure and pull the yellow battery tape(s) in order to activate the battery.
- STEP 3: LED’s Meaning
Step-3.1) BLUE The device is getting information from its electronic components (sensor).
Step-3.2) RED (this step is only for OTAA sensors, for ABP ones this step will be skipped): The device did send JOIN request, and waiting for reply from LoRa Network Server. When the devices can get reply from LoRa Network Server, the RED LED will be off.
(If the LED is stuck as RED, whether Join message can’t sent/arrived to LoRa server or could not be communicated on Server side.)
Step-3.3) GREEN: The first message of device, is sent as a “confirmed message” to the LoRa network. Green means, the device did send this message. When it gets ACK (reply) from LoRa network, it will be off.
Step-3.4) WHITE: It means that sensor sends data to the LoRa network.
- STEP 4: IoT Platform
You can prefer to use either “NETOP IoT Management Platform” or other LoRa IoT Platforms:
4.1 If you prefer to use NETOP’s IoT Platform
- Please visit here: The IoT Platform and create an account. You will receive an activation e-mail. Activate your account by using the link in the e-mail.
- Login with your e-mail and password.
- Please click the “Devices” tab on the left side.
- Click the “Add New Device” tab, on the right and top.
- Name it as you wish. You can find “Device no” on your Sensor enclosure.
- Click “Save”
- Please go to the “Devices” tab on the left tab. And check it out that the device is on the list. Click on the device. You will receive its data here.
4.2. If you use any other IoT Platform
You will receive raw data and you should decode the data by yourselves. Please find the payload decoding document for parsing it, Payload Decoding Document.
*** REMINDER ***
YOU CAN ADD and MANAGE UP TO 10 DEVICES FREE ON The IoT Platform
- STEP 5: Data Forwarding (Optional)
If you prefer the “NetOP IoT Management Platform” you can forward your data to the most popular IoT platforms such as AWS, IBM or you can direct your data to any other IoT Platform by using different protocols. To forward your data:
- Please go to The IoT Platform
- Click the ” CREATE DATA FORWARD” tab.
- Select the device(s) from the “left” table to the “right” table to forward their data.
- There are many options in which you can direct your data. You can select either Azure, SAP (or any platform which you prefer) or HTTP, MQTT, TCP to forward your data.
- Click Save
HERE IS READY TO USE FOR DATA FORWARDING:
|AWS IoT HUB||SAP LEONARDO IOT|
|MICROSOFT AZURE IOT HUB||SQL DIRECT|
|HTTP POST||TCP PUSH|
|IBM bluemix||TLS SOCKET|
- STEP 6: LoRa Configuration Cable Settings (Optional)
It is not a must to have LoRa Cable with you. This step is optional for people who request to set/change some of LoRa settings by their selves.
6.a.) You should have “NETOP LoRa-IoT configuration cable” with you to do these settings by yourself. By using the cable, you can set/change many things by yourselves. Please find detailed information about what you can do with the cable, here
6.b.) Please download “NETOP Configurator Tool” program (it works on Windows PC) here: Download
6.c.) Check/Update your PC’s drivers.
Please plug into the configuration cable your PC. And then go to “Device Manager”.
If your driver is not updated, you may see an error as below:
In this case, you should update your driver. You can click “right mouse clicks” and update it. If this does not work.
Please go to Silicon Labs Website and download the driver depend on your Windows Version:
After updating your driver, you should see that the device can be detected on “COM Ports” as below:
6.d. How to connect the Cable onto LoRa Device
Please remember that: During your configuration process, you should put the Configuration cable stable onto the “UCI” part onto the hardware.
You can watch from here how to use the cable
- Please plug OUT all your batteries from your LoRa device.
- Plug IN Configuration cable into your PC and put the other side of the cable onto the UCI part,
please put the cable onto the UCI and put it stable continuously during the process.
- Open the “NETOP Configuration exe” program.
- Click the “Enable Voltage Supply” button on the left.
- Now you should see the LED on the device is blinking
- Click the “Get Configuration” button on the top.
And then you should see:
7. Please click “Slot 1” on the top in order to change the data transmission period and click “Post” buttons.
Read Period means: How often the device sense/collect data
Transmit Period means: How often the device sends data to the cloud.
8. Please click the “LoRa Tab” on the top. And set/change your settings and click “Post” buttons. At this tab, you can change your device’s:
- Adaptive Data Rate (Enable /Disable)
- Data Rate
- Confirmed Uplink
- OTAA or ABP selection
- Duty Cycle and many more …
After that, you can set/change any part. Please be sure that after doing any change click “Post” just right side of every area. And then for a double check please click the “Get” button in order to see your updated values is written on that part or not.
After you set everything, please click “Get Configuration” on the top. And do a double-check for that all information is set correctly. If it is okay you can unplug the cable from your computer and also from your “UCI” part onto the device.
After completing these steps, you have your are able to configure your LoRa device, so you can insert the battery(ies) and use your device with its new configuration.
- EXTRA 1: How to Change Data Transmission Period Over The Air (Without using Configuration Cable)
If you have a LoRa Configuration cable and the device is near to you, you can prefer to do it with cable as well. On the other hand, You can also send a message to NETOP LoRa sensors in order to change its data transmission period. You should send “hex” messages to the sensor(s) by using 223 port. Please have a look at Conf v1.1 the enclosed document for more details, please go to this link
P.S. Regarding the link above, you may have a look here for “How to calculate CheckSum”:
You should find the checksum as “NOT” version of “Total Bytes (last 1 byte of total bytes you can have a look at the example below, it gives “76”)”. Meaning that for this example >>
81 + 10 + 00 + 01 + f3 + 00 + 0c + 45 + 23 + 00 + 00 + 00 + 0a + 45 + 24 + 00 + 00 + 00 + 0a = 76 >> NOT of “79” is “89” (CheckSum)
- EXTRA 2: How to Change Device Sub-Band (Channels for US915 Devices)
Please remember that the default channels of US915 are “8-15th and 65th“ which is compatible with TTN (The Things Network’s Platform) too. So if you use this channel (or if you use another channel and you did let us know before, there is no need to do anything, you can just skip this part. Otherwise, you need to set your sub-band for other channels by using the configurator windows exe program. To change the channel you should have a configuration cable and the configurator exe program (you can find the configurator exe program here: Configurator Program) (If you have any problem about the configurator exe program please have a look at Section of “STEP 6: LoRa Configuration Cable Settings” if you may need any help about the configuration cable or program).
When you open the configuration program and insert the cable into your device, you should see this output on your screen:
1.) Click “LoRa” Tab on the configurator program
2.) Get Configuration
3.) “00000002000000000000FF00” (you can use this on your TTN platform) is for the default Channel (8-15th and 65th) . So, as an example: If you want to set your US915 sub-band to Sub-band 1 from Sub-Band2, please remove this the default “hex” above and write
4.) Click “Post” Button
5.) Click “Get” Button, and please do double check that you can see this value (
- EXTRA 3: How to Upgrade Firmware
Please do not execute these steps, unless you have received advice for this from NETOP Engineers.
- To update your firmware, please go to the link and download Firmware Upgrade Tool (which works on Windows), here: NetOP_Firmware_Upgrade_Tool
- You will have a “Hex” File to update your Firmware. Please be careful that the location (path such as C:\Users\YourPCName\Desktop\NetOP Firmware Upgrade Tool of the Lora.hex file) should NOT contain any non-English character such as “İ,ı,ö,ü” etc.
- Please find step by step document inside of “NetOP_Firmware_Upgrade_Tool.rar” document which you have already downloaded from Step 1st below.
- Please be sure that you are able to see all these steps which are explained on the PDF documents, otherwise, your firmware may not be upgraded well.
- SENSOR BOXES