Ebyte E220 900T30D with ESP32 c3 Supermini

Hey I have bought some LoRa modules from Ebyte (E220 900t30d) in order to get data transmission for a Rocket Project Im working on. After finishing my setup everything was working fine, I could send and receive data without any problem. I used UART1 on the supermini with GPIO4 RX and GPIO5 TX, M1/0 -> GND, and the E220 had a separate batterie. Now Im coming back to my project a few weeks later and this whole setup doesn't seem to work anymore. I have tried using different modules and Codes but nothing works.

Transmitter:

#include <HardwareSerial.h>
HardwareSerial LoraSerial(1); 

const int PIN_LORA_RX = 4;  
const int PIN_LORA_TX = 5;  

void setup() {
  Serial.begin(115200); 
  LoraSerial.begin(9600, SERIAL_8N1, PIN_LORA_RX, PIN_LORA_TX);
  Serial.println("LoRa initiialisiert...");
  delay(100);  
}

void loop() {
  static unsigned long lastSend = 0;
  if (millis() - lastSend > 2000) {
    String nachricht = "Hallo LoRa";  // zu sendende Nachricht
    LoraSerial.println(nachricht);    // Sende String + Zeilenende über LoRa
    Serial.println("Gesendet: " + nachricht);
    lastSend = millis();
  }
}

Receiver:

#include <HardwareSerial.h>
HardwareSerial LoraSerial(1);  

const int PIN_LORA_RX = 4;  
const int PIN_LORA_TX = 5;

void setup() {
  Serial.begin(9600);
  LoraSerial.begin(9600, SERIAL_8N1, PIN_LORA_RX, PIN_LORA_TX);
  Serial.println("LoRa Empfänger bereit");
}

void loop() {
  if (LoraSerial.available()) {
    String empfangen = LoraSerial.readStringUntil('\n');  
    if (empfangen.length() > 0) {
      Serial.println("Empfangen: " + empfangen);
    }
  }
}

If I run the Receiver Code I don't get any response in the serial monitor, except for when I unplug and replug the VCC of the E220.
has anyone else had this problem in the past ?

I moved your topic to a more appropriate forum category @kindermaxiking.

The Nano Family > Nano ESP32 category you chose is only used for discussions directly related to the Arduino Nano ESP32 board.

In the future, when creating a topic please take the time to pick the forum category that best suits the subject of your question. There is an "About the _____ category" topic at the top of each category that explains its purpose.

Thanks in advance for your cooperation.

if you run File>Examples>Ebyte LoRa E220 Library>01_getConfiguration do you get sensible information, e.g. my E220 displays

Success
1
----------------------------------------
HEAD : C1 0 8
 
AddH : 0
AddL : 0
 
Chan : 15 -> 425MHz
 
SpeedParityBit     : 0 -> 8N1 (Default)
SpeedUARTDatte     : 11 -> 9600bps (default)
SpeedAirDataRate   : 10 -> 2.4kbps (default)
 
OptionSubPacketSett: 0 -> 200bytes (default)
OptionTranPower    : 0 -> 22dBm (Default)
OptionRSSIAmbientNo: 0 -> Disabled (default)
 
TransModeWORPeriod : 11 -> 2000ms (default)
TransModeEnableLBT : 0 -> Disabled (default)
TransModeEnableRSSI: 0 -> Disabled (default)
TransModeFixedTrans: 0 -> Transparent transmission (default)
----------------------------------------
Success
1
----------------------------------------
HEAD: C1 8 3
Model no.: 20
Version  : B
Features : 16
----------------------------------------

can you upload a schematic of the ESP32S3 + E220 + power supply?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.