You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/hardware/04.pro/carriers/portenta-max-carrier/tutorials/Cat M1 and MB IoT/content.md
+17-12Lines changed: 17 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
-
title: ''
2
+
title: 'Using NB-IoT or Cat-M1 with the Portenta Max Carrier'
3
3
difficulty: easy
4
-
description: ""
4
+
description: "Learn how to connect the Portenta Max Carrier to the internet with NB-IoT or Cat-M1 technology"
5
5
tags:
6
6
- Installation
7
7
- CATM1
@@ -10,7 +10,6 @@ author: 'Benjamin Dannegård'
10
10
hardware:
11
11
- hardware/04.pro/boards/portenta-h7
12
12
- hardware/04pro/carriers/portenta-max-carrier
13
-
- _snippets/hardware/dipole-antenna
14
13
- _snippets/hardware/sim-card
15
14
software:
16
15
- ide-v1
@@ -20,7 +19,7 @@ software:
20
19
21
20
## Introduction
22
21
23
-
The Portenta Max carrier adds a lot of functionality to the Portenta H7. With the Portenta Max Carrier it is possible to use NBIoT and CatM1 technology. In this tutorial we will show to connect to GSM with the Portenta Max carrier and the Portenta H7.
22
+
The Portenta Max carrier adds a lot of functionality to the Portenta H7. With the Portenta Max Carrier it is possible to use NB-IoT and Cat-M1 technology. In this tutorial we will show to connect to GSM with the Portenta Max carrier and the Portenta H7.
24
23
25
24
***Note: This tutorial was created in Sweden, and as a result, the available networks are only Swedish network operators. The results will vary depending on what location you are in.***
26
25
@@ -29,14 +28,15 @@ The Portenta Max carrier adds a lot of functionality to the Portenta H7. With th
29
28
The goals of this project are:
30
29
31
30
- Learn how to connect the board and the carrier.
32
-
- Connect to the GSM network with Cat-M1 or NBIoT.
31
+
- Connect to the GSM network with Cat-M1 or NB-IoT.
33
32
- Print HTML content in the Serial Monitor.
34
33
35
34
## Hardware & Software Needed
36
35
37
36
- Arduino IDE ([online](https://create.arduino.cc/) or [offline](https://www.arduino.cc/en/main/software)).
- Antenna with GSM 850 / 900 / 1800 / 1900 MHz range and the ability to connect via SMA
39
+
- DC 4.5-20V power supply with barrel jack.
40
40
-[Portenta Max carrier](https://store.arduino.cc/products/portenta-max-carrier)
41
41
42
42
## Instructions
@@ -51,25 +51,27 @@ And we also need to insert a SIM card and connect an antenna to the Max Carrier,
51
51
52
52

53
53
54
+
After everything else is connected, connect a power cable to the barrel jack. The one right next to the antenna connector.
55
+
54
56
### Arduino IDE
55
57
56
58
Make sure you have the latest **Portenta mbed os Core** installed. Found in **Tools > Board: > boards manager...**.
57
59
58
-
We will also be using an example sketch from the **MKRNB**library, make sure this library is installed. It can be found inside the **Library manager** in the Arduino IDE.
60
+
We will also need to libraries to be installed, **MKRNB**and **arduino_bq24195**. You can find these in the **Library manager** in the Arduino IDE. We will be using example sketches from the **MKRNB** library.
59
61
60
-
### NBIoT or CatM1
62
+
### NB-IoT or Cat-M1
61
63
62
-
NB-IoT is a radio technology deployed over mobile networks which is especially suited for indoor coverage, low cost, long battery life, and large number of devices. While CatM1 supports downlink and uplink speeds up to 1 Mbps with a latency of 50 to 100 ms and can be used for realtime-communication. CatM1 is ideal if you are interested in tracking things such as logistics and transportation.
64
+
NB-IoT is a radio technology deployed over mobile networks which is especially suited for indoor coverage, low cost, long battery life, and large number of devices. While Cat-M1 supports downlink and uplink speeds up to 1 Mbps with a latency of 50 to 100 ms and can be used for realtime-communication. Cat-M1 is ideal if you are interested in tracking things such as logistics and transportation. Make sure the technology that you choose is supported by your service provider.
63
65
64
-
### Switching between NBIoT and CatM1
66
+
### Switching between NB-IoT and Cat-M1
65
67
66
-
If you prefer to use one communication technology over the other, then this can be changed with the simple use of one sketch. Open the **ChoseRadioAccessTechnology** sketch located in the libraries examples. When this sketch is uploaded open the serial monitor. You will now get options for what technology you prefer to use in the serial monitor. Follow the steps and wait for the sketch to say that it is finished. The board will now use the prefered technology and we can move on to upload other sketches.
68
+
If you prefer to use one communication technology over the other, then this can be changed with the simple use of one sketch. Open the **ChoseRadioAccessTechnology** sketch located in the libraries examples. When this sketch is uploaded open the serial monitor. You will now get options for what technology you prefer to use in the serial monitor. Follow the steps and wait for the sketch to say that it is finished. The board will now use the preferred technology and we can move on to upload other sketches.
67
69
68
70
[Serial monitor for sketch]()
69
71
70
72
### Programming the Board
71
73
72
-
Now open the sketch from examples **NBWebClient**. This sketch will connect the Portenta and Max carrier to a website and print its content in the serial monitor.
74
+
Now open the sketch from examples **NBWebClient**. This sketch will connect the Portenta Max carrier to a website and print its content in the serial monitor.
73
75
74
76
First go to the **arduino_secrets.h** tab and enter your PIN code into the **Secret_pinnumber** variable.
75
77
@@ -93,7 +95,10 @@ If the code is not working, there are some common issues we can troubleshoot:
93
95
94
96
## Next Step
95
97
98
+
- The Portenta Max Carrier offers a lot of features when used with the Portenta H7. If you want to learn more about the Portenta Max Carriers peripherals and features, check out our [Getting Started guide for Max Carrier and Portenta H7]().
99
+
100
+
- If you are interested in trying out more of the Max Carriers connectivity options. Be sure to check out our tutorial on how to use [LoRa with the Max Carrier and Portenta H7]().
96
101
97
102
## Conclusion
98
103
99
-
In this tutorial we went through how to connect everything with the Portenta Max Carrierto be able to utilize NBIoT / CatM1.
104
+
In this tutorial we went through how to connect all the necessary parts to the Portenta Max Carrier. How to change whether to use NB-IoT or Cat-M1. To then connect to a website and print it's content in the serial monitor.
0 commit comments