Go Down

Topic: MKR 1300: US915 support (Read 2036 times) previous topic - next topic

LORA_ARTUR

Hello,

I'm have a couple of MKR1300's and trying to use the MKRWAN library but it does not work. Has this been tested before ?

Best Regards

Arduino_Genuino

Hi,
we tested the 915MHz frequency using point-to-point and spectrum analyzers and it works just fine.
The problem could be if you issue a restart() after begin(US915), since this restarts the module and resets all the customizations (LoraSendAndReceive example has this bug  and should be solved with a library update).

If you could share the sketch I'll be glad to take a look

conradholt

Can you please explain where this reset happen when doing the initialization like follows:

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
  while (!Serial);
  // change this to your regional band (eg. US915, AS923, ...)
  if (!modem.begin(US915)) {
    Serial.println("Failed to start module");
    while (1) {}
  };
  Serial.print("Your module version is: ");
  Serial.println(modem.version());
  Serial.print("Your device EUI is: ");
  Serial.println(modem.deviceEUI());

  int connected = modem.joinABP(devAddr, nwkSKey, appSKey);
  if (!connected) {
    Serial.println("Something went wrong; are you indoor? Move near a window and retry");
    while (1) {}
  }
 
}

I've gone through the MKRWAN library and the only one I found has been when doing the begin, but then immediately there's a changeFrequency so I'm guessing that after the reset the frequency is changed...

When trying this code I'm expecting to see the key exchange on the gateway (whatever the payload for that is). I am using a Raspberry Pi3 with a wired dragino shield and I have seen the key exchange or authentication when using the EU868. So I'm guessing that this reset is done somewhere and I'm not able to see it.. Also What's the exact frequency for the US band? is 902.3 or 914.9 I'm trying also to tune the node with the 915Mhz I preset at the GW.

Kind regards!

garyaroot

This implies that I can configure the 1300 to operate at the AS923 frequency standard, is that correct?

Go Up