LoRa Sender Starting LoRa failed!

Hello,

I have a problem with sending and receiving data.

I followed steps like on GitHub - sandeepmistry/arduino-LoRa: An Arduino library for sending and receiving data using LoRa radios. post, but serial monitor says:

LoRa Sender
Starting LoRa failed!

A code:

#include <SPI.h>
#include <LoRa.h>

int counter = 0;

void setup() {
  Serial.begin(9600);
  while (!Serial);
  LoRa.begin(433E6);

  Serial.println("LoRa Sender");

  if (!LoRa.begin(433E6)) {
    Serial.println("Starting LoRa failed!");
    while (1);
  }
}

void loop() {
  Serial.print("Sending packet: ");
  Serial.println(counter);

  // send packet
  LoRa.beginPacket();
  LoRa.print("hello ");
  LoRa.print(counter);
  LoRa.endPacket();

  counter++;

  delay(5000);
}

What to do? :slight_smile:

Thanks

Screen Shot 2018-06-25 at 12.25.29.png

Using tick marks (') to enclose code on this forum does not work. If you read the forum guidelines in the sticky post, it will tell you how to post code, links, pictures and other tips about what to include in your post so that others can help you. Please modify your post above and correct it.

mavericks123:
What to do? :slight_smile:

You have probably not connected the LoRa device correctly, but you did not provide any details of your setup or the Arduino you are using, so thats just a guess.

srnet:
You have probably not connected the LoRa device correctly, but you did not provide any details of your setup or the Arduino you are using, so thats just a guess.

Please check my attachments :slight_smile:



Screen Shot 2018-06-25 at 12.25.29.png

mavericks123:
Please check my attachments :slight_smile:

They are not good. Please attach a proper schematic. Hand drawn is ok if it is neat.

PaulRB:
They are not good. Please attach a proper schematic. Hand drawn is ok if it is neat.

I followed steps like on GitHub - sandeepmistry/arduino-LoRa: An Arduino library for sending and receiving data using LoRa radios.

Did you follow all the steps, or just the ones you wanted to follow? What about these steps:

NOTES:

Some boards (like the Arduino Nano), cannot supply enough current for the SX127x in TX mode. This will cause lockups when sending, be sure to use an external 3.3V supply that can provide at least 120mA's when using these boards.
If your Arduino board operates at 5V, like the Arduino Uno, Leonardo or Mega, you will need to use a level converter for the wiring to the Semtech SX127x module. Most Semtech SX127x breakout boards do not have logic level converters built-in.

The LoRa module is a 3.3V device and you appear to have connected the 5v level pins of the Arduino UNO to it ?

PaulRB:
Did you follow all the steps, or just the ones you wanted to follow? What about these steps:

I followed all steps of connection. 3,3V is.

PaulRB:
They are not good. Please attach a proper schematic. Hand drawn is ok if it is neat.

SCHEMA:

mavericks123:
I followed all steps of connection. 3,3V is.

No, you did not follow the steps I quoted in post #7. You did not attach a proper schematic as I requested in post #5. Edit: schematic now added by OP.
Are you having difficulties with understanding technical English? There are forum sections for some other languages. Perhaps you will find it easier if you post your question in one of those sections.

PaulRB:
No, you did not follow the steps I quoted in post #7. You did not attach a proper schematic as I requested in post #5. Edit: schematic now added by OP.
Are you having difficulties with understanding technical English? There are forum sections for some other languages. Perhaps you will find it easier if you post your question in one of those sections.

My board have 3,3V, so I followed all steps.

mavericks123:
My board have 3,3V, so I followed all steps.

No you did not, read all the steps again.

They are in the notes that came with the library and also quoted in post #7

I got it. Thanks people

mavericks123:
I got it.

And what does that mean ?

It would be helpful to others who, may in the future, have the same problem, can have an explanation of what the soloution was.