LoraWan LMIC Solution (work with thethingsnetwork) - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-A6 (https://www.kincony.com/forum/forumdisplay.php?fid=22) +--- Thread: LoraWan LMIC Solution (work with thethingsnetwork) (/showthread.php?tid=4216) |
LoraWan LMIC Solution (work with thethingsnetwork) - sergalpe - 02-01-2024 Fix the card using pin 22 (nRF24L01 CE) and connect it with DI01 (view image) Now the configuration in the project is as follows: // Pin mapping const lmic_pinmap lmic_pins = { .nss = 5, // byte 0: pin for select .rxtx = LMIC_UNUSED_PIN, // byte 1: pin for rx/tx control .rst = 21, // byte 2: pin for reset .dio = { /*dio0*/ 2, /*dio1*/ 22, /*dio2*/ LMIC_UNUSED_PIN }, // bytes 3..5: pins for DIO0, DOI1, DIO2 }; ..... SPI.begin(18, 19, 23, 5); // These specific pins are for kc868-a6 if (os_init_ex((const void *)&lmic_pins)) { RE: LoraWan LMIC Solution (work with thethingsnetwork) - admin - 02-01-2024 thanks for share your job. |