Lora Sender Sketch with Ardunio UNO

Hello I have created a lora receiver sketch for the Arduino uno and it is working, it receives data. I was wounder how can I create a Lora sender sketch, so when I open the serial com it loops with the word Hello every time the Uno receives?

here 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);
}

That looks like a UART front ended radio device, it might be LoRa but could easily be something else.

You will need provide links to the documentation for the device, unless someone happens to recognise exactly which radio module it is.

Did you contact whoever sold you the device for assistance ?

LoRa devices are nativly SPI based, so its not one of them.

Yep its a E44-TTL-100Lora EByte
http://www.cdebyte.net/professional-china-power-amplifier-module-e44-ttl-100-ebyte.html

No idea then, its not a native LoRa device but a UART front ended device. You need to find some example sketches that are known to work and or datasheets.

There are a multitude of settings for the actual LoRa device and TX and RX need to be using the same set, the details of that and how to configure the module ought to be in the datasheet.

Also be aware that the module may default to 100mW, which could be illegal in your part of the World, devices of this sort are often limited to 10mW.

No worries thank you for your help

found a doc which seems to be available here

So basically use M1 and M0 pins to configure the mode and then read chapter 4 for sending configuration bytes (in binary, using write, not print)