LORA E32-RTL-100 vs E32-433T20D command format

Hello, I am not technically savvy enough, I use a code that configures an E32-TTL-100 module (not available), and I would like to be able to use an E32-433T20D module (available).
I kept the same byte data string, but the E32-433T20D module remains in programming mode. (M0=HIGH, M1=HIGH, AUX=LOW)
I have a doubt about the byte data string, for me the setup is identical between the two.
Is there a specialist to help me?
thank you

void setup() {
  // Initialize Serial2 at 9600 baud rate
  for (byte i = 0; i <= 11; i++) pinMode(i, INPUT_PULLUP);  // to save deepsleep current
  Serial.begin(9600);
  pinMode(M0, OUTPUT);
  pinMode(M1, OUTPUT);
  pinMode(LED, OUTPUT);
  digitalWrite(M0, HIGH);
  digitalWrite(M1, HIGH);
  pinMode(AUX, INPUT_PULLUP);
  pinMode(SWITCH_OPENING, INPUT_PULLUP);
  pinMode(SWITCH_DOOR, INPUT_PULLUP);

  delay(100);
  byte data[] = { 0xC0, 0x0, 0x1, 0x1A, 0x17, 0x44 };  // for 20dBm Module
  for (unsigned int i = 0; i < sizeof(data); i++) {
    Serial.write(data[i]);
  }
  delay(100);
  goToSleep();
  digitalWrite(M0, LOW);
  digitalWrite(M1, LOW);
  Serial.write(EMPTY);
  Serial.flush();
}

not used this particular Ebyte module
have you seen lora-e32-device-for-arduino-esp32-or-esp8266-specs-and-basic-usage-part-1, E32-433T20DC_Usermanual_EN_v1.6.pdf and LoRa_E32_Series_Library
the library has many useful example programs
what host microcontroller are you planning to use the E32 with? I tend to use ESP32 micros for LoRa modules as the majority use 3.3V logic

hello, thanks for the very interesting link.
In fact it is an existing and functional project Mailbox Notification.
The lora E32-TTL-100 is driven by an Atinnt1614. I just replaced it, by an E32-433T20D.
I tested the programming of the atinny with a blink program, everything is OK.
For now I have a doubt about the init chain of the Lora, the latter goes well in prog mode, M1 = M0 = HIGH, but does not return ack by the AUX pin, so it remains in the state.
I have tested with the Ebyte software, I can talk with LORA and programm it ( Lora is OK) .
The software gives me a different chain (I tested it without success too), but for me it shouldn't.

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