Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #14880
    sujayb
    Participant

    Hi,

    Just purchased a MiniUltraLoraWAN board and trying to configure it, but facing problems trying to connect to TTN over OTAA. I am using a Dragino LG01N gateway. I already have a Arduino Uno with Dragino shield and a DHT22 set up to transmit temperature and humidity data to TTN and was hoping to replace the setup with the mini ultra.

    However, after following the instructions and installing the sketch from your website, I am unable to get the board to communicate with the gateway and TTN; instead, I get a ‘join denied’ message constantly (see below).

    14:09:18.537 -> Sending: mac join otaa
    14:09:24.997 -> Join not accepted: denied
    14:09:24.997 -> Check your coverage, keys and backend status.

    Could you point me to some resources that can show how I go about debugging this issue, and what changes do I need to make if I want to use ABP instead of OTAA? Apologies in advance; I’m quite new to the IoT arena so may have missed some obvious steps in troubleshooting.

    Look forward to hearing from you.

    Best,
    Sujay

    #14884
    sujayb
    Participant

    Update: Since my last post, I have tried the ABP method as well, without luck. Now it gives the battery reading and says “successfully transmitted” on the serial monitor output, but the information doesn’t reach the server.

    The module is executing the following loop every minute:

    17:28:11.835 -> — LOOP
    17:28:11.835 -> Battery: 2.70 V
    17:28:11.835 -> Sending: mac tx uncnf 1 010E
    17:28:14.004 -> Successful transmission
    17:28:14.004 -> Sending: sys sleep 60000

    #14887
    LIM PHANG MOH
    Keymaster

    Dragino LG01N gateway is not a proper full 8-channel gateway. It uses 2 SX1276 chip to replace the 8-channel SX1301. Hence you whatever channel your node is transmitting, the gateway might not be listening to it. Get a proper gateway if you don’t want to waste your time troubleshooting this.

    #14920
    sujayb
    Participant

    Unfortunately no budget for a multi-channel gateway so I’ll have to contrinue troubleshooting on this setup, especially since the other node is working fine.

    I tried using the LMIC library to try to hook up on a single channel, but I’m getting a FAILURE message on the serial monitor from Arduino\libraries\arduino-lmic\src\lmic\oslmic.c:53. I used the pin mapping for Mini Ultra Pro that you have in your GitHub repo
    const lmic_pinmap lmic_pins = {
    .nss = 5,
    .rxtx = LMIC_UNUSED_PIN,
    .rst = 3,
    .dio = {2, 6, LMIC_UNUSED_PIN},
    Is this mapping correct, or is there a different one for Mini Ultra LoraWAN?
    Thanks!

    #14923
    LIM PHANG MOH
    Keymaster

    The Mini Ultra LoRaWAN doesn’t run LMIC as the LoRaWAN stack is already being handled by the RN2483A/RN2903A module.

    You might be able to hack using ABP by following the discussion here. But, you need to know what channel the single channel gateway is running which I believe can be configured.

    #15139
    sujayb
    Participant

    Got myself a proper LoRaWAN gateway (Dragino LPS8 with SX1301) but still no joy. Getting the same error:

    12:23:19.328 -> Sending: mac join otaa
    12:23:25.481 -> Join not accepted: denied
    12:23:25.481 -> Check your coverage, keys and backend status.

    I have set both the Mini Ultra and gateway to US915; gateway is communicating with TTN every 30 secs.

    What else can I do to troubleshoot?

    #15141
    LIM PHANG MOH
    Keymaster

    Hi Sujay,
    May I know what frequency of Mini Ultra LoRaWAN you have bought?
    Your gateway is 915 MHz US.
    All Mini Ultra LoRaWAN are tested end-to-end from board to TTN during production. Are you sure all your keys are correct?

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.