LTE (NB-IoT, CAT-M1, GPRS) Devices/Sensors’ Step by Step Explanation Document
NOTE: This is a draft version of this page, it will be completed all necessary information as soon as possible. Thank you very much for your understanding. Please let us know your feedback if any part is not clear and needed more information/explanation. Thank you!
P.S. If you have any questions please send an e-mail to [email protected]
- STEP 1: Open The Device’s Enclosure
There are 3 (three) different enclosures. As a first step, you should open the enclosure. You can watch the “How to open enclosure” video if you may need any help.
- STEP 2: Setting the Switch to on “USB” part on the device (This step is OPTIONAL)
If you have already shared your APN with us, you can see your data on the NetOP platform, you don’t need to do any settings. Please just skip this step. Otherwise, you can set your APN or IP address by yourselves by using standard Micro USB Cable.
Please change the switch status to the “USB” on the device (if it is not on USB Part), as below:
- STEP 3: Updating USB Driver (OPTIONAL, If you pass Step-2 Please skip this Step too. Your device should be plug and play and no need to do any configuration)
Please update your COM Port Driver by using STM32 drivers. You will receive these files via an e-mail.
After updating your Driver, please insert a Micro USB cable to the device and also to your Computer. To be sure that your Driver is updated correctly, you should see STMicroelectronics Com Port as below:
If you see Your COM Port (It could be different than COM3) as above, please continue with the next steps, otherwise please check your driver and if you have any issue please contact us.
- STEP 4: Install NetOP Configuration Program Exe (OPTIONAL)
You can skip this step. Your device should be plug and play and no need to do any configuration.
Please install the NetOP Configurator Exe program which works on Windows (We will be providing Mac and Linux Versions soon!). You will receive these files via an e-mail.
- STEP 4.1: Open The Configurator Program to Change/Set Settings
Please be sure that, Sim cardholder should be EMPTY (No Sim Card inserted) to change/set settings. And the switch should be on the “USB” part onto the device (You can have a look at the picture on STEP-2 for a double check). To change the settings:
4.1.1. Be sure to see Configurator found at COM Port message.
4.1.2. Click “Get Configuration” Button as below:
4.1.3. You should see its default settings as below:
4.1.4. Click “Slot 1” Tab and then “Get Configuration Button” on the tab. After that, you can change the data transmission period by yourselves. (Below screenshot is an example with Temperature Humidity Sensor, your settings would be different depending on your sensor type).
Please set the same value for both “Read Period” and “Transmit Period” and a minimum of 1 minute.
If you want to change these values, please change it and then click the “Post Configuration” button on the Top. And after that, kindly do double check by clicking “Get Configuration” Button to see that every setting looks okay.
4.1.5. To change Network Settings, please click the “LTE” tab and then “Get Configuration”:
Please set your Settings for the sections of:
Your NB-IoT Band (Frequency) > B1: 2100MHz, B3: 1800MHz, B8: 900MHz, B5: 850MHz, B20: 800MHz, B28: 700MHz
LTE-APN (Your GSM Sim Card’s NB-IoT APN)
Communication Protocol > UDP. We kindly advise testing with UDP as a first. After that, you may test MQTT as well.
Socket Server IP Name > 188.8.131.52. This is the NetOP IoT Platform address, if you want to use another Platform, please set its IP address. We also kindly advise you to test your device on the NetOP platform as a First.
Socket Server Port (HEX numbers) > 1883 (Netop’s Port)
We use HEX numbers (instead of Decimals) on Socket Port Side. So, if your Port is 6675, please use “1A13“. Because 1A13 (HEX) = 6675 (Decimal).
After completing your all settings please click “Post Configuration” and then “Get Configuration” to do double-check.
- STEP 5: Insert NB-IoT Sim Card to the Device
Please insert an NB-IoT Sim Card (which has NO PIN CODE) to the device. And change the status of “Switch” on the “BAT” part.
- STEP 6: Activate Power Supply
There are 3 different enclosures. When you insert power supply to the device you should see that “LED is blinking”.
You can prefer to watch “How to Videos” on 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 7: Trace Logs (Optional)
If your NB-IoT sensor does not connect to your NB-IoT Network, it could be because of some reasons such as:
- Wrong NB-IoT Network settings such as APN, Frequency, etc.
- Weak/low of NB-IoT Signal
- Your NB-IoT Connectivity Provider White-Black List Blocking for not known IP address
- Virtual Gateway or similar Structure of your GSM Provider Company; in this case using their IP address and port number could be a “must”. And then direct your data from their platform, as an example T-Mobile with 1nce NB-IoT Sim card in The Netherlands.
- And similar possible reasons…
So in order to detect some possible problems, you can do debugging and see whether the device can get IP and connect to your NB-IoT network/base station or not. So, you can detect where (on which step) the possible problem is on.
For debugging, please find the “Terminal” program (you can use any network listener program too) Terminal program So you can trace your network logs on your NB-IoT devices and observe that whether the device can connect to the NB-IoT network or not. If not, you can detect on which step it is stuck. Let’s continue step by step.
- Please close the “NETOP Configuration exe program”
- Change the “Switch” Direction to the USB part on the device
- Be sure that your antenna and your Sim Card (which has NO PIN Code) are inserted into the device.
- Plug IN Standard Micro USB cable into your PC and put the other side of the cable onto the USB port on the device
- Open the Terminal Program which you downloaded from the above link.
- Set the settings as below and click “Connect”:
After connecting, you should see some output as below (on this example, there is no NB-IoT Signal and it can not find the NB-IoT Signal as you can see its output):
- STEP 8: IoT Platform
You can prefer to use either the “NETOP IoT Management Platform” or other IoT Platforms. But please remember that NETOP NB-IoT sensors work by using UDP (protocol).
- If you prefer to use NETOP’s IoT Platform
If you don’t give any extra information about your IP Address and Port Number to NETOP, the default IP Address and Port number belong to the NETOP IoT Platform and should be ready to connect. But if you need to set it to your NETOP NB-IoT devices, here it is:
NETOP NB-IoT IP Address: 184.108.40.206
Port Number: 1883
- 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 “Devices” tab on the left side.
- Click “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.
If you use any other IoT Platform (it is a must to have UDP support)
If you want to get your data onto other platforms there are 2 (two) ways:
- If your platform can support UDP, you can get your data from NB-IoT Sensors to directly your cloud. So you should set your IP address and Port Number.
Please visit the “STEP 3: NB-IoT Network Setting” part for “how to do” details. In this case, you will receive raw data and you should decode the data by yourselves.
Please find NETOP payload protocol decoding document from Payload Decoding :
- You can use the NETOP IoT platform, and direct your data by using any protocol such as HTTP, MQTT, TCP, Web socket, etc.
Please visit the “STEP 8: Data Forwarding” part for “how to do” details.
YOU CAN ADD and MANAGE UP TO 10 DEVICES FREE ON The IoT Platform
- STEP8: 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|
- SENSOR BOXES