Hi Renzo, thanks for your reply.
This is the receiver code:
#include "LoRa_E22.h"
LoRa_E22 e22ttl(&Serial2, 13, 2, 4);
int count = 0;
void setup() {
Serial.begin(9600);
e22ttl.begin();
Serial.println("Rx Iniciado");
delay(300);
}
void loop() {
if (e22ttl.available() > 1) {
ResponseContainer rs = e22ttl.receiveMessage();
String message = rs.data;
Serial.println(rs.status.getResponseDescription());
Serial.println(message);
count++;
Serial.print("Count: ");
Serial.println(count);
}
}
And this is the sender one:
#include "LoRa_E22.h"
LoRa_E22 e22ttl(6, 5, 3, A4, 10, 9600);
void setup() {
Serial.begin(9600);
e22ttl.begin();
delay(300);
}
void loop() {
//delay(1000);
for (int i = 0; i < 1; i++) {
ResponseStatus
rs = e22ttl.sendFixedMessage(15, 11, 65, "&4;70.15;15;15@");
Serial.println(rs.getResponseDescription());
delay(2000);
}
}
I have also attached a image containing the configuration used on both LoRas. I will now try to change all the hardware used, to see if that makes any difference.
Attachments:
You must be
logged in to view attached files.