Problem interfacing with Lora AS32 TTL-100 wireless transreceiver module

I recently bought two of these lora modules (AS32 TTL-100) and have tried several ways to transmit a "hello" message from one node to the other, but I am really unable to do so.

I have tried the following methods to accomplish the transmission.

Method-1

Connections :

AS32-TTL-100 - Arduino UNO

M0 ----- 7

M1 ----- 8

TX ----- RX (0)

RX ----- TX (1)

AUX ----- Not connected

VCC ----- 5v

GND ----- GND

Transmitter Code:

#define M0 7
#define M1 8

void setup() 
{
Serial.begin(9600);
pinMode(M0, OUTPUT);
pinMode(M1, OUTPUT);
digitalWrite(M0,LOW);
digitalWrite(M1,LOW);
}

void loop() 
{
Serial.println("Hello");
delay(500);
}

Receiver Code:

#define M0 7
#define M1 8

void setup() 
{
Serial.begin(9600);
pinMode(M0, OUTPUT);
pinMode(M1, OUTPUT);
digitalWrite(M0,LOW);
digitalWrite(M1,LOW);
}

void loop() 
{
  if(Serial.available()>0)
  {
    String input = Serial.readString();
    Serial.println(input);
  }
}

Method -1 did not work, so I tried method-2 which is shown below.

Method-2

Connections :

AS32-TTL-100 - Arduino UNO

M0 ----- 7

M1 ----- 8

TX ----- 2

RX ----- 3

AUX ----- Not connected

VCC ----- 5v

GND ----- GND

Transmitter Code:

#include<SoftwareSerial.h>
SoftwareSerial mySerial (2,3);
#define M0 7
#define M1 8

void setup() 
{
Serial.begin(9600);
mySerial.begin(9600);
pinMode(M0, OUTPUT);
pinMode(M1, OUTPUT);
digitalWrite(M0,LOW);
digitalWrite(M1,LOW);
}

void loop() 
{
mySerial.println("Hello");
}

Receiver Code:

#include<SoftwareSerial.h>
SoftwareSerial mySerial (2,3);
#define M0 7
#define M1 8

void setup() 
{
Serial.begin(9600);
mySerial.begin(9600);
pinMode(M0, OUTPUT);
pinMode(M1, OUTPUT);
digitalWrite(M0,LOW);
digitalWrite(M1,LOW);
}

void loop() 
{
  if(mySerial.available()>0)
  {
    String input = mySerial.readString();
    Serial.println(input);
  }
  
}

I tried all the above mentioned methods but I didn't get the desired output/result, infact the serial monitor in the receiver side just shows a blank screen.

I haven't done any configurations to the lora modules, all the configurations are default.

I am very new to these modules, I would be really thankful if somebody could help me out.

Thank You.

Can you supply a link to a data sheet for the device, so we can start from the same place you did? What are you using for antennas for the devices?

Which Arduino are you using?

Be sure to use logical level shifters if you interface a 5V Arduino to a 3.3V radio module. Failure to do so may destroy both the Arduino and the radio.

I am using arduino uno

Even I searched for the datasheet of AS32-TTL-100 but coudn't really find it, with my research I come to know that this module is very much similar to E32-TTL-100, so heres the datasheet of E32-TTL-100

It is a serious mistake to buy a module for which there is no data sheet.

There are plenty of other inexpensive radio modules available, with data sheets and lots of tutorials to follow.

The ES32-ttl100 datasheet claims that RX and TX are TTL levels, so you may be OK without logic level shifters. But without a data sheet, you can't be sure until the smoke start to rise.

Here's the datasheet for AS32-TTL-100

I was actually planning to buy E32-TTL-100, but unfortunately it was not available at my place.

How are you supplying the 5 volts to the device, since the minimum is 300ma?

And again! What are you using for antennas?

For now I have not purchased the antennas, if these modules work as intended, I will get the antennas.

Strange way of testing. They can't work without antennas.

1 Like

I am supplying the 5V from the 5V pin of arduino

You are not going to get 300ma from an Arduino pin. Get a real power supply.

1 Like

Since you don't even understand the importance of an antenna, I wonder what might be the reason for that particular choice.

These modules are just lying on my table, isn't the antenna used to increase the range ??

Yes, from zero (if the transmitter manages to survive the insult) to something useful.

It will take days for the antenna to get delievered to my place,isn't there any alternative solution for the antennas ?

I am very much new to radio modules, with my research I found that this modules suits best for my project, but I was really unaware of the antennas, really sorry for that.

You can try sticking a straight piece of bare wire (17 cm for 433 MHz) into the center pin of the SMA antenna connector.

But keep in mind that the output stages of many transmitters are instantly destroyed if operated at full power without an antenna connected.

It will also be destroyed if that bare wire makes contact with the outer conductor of the connector.

I haven't configured these modules, I am running them on their default configurations. Let me try what you said and check if it works