Hi,
i am new to Lora. So sorry for stupid question
I would like to create my first test Lora Gateway.
- The Things Console
REGISTER GATEWAY:
a) Here i need Gateway EUI.
So if i understand correctly i will get this Gateway EUI with running a sketch and than i will just read it from serial monitor. I assume this sketch is “Examples/TheThingsNetwork/LoraDeviceInfo”
- Hardware
I have wired ESP12e with RFm95 like this:
RFM95 | ESP12
GND | GND
3.3V | 3.3V
MISO | MISO
MOSI | MOSI
SCK | CLK
NSS | CS
DIO0 | GPI05
- Arduino IDE Sketch "Examples/TheThingsNetwork/LoraDeviceInfo:
#include <TheThingsNetwork.h>
#define loraSerial Serial1
#define debugSerial Serial
// Replace REPLACE_ME with TTN_FP_EU868 or TTN_FP_US915
#define freqPlan TTN_FP_EU868
TheThingsNetwork ttn(loraSerial, debugSerial, freqPlan);
void setup()
{
loraSerial.begin(57600);
debugSerial.begin(115200);
}
void loop()
{
debugSerial.println(“Device Information”);
debugSerial.println();
ttn.showStatus();
debugSerial.println();
debugSerial.println(“Use the EUI to register the device for OTAA”);
debugSerial.println("-------------------------------------------");
debugSerial.println();
delay(10000);
}
In serial monitor i am getting corrupted characters “⸮l⸮b|⸮⸮⸮⸮r⸮b⸮b⸮⸮nn⸮lnn⸮”