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
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ software:
20
20
21
21
## Introduction
22
22
23
-
With the Portenta Max Carrier it is possible to use NB IoT and Cat M1 technology.
23
+
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
24
25
25
***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
26
@@ -37,7 +37,7 @@ The goals of this project are:
37
37
- 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
40
-
-[Portenta Max carrier]()
40
+
-[Portenta Max carrier](https://store.arduino.cc/products/portenta-max-carrier)
41
41
42
42
## Instructions
43
43
@@ -53,25 +53,29 @@ And we also need to insert a SIM card and connect an antenna to the Max Carrier,
53
53
54
54
### Arduino IDE
55
55
56
-
Make sure you have the latest Portenta mbed os Core installed. Found in **boards manager...**.
56
+
Make sure you have the latest **Portenta mbed os Core** installed. Found in **Tools > Board: > boards manager...**.
57
57
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.
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.
59
59
60
60
### Switching between NB IoT and Cat M1
61
61
62
62
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.
63
63
64
+
[Serial monitor for sketch]()
65
+
64
66
### Programming the Board
65
67
66
68
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.
67
69
70
+
First go to the **arduino_secrets.h** tab and enter your PIN code into the **Secret_pinnumber** variable.
71
+
68
72
The **char server[]** variable will decide what website the board will connect to and print in the serial monitor. Feel free to try different sites and see the difference in the result. In this tutorial we will use the default **example.org**.
69
73
70
74
The sketch will also set the port it uses for connecting with **int port = 80;**. This is the default connection port, but if the connection is not being established. Or if you know the specific port you want to connect to, then change this variable to a more appropriate value.
71
75
72
76
### Result of Sketch
73
77
74
-
When the sketch is uploaded open the serial monitor to see the result. You should see something similar to what is shown below.
78
+
When the sketch is uploaded open the serial monitor to see the result. You will also get error messages in the serial monitor if there is some issue along the way. When it works you should see something similar to what is shown below.
0 commit comments