Connect Moteino Mega w/LMIC to Public LoRaWAN Network

Started by waskerley, May 12, 2017, 07:27:15 PM

waskerley

Hello!  I am looking for a cheap way to connect to https://www.thethingsnetwork.org/, or any other public LoRaWAN network, and the moteino looks like it could be a good fit.

Will I be able to connect without any major problems?  Are there any guides on how to get started?

Darren

I am trying to do the same, I have found this site with a very good tutorial using an arduino uno as there are no really good 915 mzh Lora examples for the moteino.

http://www.mobilefish.com/developer/lorawan/lorawan_quickguide_build_lora_node_rfm95_arduino_uno.html

I was confused with LMIC library, and some changes to wiring on the moteino as per this article (I bought the moteino LR and moteino mega LR a while ago)

https://github.com/lukastheiler/ttn_moteino

Glad to share my experience/knowledge/failures with you

Felix

The LMIC chip option is available on the MoteinoMEGA, and here's the schematic of that board.
The LMIC chip is on the I2C pins (+ pullups). Other than that there are 3 jumper pads that connect Dio1 Dio2 and RST to the MEGA's D21, D22 and D3.






Darren

Thanks Felix this worked for me.

The LMIC pin mapping for this board that worked for me:

lmic_pinmap pins = {
.nss = 4,
.rxtx = 7, // Do not worry about this one - not connected RFM95
.rst = 3, // Reset pin D3 - solder the pad on the board
.dio = {22, 21, 0}, //Solder the D22 and D21 pads on the board - D22, D21 - 0 is not used and sometimes if I used LMIC_UNUSED_PIN I would get a compile error.
};

In your config.h file change the radio freq by uncommenting #define CFG_us915 1 and commenting #define CFG_eu868 1
Also uncomment #define CFG_sx1276_radio 1



//#define CFG_eu868 1
#define CFG_us915 1
// This is the SX1272/SX1273 radio, which is also used on the HopeRF
// RFM92 boards.
//#define CFG_sx1272_radio 1
// This is the SX1276/SX1277/SX1278/SX1279 radio, which is also used on
// the HopeRF RFM95 boards.
#define CFG_sx1276_radio 1

Kylix

What differences are between Moteino Mega R2 and R3?

Felix

Quote from: Kylix on March 02, 2019, 01:00:04 PM
What differences are between Moteino Mega R2 and R3?
Very small difference, added 1 cap to the reset circuitry and the LMIC EUI64 chip SOT23-5 pads + 0603 pullup resistors.

Kylix

I already see those changes in the R2 version you published 3 posts up, that's why I asked :D:





Felix

My bad, just the reset circuit. LMIC was already done in R2.