I have Arduino Mini (called Pro Mini in AliExpress): Mega328 For Arduino TTGO T-Deer Pro Mini Lora V02: https://www.aliexpress.com/item/4000129694110.html?spm=a2g0o.productlist.0.0.4a1e1a532LjITj&algo_pvid=7c54a49a-69c3-49c1-adbc-eb3b5466bc8b&algo_expid=7c54a49a-69c3-49c1-adbc-eb3b5466bc8b-4&btsid=0b0a555916222159309254995e56b6&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_
I've tested LoRa sender to receiver connection and it works. next I'm testing with LoRaWAN and I'm having problems.
I am using MCCI LMIC LoRaWAN library and the "TTN Otaa" example. I've set a "The Things Network" device. I've followed a youtube example setup: Building a LoRaWAN Node for The Things Network (TTN) - YouTube
Now when I'm running the example I get:
Starting
Packet queued
1906: EV_JOINING
29205: EV_TXSTART
When checking if something was received at "The Things Network" there is nothing.
I suspect that my pin mapping is wrong:
// Pin mapping
const lmic_pinmap lmic_pins = {
.nss = 10,
.rxtx = LMIC_UNUSED_PIN,
.rst = 5,
.dio = {2, 3, LMIC_UNUSED_PIN},
};
I've tested a number settings and above is the only one that does not cause error on Arduino serial monitor.
What could be the problem?