This manual describes how to use the HW revision 1.2 of the NB | DESK with installed firmware version 3.10.0.

Content

Hardware

USB Connector

Power Switch

SIM card slot

LEDs

Buttons

Display

Backlight

The display has an orange backlight to increase readability. After the device is powered on or after a button was pressed the backlight will turn on.
It will automatically turn off again after 1min if the device is only powered by battery or after 5min if the device is powered by USB.

Footer

The footer indicates in the middle the currently displayed page number and left/right to that with small letters the functionality of the buttons

Some display pages have their own behaviour for button 1 and button 2, which are described in the corresponding sections.

Page 1 - "NB | DESK"

This page is only shown during boot-up of the device after turning on the power switch.
It displays the installed NB | DESK software version and after the modem booted also the unique identifier (in this case the modem IMEI) of the device and the supported NB-IoT bands.

Page 2 - "Network"

This page is used to select a network operator via his PLMN (Public land mobile network) identifier. A manual selection can reduce the time to do an attach compared to an automatic attachment.

The PLMN setting can only be changed if the NB-IoT modem is detached. In this state, the display shows the country and the operator name of the given PLMN.
Button 2 (indicated with "P" in the footer) can be used to alternate between the various operators and the automatic mode. Currently, the following operators are available:

Display (PLMN - Country - Operator)

Operator

26201 - Germany - DTAG

Deutsche Telekom AG

26202 - Germany - VF

Vodafone Germany

26209 - Germany - VF Lab

Vodafone Germany (IoT Future Lab)

21401 - Spain - VF

Vodafone Spain

If the NB-IoT modem is in any other state than detached (e.g. attached, transmitting, ...) the page only displays the current selected PLMN and a hint that you first need to be detached in order to change the PLMN.
Also, the behaviour of button 2 is changed to default, which is to detach from the cell (indicated with "D" in the footer)

The selected PLMN will be stored in the non-volatile memory and will be automatically reloaded every time the device is rebooted.

Page 3 - "TX Mode"

The "TX Mode" display page can be used the enable periodic transmission behaviour. This page also changes the behaviour of the first two buttons:

The preselected default after booting is the manual transmission mode. In this mode, the NB|DESK will only transmit data if explicitly triggered through button 1 on any other display page.

If the TX mode was set to "automatic" an internal timer will start with the given interval time (e.g. 10 min). The display will also indicate the remaining time until the next transmission attempt (e.g. "Next TX: 9 min").

After the timer has expired the NB|DESK will try to trigger a transmission of the sensor values (and cell info) with the same logic which is used on a manual transmission (e.g. attaching, if the modem is not attached etc.)

During the automatic TX mode, an additional (manual) transmission can always be triggered with button 1 on any other display page without interfering with the timer.
But if an interval change is triggered (button 2), the TX mode will be set to "manual" and the internal timer will be stopped!

The selected TX mode will be stored in the non-volatile memory and will be automatically reloaded every time the device is rebooted.

Page 4 - "NB-IoT"

The NB-IoT page displays the current status of the NB-IoT modem and the result of the last NB-IoT transmission (not shown if the device is not attached or transmission is currently ongoing).
The following example shows the modem in the attached state and the last triggered transmission result was successful.

The modem state machine is described in the following diagram.

Modem States:

The "Last TX result" can have the following values:

Please note: If a TX failure occurs the modem will detach from the network in order to reset the connection and UDP socket configuration.

Page 5 - "Cell (1/4)"

This page shows the basic cell parameters if the modem is attached to a cell.

Page 6 - "Cell (2/4)"

This page shows the current power values of the cell connection if the modem is attached to a cell.

Page 7 - "Cell (3/4)"

This page shows additional values of the cell connection if the modem is attached to a cell.

Page 8 - "Cell (4/4)"

This page show data associated with the power safe mode and the active time and periodic TAU values as determined by the base station.

One can observe how the modem goes into idle mode as shown by RRC and how the PSM is entered after the time given under T3324 has elapsed

Page 9 - "Sensors"

This page displays the last read sensor values.

Page 10 - "Acceleration"

Proper acceleration is given as a vector (x,y,z) measured due to Earth's gravity g = 9.81 m/s2

Page 11 - "GPS"

The GPS module is powered on together with the modem. After that, the GPS automatically starts searching for the current position.
The number of GPS satellites in view is shown to indicate the quality/progress of the ongoing search.

Depending on the GPS signal strength the initial positioning can take more than one hour.
The result shows the timestamp of the last GPS signal reception, the longitude, latitude and altitude (in meter).

Page 12 - "Battery"

The battery page shows the current status of the attached battery.

The battery status can be:

The battery level is given in the range of 0 ... 100%.

Advanced Features

Serial Connection

It is possible to have a look at the internal debug messages and talk with the U-blox SARA N2XX modem directly via AT commands.
To do this the NB|DESK USB needs to be connected to a PC via a USB cable. Then the device is recognized as a COM port with the name "Silicon Labs Dual CP210x USB to UART Bridge: Standard COM Port".
The OS driver can be found on the Silicon Labs Website.

Open a serial console (e.g. U-blox m-center) on the attached PC with the following COM port settings:

After the COM port is connected the NB|DESK prints EASY-IF (see the section below) messages on the console.

By default, the device is configured to automatically update its sensor values. It is possible to disable/enable these by sending the lower case letter "l" via console to the device.

After the modem has booted it is possible to send AT commands (starting with "AT+") directly to the modem.
The AT manual can be found on U-blox website: SARA-N2_ATCommands_(UBX-16014887).pdf

Tunnel Mode

If you don't want to use any of the NB|DESK functionality (automatic connection, sending of sensor data) and only want to talk to the modem via AT commands you can put the device in a so-called "tunnel mode".
This can be achieved by sending character "a" via serial console after the device booted. From now on everything typed in the console will be sent directly to the modem and everything received from the modem will be printed out as is.

These are the basic AT commands you need to attach to a cell and transmit data via UDP:

See the AT manual for more information.

EASY-IF

Starting with Firmware version 3.2 the NB|DESK device supports the Exelonix EASY interface to control the NB IoT modem via the USB UART interface. For more details see the EASY-IF specification.

Troubleshooting