Monogoto
Back to Monogoto website
  • Welcome
  • Getting Started
    • Quick Start
    • Device Configurations
      • IoT Modules
        • NORDIC nRF9160 DK
        • Quectel BG95-MX
        • Quectel BG96
        • Murata LBAD0XX1SC-DM
          • Satellite NTN Network
        • Sierra Wireless WP7607
        • Sierra Wireless WP7610
        • Sierra Wireless MC7700
        • SIMCom SIM7070G
          • Waveshare SIM7070G
        • SIMCom SIM7600G-H
          • Waveshare SIM7600G-H
        • Telit HE910
        • Thales Cinterion TX62
        • u-blox SARA R4
          • SODAQ SARA R41XM
        • Cellular Devices
          • Openwrt EG95
          • ProView 4GPro-W
          • Teltonika RUT240
          • Teltonika FMB920
          • InHand IR302
          • Provision-ISR PR-LTE01W
          • Sierra Wireless RV50 AirLink
          • Smart Cash Register Configuration to Use Cellular SIM as WiFi Backup
          • Nayax Nova 40
      • iPhone Device
      • Android Device
      • Raspberry Pi
    • Monogoto SIM
      • IoT SIM card
      • Embedded SIM
      • eSIM
      • iSIM
        • Murata LBAD0XX1SC
        • Quectel BG770A-SN
      • SGP.32
        • Kigen Pulse
      • Monogoto SIM Tool Kit (MTK)
    • Cellular Identities in Monogoto
    • Coverage Lists
      • Identity B Coverage
      • Identity C Coverage
      • Identity E Coverage
      • Identity F Coverage
      • Identity P Coverage
      • Identity U Coverage
      • NTN Satellite Coverage
      • LP-WAN Coverage
    • Features List
    • Community Forum
  • FAQ
  • Hub
    • Intro
      • Signup
      • Login
      • Logout
      • Users
        • Create a new user
        • Delete a user
        • Manage users
        • User password reset
      • General Elements
    • Dashboards
      • Active SIMs and Data Usage
        • Daily Active Things
        • Daily Data Usage
        • Top Consuming Things
        • Top Profiles in Use
        • Top Groups by Data Usage
        • Top Networks by Data Usage
        • Top Groups by Active Things
        • Top Networks by Active Things
      • Data Flows
        • Data Transfer
        • Top Destinations
        • Breakout
        • Services
        • Protocols
        • TCP Flags
        • Top Things (upload/download)
    • Things
      • Thing details
        • Understanding OPLMN and FPLMN on the Thing details page
      • Quality of Service
        • Thing QoS tests for public connectivity
        • Thing QoS monitoring for private connectivity
      • SMS
        • Incoming SMS
        • Outgoing SMS
        • SMS Monitoring
      • Location Service
      • NetFlow
    • Campaigns
      • Campaigns Table
      • Campaign Details
      • SMS Campaign
    • Private Networks
      • Backhaul
      • Edge
        • Edge Events
          • Time
          • Messages
          • msg-type
          • Node
          • Direction
          • Interface
          • Type
      • Radio
    • Inbox
    • Integrations
      • Slack
      • Zapier
      • Webhook
        • Webhook CDRs
          • Webhook SMS CDR
          • Webhook DATA CDR
      • Email
    • Captures
      • Basics on How to Read a Packet Capture File
    • Orders
      • Create a new order
    • Payments
  • Advanced Console
    • Intro
    • Security
    • Network
      • Create new Network
      • Edit Network Settings
      • Apply Network Settings
      • Delete Network
      • Add Network NAT
      • Edit Network NAT
      • Delete Network NAT
      • Add Network Route
      • Edit Network Route
      • Delete Network Route
      • Add Network VPN
      • Network VPN status
      • Edit Network VPN
      • Delete Network VPN
      • Download Network VPN configuration
      • Reconnect Network VPN
      • Ping Network VPN
      • How Devices in The Same Network Can Communicate with Each Other?
    • Things Groups
      • Create Things Group
      • Assign Things to Group
      • Edit Things Group
      • Delete Things Group
      • Override Roaming Policy
    • Things
      • Define Thing Status
      • Edit Things Details
      • Refresh Connection
    • Alerts
      • Alert Metrics (types)
      • Create New Alert
      • Disable/Enable Alert
      • Edit Alert
      • Delete Alert
    • Global Pools
    • Price Plans
    • Webhooks
      • Outgoing (MO) SMS Webhook
      • Incoming (MT) SMS Webhook
      • Outgoing (MO) Voice Webhook
      • Incoming (MT) Voice Webhook
      • Triggered Alert Webhook
  • Developer
    • API
      • Authentication
      • Things
        • Get Things List
        • Get Thing Information
        • Get Thing State
        • Update Thing State
        • Update Thing Name
        • Update Thing Description
        • Get Thing Data Session Status
        • Get Thing ICCID using IMSI
        • Get Thing Lifetime Data Usage
        • Get Thing Events Logs
        • Ping Thing IP Address
        • Lock Thing to IMEI
        • Download Thing PCAP File
        • Refresh Thing Network Connection
        • Get Things Services Usage Report
      • Things Groups
        • Get Things Group List
        • Move Thing to Different Things Group
        • Get Things Group Information
        • Lock Things Group to IMEI range (TAC)
      • eSIM
        • Get an eSIM
        • Cancel an eSIM
        • Download an eSIM
      • Alerts
        • Get Triggered Alerts
      • SMS
        • Check if MT SMS was Received
        • Send SMS to Thing
      • Pricing
        • Get Pricing Plan Information
      • Get Roaming Policy
    • Cloud Integrations
      • AWS IoT Core
      • Ubidots
  • Private Networks
    • Intro
      • Getting Started
      • Spectrum Allocation
    • Monogoto Edge
      • 4G Edge Components
      • 5G Edge Components
      • Edge NUC
      • Edge API
        • Authentication
        • Get Edge Configuration
        • Get Edge ID
        • Get Edge CID
        • Get MME S6A And AMF AUSF Status
        • Get Radio List
        • Get Subscriber Information
        • Get Subscription Status
        • Patch Subscription Status
        • Get IMSI IP Mapping
        • Patch IMSI IP Mapping
        • Delete IMSI IP Mapping
        • Get PLMN
        • Post PLMN
        • Get Network Operator Name
        • Patch Network Operator Name
        • Get APN
        • Get APN IP Pool Mapping
        • Get CDR Logs
        • Post PING
        • Get iperf
        • Patch iperf
        • Get Speed Test
        • Get Data Speed
        • Get Capture
        • Post Capture
    • eNodeB
      • Airspan AirVelocity 1500
      • Baicells Nova 227
      • Baicells Nova 442i
      • Baicells Neutrino 430
      • Baicells Nova 230i
      • BreezeCOMPACT 1000
      • Foxconn T99B226
      • Ubiik goRAN
      • Ubiik FreeRAN
      • T&W N02008
      • Mosolabs SCE4255W
      • Mosolabs SCO4255P
    • gNodeB
      • Mosolabs SCE5164
      • Baicells Stellar 227
    • CPE & UE
      • Airspan AirSpot 5410
      • Sierra Wireless EM7565
      • DG505G CBRS 5G USB Dongle
      • DG10 CBRS USB Dongle
      • D-Link DWP-1010W CPE
      • D-Link DWM-311-G 5G M2M
      • D-Link G530 Router
      • IPC SCB800 CBRS Camera
      • Telit LM960A9-P
      • Moxa 5G CCG-1510-US-T
      • InHand 5G ODU2000
      • Peplink MAX BR1 Mini 5G
      • T&W 5G Router
      • Telit LM960A18
      • Baicells EG7010C-M11 CPE
      • Baicells EG7035E-M11 CPE
      • Baicells EG8015G-M11 CPE
      • Telrad 9000 CPE
      • SRW620 CPE
      • Amit IDG500-0GT01
      • Jacs TD0231 Router
  • NTN Satellite Networks
    • NTN Satellite Coverage
    • NTN Billing
    • NB-IoT: Signaling NIDD vs IP Connectivity
    • VPNs in NTN
    • UDP Communication in NTN
    • How to Order NTN Developer Kit?
    • NTN Certified Devices
      • NTN Certified Modules
        • Murata LBAD0XX1SC-DM Satellite NTN Network
        • Quectel BG95-S5 Satellite NTN Network
        • Quectel BG770A-SN Satellite NTN Network
        • Quectel CC660D-LS Satellite NTN Network
        • SIMCom 7070G-HP-S Satellite NTN Network
        • Murata ALT1250 Satellite NTN Network
      • NTN Certified Chipsets
  • University
    • AT Commands
      • What AT Commands Should I Use to Debug a Connectivity Issue?
      • How to Send AT Commands to a Teltonika Router?
    • LTE bands
    • RAT Type (Radio Access Technology)
    • Low Power Modes: eDRX & PSM
    • What is MCC/MNC?
    • Glossary
Powered by GitBook
On this page
  • Quick Navigation
  • Prerequisites
  • Getting Started with the nRF9160 DK
  • Connect to the nRF9160
  • Program the Development Kit with the at_client sample
  • Connect the nRF9160 to Monogoto
  • Query device information
  • Network Configuration
  • Network Activation
  • Build a tracking application
  • Prerequisites
  • Add the nRF9160 to nRF Cloud
  • Useful Links

Was this helpful?

  1. Getting Started
  2. Device Configurations
  3. IoT Modules

NORDIC nRF9160 DK

Get started with the nRF9160 Development Kit

PreviousIoT ModulesNextQuectel BG95-MX

Last updated 3 months ago

Was this helpful?

The nRF9160 DK is a cellular IoT development kit for LTE Cat-M1, NB-IoT, GNSS and Bluetooth LE. It is an affordable, pre-certified single-board development kit for evaluation and development of the nRF9160 SiP.

Quick Navigation

Prerequisites

  • NORDIC nRF9160 DK

  • nRF Connect for Desktop

  • Account on nRF Cloud

  • nRF Connect SDK for VS Code or SES (Segger Embedded Studio)

Getting Started with the nRF9160 DK

Connect to the nRF9160

Connect the nRF9160 to your computer using a micro USB cable.

Open the Programmer tool from nFR Connect for Desktop.

Connect your device by clicking SELECT DEVICE ↓ at the top-left corner.

Program the Development Kit with the at_client sample

For details about the at_client sample, see nRF9160 documentation

Open your nRF Connect SDK on VS Code or SES. Select the option: Create a new application from sample and open the application: at_client which can be found in the folder: samples/nrf9160/.

Add Build Configuration for the board nrf9160dk_nrf9160_ns

Flash the build file to the nRF9160 by clicking Flash in the left side menu

Wait for the status message: "Programming: Programming complete"

Connect the nRF9160 to Monogoto

Keep the nRF91 AT Commands manual next to you for more details about the commands. Click here to visit NORDICs AT Commands documentation.

Start off by inserting the Monogoto SIM card.

Open the LTE Link Monitor from nRF Connect for Desktop.

After selecting your device via the button SELECT DEVICE ↓, the AT command AT+CFUN? is sent automatically to the modem which returns: +CFUN: 0, indicating that the modem is turned off.

Reset the modem to factory settings:

AT%XFACTORYRESET=0

Enable error reporting, resulting in more descriptive error codes (optional):

AT+CMEE=1

Activate the cellular modem:

AT+CFUN=1

Check if the SIM card is attached and is not locked with a PIN, expected response: +CPIN: READY:

AT+CPIN?

If you receive an error, the SIM may not be inserted properly or the SIM is protected with a PIN. By default, Monogoto SIMs are not PIN protected.

Query device information

Request the modem hardware version:

AT+CGMM

Validate if the nRF9160 modem runs the latest firmware:

AT+CGMR

Compare the response with the latest version found on NORDICs website under nRF9160 SiP modem firmware.

How to update the nRF9160 modem firmware

If you don’t run the latest modem firmware, download the latest nRF9160 DK application and modem firmware. Unzip the file and look for a zipfile which starts with mfw (which stands for Modem Firmware).

Open the Programmer in nRF Connect for Desktop.

Request the IMSI (International Mobile Subscriber Identity):

AT+CIMI

Request the ICCID (Integrated Circuit Card ID), which is the identification number of the SIM card:

AT%XICCID 

Network Configuration

It is possible to let the modem select the network automatically, or to manually define a network to connect with.

Option 1: Automatic Network Selection

To set the modem to automatic network selection enter the command:

AT+COPS=0

Check the network and cellular technology the modem is currently using:

AT+COPS? 

Expected response: +COPS: 0,2,"<MCCMNC of operator>",7. The last digit indicates the cellular technology, 7 means LTE Cat-M1

Option 2: Manual Network Selection

AT+COPS=?

Be patient, it may take several minutes before the modem responds, you cannot send any other AT Commands in the meantime. You may get an error message which you can ignore Error: 'AT+COPS=? ' timed out.

The modem responds with the MCCMNC codes of the available networks. It also shows the cellular technologies the networks support: 7 indicates LTE Cat-M1.

Example response:

+COPS: (2,"","","20408",7),(1,"","","20404",7),(1,"","","20416",7)

To find the names and MCCMNCs of the networks Monogoto has roaming agreements with, review the Coverage lists.

To find the profile of your SIM, visit the Monogoto Console, open the page Things and select a specific Thing. Scroll down to Mobile Identities to find your profile in the column Network Provider Name.

To find the network operator and the cellular technology the device is currently using, enter:

AT+COPS? 

Expected response: +COPS: 0,2,"<MCCMNC>",7. The last digit indicates the cellular technology LTE Cat-M1.

Manually set the network and the cellular technology:

AT+COPS=1,2,"XXXXX",7

Replace XXXXX with the MCCMNC code of your operator, for example"20404" for Vodafone NL.

Check the radio signal strength and signal quality:

AT+CESQ

Example response: +CESQ: 99,99,255,255,15,53

+CESQ returns 6 values separated by commas. The last 2 values indicate the RSRQ (Reference Signal Received Quality) and RSRP (Reference Signal Received Power) respectively. RSRQ is indicated with a value between 0 and 34, RSRP is with a value between 0 and 97. Higher values represent better signal quality.

Read the LTE Cat-M1 band the modem is using:

AT%XCBAND

Example response: %XCBAND: 20

Define the cellular band(s) (optional)

It is possible to lock the modem to one or more specific bands. This may result in a faster boot cycle as the modem does not need to scan for available bands at startup.

To find the available bands the modem support:

AT%XCBAND=?

Expected response: %XCBAND: (1,2,3,4,5,8,12,13,18,19,20,25,26,28,66)

Although the modem may support many different bands, your local network operator may not. Have a look at the LTE Cat-M1 overview to find the available band(s) in your region.

The LTE Link Monitor shows most of the network information as well. Example:

Lock the modem to one or multiple bands

First, deactivate the modem: AT+CFUN=0, then run the command:

AT%XBANDLOCK=1,"<bandmask>"

Example of creating the bandmask:

To lock the modem to band 3 and 8, create a bit array where the 3rd and 8th bit are a 1 (counted from right to left): 10000100. The AT Command becomes: AT%XBANDLOCK=1,"10000100"

Reactivate the modem after locking the band: AT+CFUN=1

Test if the bands are properly set:

AT%XBANDLOCK?

Expected response: %XBANDLOCK: "<bandmask>",""

Network Activation

Set the APN to data.mono:

AT+CGDCONT=1,"IP","data.mono”

Validate if the APN is properly set:

AT+CGDCONT?

Expected response:

+CGDCONT: 1,"IP","data.mono"

Activate the PDP (packet data protocol) context:

AT+CGACT=1,1

Test if the PDP context is activated:

AT+CGACT?

Expected response:

+CGACT: 0,1
+CGACT: 1,1

Validate if your device received an IP address:

AT+CGPADDR

Expected response: +CGPADDR: 1,XX.XXX.XX.XXX

Did you receive an IP address? Congratulations! 🎉 You successfully connected the nRF9160 to Monogoto. Have a look at the Things logs in the Monogoto Console to find more details about the established connection.

Finally, visualize the network settings and status in the LTE Link Monitor with the command:

AT+CFUN?

If all went well, you should see the Modem, UICC, LTE and PDN (and optionally UART) indicators in the LTE Link Monitor turn green. You should also see network information such as the band, the network the signal quality and IP address.

Build a tracking application

After successfully connecting the nRF9160 to Monogoto, start building an IoT asset tracking application where GPS data is visualized in nRF Cloud.

Prerequisites

  • Monogoto SIM

  • NORDIC nRF9160 DK

  • Account on nRF Cloud

  • nRF Connect SDK for VS Code or SES (Segger Embedded Studio)

Add the nRF9160 to nRF Cloud

Login to nRF Cloud

Connect the nRF9160 DK to nRF Cloud by clicking the + sign. Select LTE Device and Skip the step when asked to activate a SIM card.

The Device ID is composed of nrf- followed by the IMEI which can be found at the back of the device, or by running the AT Command: AT+CGSN. Below the IMEI, you should see the PIN or HWID.

Open your nRF Connect SDK on VS Code or SES. Select the option: Create a new application from sample and open the application: asset_tracker_v2 which can be found in the folder: nrf/applications/.

For details about the asset_tracker_v2 sample, see nRF9160 documentation

Add a Build Configuration for the Asset Tracker V2 application (this may take several minutes) and Flash it to your Development Kit.

Place the device outside or close to a window so it can receive GPS signals. Have a look at the LTE Link Monitor tool from nRF Connect for Desktop to monitor the device.

If the nRF9160 DK successfully connected to Monogoto and got a GPS fix, data will appear in the nRF Cloud. Does your nRF Cloud look something like the below images? Congratulations! You’ve successfully connected the nRF9160 DK to the nRF Cloud using Monogoto. 🙌

Useful Links

  • nRF9160 DK Getting Started

  • nRF91 AT Commands

  • nRF9160: Asset Tracker v2 documentation

  • nRF9160 sample applications

  • nRF Cloud Documentation

Click in the left menu bar Read , followed by Add file and select the modem firmware zipfile you just downloaded.

Click Write to write the latest application and modem firmware to the nRF9160. Wait for the program to report: "Completed successfully".

Start with searching for available networks by entering the below AT Command, or by clicking the button:

Getting Started with the nRF9160 DK
Connect the nRF9160 to Monogoto
Build a tracking application
Useful Links
nRF9160 Development Kit
Open at_client sample in VS Code
Add Build Configuration in VS Code
Open asset_tracker_v2 sample in VS Code
Add Build Configuration in VS Code
nRF Connect for Desktop
LTE Link Monitor