LoRa Basics MAC on Arduino 33 Nano

Assuming this is the core I can see a complete MBED system in there including the LoRaMacNode integration.

No idea if this is actually included in the build. If it is, this is a better option than LMIC based stuff.

Holy!!! Yes, I am pretty sure that’s the core with mbed, but I didn’t notice it included LoRaMacNode in there. I’ll try to see if I can make it work. Thanks!

I’m looking in to this as well. Trying to create a simple LoRa node with the RFM95 connected to a ARD nano 33 IoT.
Did you manage to get this working?



Not yet, but in principle, it should work: https://github.com/arduino/ArduinoCore-nRF528x-mbedos/issues/42

Status of LoRa Basics MAC

LoRa Basic MAC (aka Basic MAC) has been deprecated by Semtech:

Please note that LoRaMAC-Node is replacing LoRa Basics MAC and should be used for new designs. In addition, in Q3 2020, Semtech will deliver a new software library to support the implementation of the LoRa Alliance’s LoRaWAN® specification with Modem functionalities.

If I understood correctly:
The ‘new software library’ will be based on ‘Soft Modem’ which will consist of a Soft Modem client (for end devices) and a set of Semtech backend services. The Soft Modem client will provide high-level functions that take care of much of the low-level stuff. Part of these functions may work independently while others will require use of the backend services.
The client will be developed for ARM and will be open sourced (so it can be ported by others). The services will be closed source but the specifications will be open.

Meanwhile @matthijskooijman has been busy porting Basic MAC to the Arduino framework.



1 Like


which could be an easy way to provide LoRa connectivity to the Nano BLE sense?

Is there some example (ie. skect and wire connection) on how to send data from the arduino nano 33) through lorawan by using a shield or an uart module?
Actually I miss something due to my low expertise in C programming… maybe I have to implement serial communication between the Nano33 and the MKR shield device which sends (LoRa) the data received by Nano 33 (by serial?) ?

Do you know where I can find some example related to the connection of Nano33 with a radio module (i.e. SX1276) with MbedOS libs?

thank you all in advance

Good morning,
I was not sure to put my question in this page or create a new topic:
I am going to send temperature of a sensor via arduino nano iot33 and
dragino lora sheild (module) to TTN, but after uploading LMIC lib to
the board the port loose and board disconnect. but it works properly
with arduino uno. As I discovered there is problem with interrupt pins in arduino iot33 (nano 33 iot interrupts - #3 by Willy_1 - Nano 33 IoT - Arduino Forum). I checked user manual of it, it seems there is no interrupt pin while in arduino uno there is on pins 2,3. May I ask your helps,
Many thanks

The Arduino forum (a good place to ask Arduino questions) thread you linked to says of the IOT33;

“So I tested all digital pins and the result is: pins 2, 3, 9, 10, and 11 work as interrupt pin

1 Like

Just to clarify, you have connected the Dragino LoRa Shield to the Arduino Nano IOT33?

LMIC does not use interrupts so it doesn’t matter - we traditionally use the ATmega328 interrupt pins 2 & 3 so that one day it may use interrupts if enabled.

So you are OK to use pins 2 & 3.

Thanks, Yes I have connected the Dragino LoRa Shield to the Arduino Nano IOT33. Because I needed 256kb memory as arduino uno for me is few with 32kb mem.
1- I couldn’t find any one with clear scenario has connected nano IoT33 to TTN via any lora module (There are scenarios with arduino nano but not with nano IoT33). So where could be the problem?
2- My another doubt is I connected NSS (pin 10 in nano IoT33) to pin 10 in Dragino-Lora-sheild as I found out other guys done.
3- In my mind LMIC lib can’t work with nano IoT33 but works with arduino nano (as I saw scenarios arduino MKR 1300 has its specific lib for lorawan).

//my Pin mapping is as follow:
const lmic_pinmap lmic_pins = {
.nss = 10,
.rst = 5,
.dio = {2, 3, LMIC_UNUSED_PIN},

Good evening,
Is any one which could give advise? some body any body?

I dont think this is a commonly used board for TTN forumites - the only instance of “Nano IOT33” in search pulls up this thread so there is every chance that the chance of a response from a user familiar with the board and your use case, who is also a Forumite, who also is actively reading all/most threads to then find this one and who spots your plea for help… and who is then willing to speak up may be limited… :frowning: Hence no responce.

You may get generic advice and comments from other Forumites and even a few of the ‘expert’ or experienced users of other boards but as everyone here is a volunteer that may not happen.

Have you also tried asking on the Arduino/Manufacturers forum?

1 Like

The use of the Arduino IoT 33 isn’t a problem, it’s a problem with the inexplicable swap of the library being used to one that can only be used with the MKRWAN1300/1310 and a lack of patience, but absolutely mostly the first - why would the library for MRKWAN with a totally different chipset suddenly work? What was the thinking here?

Or in my words

:rofl: !!!

But you know the rules, and so do I.

We aren’t allowed to know details, it’s like a game of 20 questions.

But full commitment’s what I’m thinking of.

So we can keep asking.

I’m never gonna give up, we don’t want to let anyone down.

Or run around and desert them.

So sorry. based on this page in forum I thought it could be possible to use LMIC lib with MKRWAN 1300: Arduino MKR WAN 1300 - #30 by Amedee

It is, if you really really know how to configure around the built-in LoRaWAN stack that’s already present on the Murata module - but why would you - you’ve got a top grade module with the official LoRaMAC on it.

But that’s not important, because you have a 33 Nano and you can not send AT commands to the Dragino board which is how the MKRWAN library works because there is not serial port on the board for the RFM95 radio because it doesn’t have a serial port.

Four days ago I said you were OK to use pins 2 & 3. You can use any pins you like that aren’t for the SPI (which also needs connecting). You could have had it running 3.5 days ago …

1 Like

Good morning,
I have discovered a solution based on the information on another page of forum (Samd21 mini wired to rfm95 - #24 by Roelvdv) to use LMIC library (catena) to make a Lorawan node with Arduino NANO IoT 33 board. I saved some boards and a lot of time.
I am wondering how no one of helpers didn’t mention that page! Any way I am thankful for your support.
I put a video also next days in my youtube channel it could be helpful:
Make Lorawan node with SAMD microcontroller based boards using LMIC lorawan library - YouTube

We need more helpers like you scouring the net and scraping up information - Thanks now you are also a helper - :smiley:

1 Like

Apart from “the helpers”, all volunteers, not having an encyclopaedic memory of the forum, the reality is that wiring any Arduino supported board with enough Flash & RAM to an RFM95 is fully and completely documented many times on the MCCI LMIC and the LMIC-node github repros.

So having told you to crack on with the pins on the 30th June, you decided to conflate the IoT33 with the MKRWAN which you never explained.


Plus you could have found that topic using the search back in June …

:man_shrugging: :woman_teacher: :fish: :calendar:

1 Like