Hello I have Ebyte E22 - 400T22D Lora (https://www.cdebyte.com/products/E22-400T22D). But I can't make them communicate with each other.
I am using this library
This is their configurations:
Here is the schematic:
And the code I found here Ebyte LoRa E22 device for Arduino, esp32 or esp8266: specs and basic use – 1 – Renzo Mischianti
/*
* LoRa E22
* Write on serial to transfer a message to other device
* https://www.mischianti.org
*
/*
* LoRa E22
* Write on serial to transfer a message to other device
* https://www.mischianti.org
*
* E22 ----- Arduino UNO
* M0 ----- GND
* M1 ----- GND
* TX ----- PIN 2 (PullUP)
* RX ----- PIN 3 (PullUP & Voltage divider)
* AUX ----- Not connected
* VCC ----- 3.3v/5v
* GND ----- GND
*
*/
#include "Arduino.h"
#include "LoRa_E22.h"
LoRa_E22 e22ttl(10, 11); // Arduino RX --> e22 TX - Arduino TX --> e22 RX
void setup() {
Serial.begin(9600);
delay(500);
Serial.println("Hi, I'm going to send message!");
// Startup all pins and UART
e22ttl.begin();
// Send message
ResponseStatus rs = e22ttl.sendMessage("Hello, world?");
// Check If there is some problem of successfully send
Serial.println(rs.getResponseDescription());
}
void loop() {
// If something available
if (e22ttl.available()>1) {
// read the String message
ResponseContainer rc = e22ttl.receiveMessage();
// Is something goes wrong print error
if (rc.status.code!=1){
Serial.println(rc.status.getResponseDescription());
}else{
// Print the data received
Serial.println(rc.data);
}
}
if (Serial.available()) {
String input = Serial.readString();
e22ttl.sendMessage(input);
}
}
It only writes
Hi, I'm going to send message!
Success
RX and TX leds doesn't even blink. I don't know what I am doing wrong.
Please help.
Thank you.


