Hi @clemens
thanks for this post here and many other on different sites.
looks like you been through what Iām doing now already.
Iām trying to do exactly your setup, a LoPy as a gateway and a Feather M0 as node.
I have the Lopy working(detected on TTN), but Iām still struggling a lot with the Feather.
looking at different post you mentioned, itās seams very vague and canāt find a single source that will work on TTN+Feather MO, with added wires and see the serial prints. I have now more than 30 tabs open and getting a bit crazy.
Here is what Iāve done.
-
soldered down missing connections with micro-controller and the transceiver, same as image found in here
-
changed the clock frequency to 8Mhz
-
using the library arduino-lmic-master
extrapolated the change needed to be done in config.h, since Iām in Canada. 900mhzā¦
#ifndef lmic_config_h
#define lmic_config_h
#define CFG_us915 1
#define CFG_sx1276_radio 1
#define US_PER_OSTICK_EXPONENT 4
#define US_PER_OSTICK (1 << US_PER_OSTICK_EXPONENT)
#define OSTICKS_PER_SEC (1000000 / US_PER_OSTICK)
#define LMIC_DEBUG_LEVEL 0
#define LMIC_FAILURE_TO Serial
#define USE_IDEETRON_AES
#endif // lmic_config_h
then the Telenor tutorial canāt be used much since Iām using TTNā¦
Ive found that the application config page on TTN allow me to press a button and reverse the addresses, Iāve used the LSB ordering, witch should match since in the LMIC note it mention that the last bytes should be 0x70ā¦ so I took LSB odering and the last byte is 0x70ā¦
used the same order for APPEUI, DEVEUI, and my APPKEYā¦
I also changed the pins maps, but itās not clear if Iām using the right one for M0.
note I soldered down exactly like telenor web site shows.
here is mine;
const lmic_pinmap lmic_pins = {
.nss = 8,
.rxtx = LMIC_UNUSED_PIN,
.rst = LMIC_UNUSED_PIN, .rst = 4,
.dio = {3, 6, 11},
};
I was able to install, flash the update to the board, once it done uploading, the board is not reconised anymore, ā¦ until I double click on the button.(then IDE/computer detect it and Iām able to reflash it). but I canāt read the serial since arduino IDE will show no COM ports ( nor my windows 10 device manager list )
Iām using a laptop as well, last thought before posting his question is maybe I donāt have enough to power the board + radio directlyā¦
so yes Iāve done my research, but Iām here stuck.
any pointers will be much appreciated :)
Thanks much