Quantcast
Channel: The Things Network - Latest posts
Viewing all 114115 articles
Browse latest View live

TTN EU node using M5Stack and RFM95

$
0
0

I have put together a TTN node using the M5Stack prototyping platform and a custom PCB with a RFM95 module. M5Stack has a LoRa module already but only the 433 flavour. Specs:

  • ESP32-based
  • RFM95 module
  • SD card slot
  • Battery powered
  • 320x240 full color screen
  • Compact form factor (almost “production” feeling)
  • Low power (pending measurements, deep sleeping the M5Stack Core has some quirks)

20180609_180515s

It’s just a first iteration but it works great and the M5Stack looks awesome. Sample code, PCB files and a couple of enclosure options are available in a public repo.

Feedback is very welcome. I’d also like to hear what possible use cases do you think this might have.


Big ESP32 + SX127x topic part 2

$
0
0

Just curious, when/where do you get this warning?:
– In Arduino IDE or PlatformIO?
– Using arduino-esp32 or esp32-idf?
– Do you get the warning only with Dragino TTN Mapper or also with the standard LMIC TTN examples?

TTN EU node using M5Stack and RFM95

$
0
0

It’s a pity that MSTACK still haven’t released a 868MHz version.

Big ESP32 + SX127x topic part 2

$
0
0

I’ve been working with the M5Stack platform (ESP32-based) and just shared with you my work so far. I think it could be a great platform for all sorts of moving nodes, including a TTNMapper node.

TTN EU node using M5Stack and RFM95

$
0
0

Yes, that’s why I had to do mine.

Hopefully when (if) they release the 868 version the sample code I’ve written will still be compatible.

The LIBRARY basement part 5

The LIBRARY basement part 5

Error: too many failed ADR requests

$
0
0

How can i set the ACKREQ on each uplink with LMIC? There is no operation for that, i can only activate:

LMIC_setLinkCheckMode(1);
LMIC_setAdrMode(1);

as operation for the lib, that i have done. I can later post the join and first uplink messages from the TTN console of my gateway.


ADR Not Working on AU915 (Device stuck on SF12)

$
0
0

Should work…, i have read that very often in the last days since searching for solutions of the problem, but it seems that no one has a working node which uses LMIC and ADR. It’s little bit frustrating at the moment, i will try your suggestions and post more screenshots from the TTN console.

The WORKBENCH

Big ESP32 + SX127x topic part 2

$
0
0

I am using the Arduino IDE, with the Dragino TTN mapper and another ESP32 TTN mapper I found, when compliling for ESP32.

The standard TTN-ABP example compliles OK, although it appears to use memcpy_p to copy the NWKSKEY from one area of memory (buffer) to another.

Maybe I just dont understand C\C++ well enough.

Winext LoraWAN Gateway

$
0
0

Winext LoraWAN gateway

Anyone has any experience / comment with this gateway? It seems quite comprehensive on paper. PoE, 2/3/4G cellular and wifi, IP67 and GPS all in a box is quite sweet for that price.

Can’t find any information on the software side of how to configure the gatweway etc.

ADR Not Working on AU915 (Device stuck on SF12)

New board by Elecrow

$
0
0

Hi Andreas,

Send an email to elli@elecrow.com and ask for the schematics. I did that also for the 32u4 from elecrow. This board misses also dio1.

Big ESP32 + SX127x topic part 2

$
0
0

I was wondering where the error occurs because I had not seen it with the LMIC TTN examples.
So the error occurs ‘only’ with the TTN Mapper programs(?).
Because they use LMIC-Arduino features that are not used by the LMIC TTN examples?


Error: too many failed ADR requests

$
0
0

LMIC_setLinCheckMode(1) is the right way to do so.

As per processing of the state after join it’ll set LMIC.adrAckReq to some value.
Here is code snippet from lmic.c

static void stateJustJoined (void) {
    LMIC.seqnoDn     = LMIC.seqnoUp = 0;
    LMIC.rejoinCnt   = 0;
    LMIC.dnConf      = LMIC.adrChanged = LMIC.ladrAns = LMIC.devsAns = 0;
    LMIC.moreData    = LMIC.dn2Ans = LMIC.snchAns = LMIC.dutyCapAns = 0;
    LMIC.pingSetAns  = 0;
    LMIC.upRepeat    = 0;
    LMIC.adrAckReq   = LINK_CHECK_INIT;
    LMIC.dn2Dr       = DR_DNW2;
    LMIC.dn2Freq     = FREQ_DNW2;
    LMIC.bcnChnl     = CHNL_BCN;
    LMIC.ping.freq   = FREQ_PING;
    LMIC.ping.dr     = DR_PING;
}

The BARGAIN basement part 4

Error: too many failed ADR requests

$
0
0

Ok, post the screenshots of the first results later here.

Error: too many failed ADR requests

$
0
0

When I said that ADR should work on LMIC I actually know that there is a code there. I haven’t tried it but based on what I am seeing in “decodeFrame” function of lmic.c processing of ADR response is there:

            if( (LMIC.ladrAns & 0x7F) == (MCMD_LADR_ANS_POWACK | MCMD_LADR_ANS_CHACK | MCMD_LADR_ANS_DRACK) ) {
                // Nothing went wrong - use settings
                LMIC.upRepeat = uprpt;
                setDrTxpow(DRCHG_NWKCMD, dr, pow2dBm(p1));
            }

Add some debug print and you should be able to resolve it no time.
First thing that you need to find out is if ADR portion of the lora mac message is there.

The LIBRARY basement part 5

Viewing all 114115 articles
Browse latest View live




Latest Images