LoRa e32 TTL 100 is not working!

Hello,

I have one Arduino Uno and one Arduino Mega both plugged into different computers.

I tried to use different wirings and example codes but let me give you an example. I used this scheme for wiring.

(In guide, resistors and voltage dividers are used but I couldn't use them because I dont have those. However, I read that TTL-100 is 5V tolerant)

  • E32-TTL-100----- Arduino UNO
  • M0 ----- GND
  • M1 ----- GND
  • RX ----- PIN 2
  • TX ----- PIN 3
  • AUX ----- Not connected
  • VCC ----- 3.3v/5v
  • GND ----- GND

I used the example code (with library) in this guide:

which is :

#include "Arduino.h"
#include "LoRa_E32.h"

LoRa_E32 e32ttl100(2, 3); // RX, TX

void setup() {
  Serial.begin(9600);
  delay(500);
  Serial.println("Hi, I'm going to send message!");

  // Startup all pins and UART
  e32ttl100.begin();

  // Send message
  ResponseStatus rs = e32ttl100.sendMessage("Hello, world?");
  // Check If there is some problem of succesfully send
  Serial.println(rs.getResponseDescription());
}

void loop() {
  // If something available
  if (e32ttl100.available()>1) {
     // read the String message
     ResponseContainer rc = e32ttl100.receiveMessage();
     // Is something goes wrong print error
     if (rc.status.code!=1){
       rc.status.getResponseDescription();
     }else{
       // Print the data received
       Serial.println(rc.data);
     }
  }

  if (Serial.available()) {
    String input = Serial.  readString();
    e32ttl100.sendMessage(input);
  }
}

BTW, it says gonna send message and success!!

However, I could not communicate between those two boards. I didn't play with frequency settings.

Does anyone know what could have gone wrong?

Please help I purchased two of these modules and their use is crucial for my project

isaturk:
(In guide, resistors and voltage dividers are used but I couldn't use them because I dont have those. However, I read that TTL-100 is 5V tolerant)

Can you provide a link to the datasheet for the device please ?

You can find the datasheet here.

http://www.ebyte.com/en/downpdf.aspx?id=130

Btw I tried the plain Software Serial method as well. Here is the code for that:

#include <SoftwareSerial.h>

SoftwareSerial loraSerial(3,2);

void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);
  loraSerial.begin(9600);

}

void loop() {
  // put your main code here, to run repeatedly:

  if(Serial.available()>0){
    String msg = Serial.readString();
    loraSerial.print(msg);
    Serial.print(msg);
    }
}

Perhaps you might study the datasheet and check if the module is 5V tolerant.

Even if it is not tolerant, is there any way that I can check if it burned. I am new at this stuff

isaturk:
Even if it is not tolerant, is there any way that I can check if it burned. I am new at this stuff

Sure there there is a way to check if they are burned, if they dont work they probably are.

Did you run the getConfiguration example, that will check if the comms from Arduino to the module are working.

I tried it now and my device doesnt answer. I triple checked the wiring. I think I burned it. What a newbie mistake. Sorry, I took your time. One last question though. I got 3.3 V to 5V bidirectional logic level converter. Can I use my device with it. Will it eliminate any risk of burning?

The logic level converter, connected correctly, should prevent the pins to the E32 going above 3.3V