-
AuthorPosts
-
February 3, 2020 at 2:18 PM #14880sujaybParticipant
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,
SujayFebruary 3, 2020 at 5:32 PM #14884sujaybParticipantUpdate: 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 60000February 3, 2020 at 8:49 PM #14887LIM PHANG MOHKeymasterDragino 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.
February 6, 2020 at 2:51 PM #14920sujaybParticipantUnfortunately 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!February 7, 2020 at 12:53 AM #14923LIM PHANG MOHKeymasterThe 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.
March 3, 2020 at 12:28 PM #15139sujaybParticipantGot 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?
March 3, 2020 at 3:19 PM #15141LIM PHANG MOHKeymasterHi 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? -
AuthorPosts
- You must be logged in to reply to this topic.