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
Serial.println("- Something went wrong; are you indoor? Move near a window and retry...");
235
+
Serial.println("Something went wrong; are you indoor? Move near a window and retry");
239
236
while (1) {}
240
237
}
241
238
242
239
delay(5000);
243
240
244
-
// Sending packet
241
+
// Sending Packet Off
245
242
int err;
246
243
modem.setPort(3);
247
244
modem.beginPacket();
248
245
modem.print("HeLoRA world!");
249
246
err = modem.endPacket(true);
250
247
if (err > 0) {
251
-
Serial.println("- Message sent correctly!");
248
+
Serial.println("Message sent correctly!");
252
249
} else {
253
-
Serial.println("- Error sending message :(");
250
+
Serial.println("Error sending message :(");
254
251
}
255
252
}
256
253
@@ -264,7 +261,24 @@ void loop() {
264
261
265
262
## Conclusion
266
263
264
+
You have now succesfully configured the Portenta Max Carrier with Portenta H7 to power up and use its onboard CMWX1ZZABZ-078 LoRaWAN® communications module. You have learned how to properly setup The Things Network (TTN) and establish a communication using its LoRaWAN® connectivity.
265
+
267
266
### Next Steps
268
267
268
+
- Scale up the usage of Portenta Max Carrier by using its additional peripherals and turning into an interesting industrial grade projects, taking the advantage of LoRaWAN® connectivity.
269
+
- You can read more about LoRa and LoRaWAN, and get a deeper understanding of how you can adapt your higher grade projects into real world solver [here](https://docs.arduino.cc/learn/communication/lorawan-101).
270
+
269
271
## Troubleshooting
270
272
273
+
While working on the sketch or when tried to upload the sketch, the Arduino IDE might show some errors preventing to proceed on the development. you can try the following troubleshooting tips to solve the commonly known issues.
274
+
275
+
- If the sketch upload process fails, please put the Portenta H7 into Bootloader mode. To put the Portenta H7 into Bootloader mode, it is required to double-press the RESET button found on the Portenta H7 and verify that the Green LED is waving. After this you can try re-uploading the sketch and it will be successfuly solved.
276
+
277
+
- If the Portenta H7 gets into Bootloader mode immediately after power on, including when connected via USB-C to a device, please make sure to check the DIP Switch found on the Portenta Max Carrier board. The DIP Switch must be configured to a device address to be powered on. The DIP Switch will allow to configure BOOT_SEL to configure the address. You will be able to upload and run the code without any issue after this.
278
+
279
+
- If the Arduino IDE fails to compile the sketch, please make sure to have defined for Portenta Max Carrier settings. The following one-line code should be defined above all the sketch that have been written. With this, there should not be any issue compiling sketches designed for Portenta Max Carrier boards.
0 commit comments