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