Lora Sender Sketch with Ardunio UNO - E44-TTL-100


(Codename Laura) #1

Hello I’m using a E44-TTL-100Lora EByte that I have connected to my Arduino UNO
I can receive data no worries with my receiver sketch. I was wondering how do I create a sender sketch that sends the word Hello world?

this is my receiver sketch

#include <SoftwareSerial.h>

#define TX 3
#define RX 2
#define M0 13
#define M1 12

SoftwareSerial mySerial(TX,RX);
void setup() {
Serial.begin(9600);
mySerial.begin(9600);

pinMode(M0, OUTPUT);
pinMode(M1, OUTPUT);

digitalWrite(M0,LOW);
digitalWrite(M1,LOW);

}

void loop() {
if (Serial.available() > 0){
String input = Serial.readString();
mySerial.println(input);
}
if (mySerial.available() >0){
String input = mySerial.readString();
Serial.println(input);
}
delay(20);
}


#2

E44-TTL-100 is a 100mW wireless transceiver module with LoRa spread-spectrum technology,operates at 900~931MHz (Default: 915MHz)
So its an (to) high output power UART LoRa module that cannot connect LoRaWAN to TTN.

However If you have two they can talk to eachother


#3