Posted comments (3)

Posted by Intern Usmc at August 15, 2017 01:31:48 CEST
Hello,

Thank you for the tutorial.

I am using a hope RFM95 Cytron shield (https://www.cytron.com.my/p-shield-lora-rfm) for my project. The LoRa module is tuned for 915 MHz. May know which line should be changed if I want the code to work at 915 MHz frequency?

So far I have made the following changes to the confg.h file
-uncommentated #define CFG_us915 1
-other changes similar to step 14 (in your guideline)

When I compile and upload the ttn-abp sketch, I got the following error.

C:\Program Files (x86)\Arduino\libraries\arduino-lmic-master\src\lmic\radio.c:596:9: warning: incompatible implicit declaration of built-in function 'printf'

printf("%lu: %s, freq=%lu, SF=%d, BW=%d, CR=4/%d, IH=%d\n",

^
*from bottom of Arduino IDE

Starting
FAILURE
C:\Program Files (x86)\Arduino\libraries\arduino-lmic-master\src\lmic\lmic.c:1508
*from serial monitor

Hope you can give me some tips to troubleshoot the problem.

Thank you,
Posted by Intern Usmc at August 16, 2017 08:45:35 CEST
[SOLVED]

I believe the solution is to uncomment the line in no 15 in config.h #define CFG_us915 and #define LMIC_DEBUG_LEVEL 2. But, I left the following lines commented as they cause some problem when I uncomment it.
//#define LMIC_FAILURE_TO Serial
//#define DISABLE_PING
//#define DISABLE_BEACONS

I am unsure why but maybe someone can please give some hint to this behaviour.

Regards,
Posted by Daniel at November 29, 2017 18:38:04 CET
Hi,

thanks for sharing this amazing tutorial!

I have a question. The Arduino UNO logical ports work with 5 volts. Isn't it going to burn the RFM95 module?

Thanks!