-
-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arduino MEGA getting "starting LORA Failed" #205
Comments
Are you calling |
Yes I am calling it, and it works with UNO, I can arbitrarily choose them.
|
By the way I also tried with 3 different Mega, even a brand new one, and I still get no commmunication |
Ok I solved it. I simply forgot to connect the 5V of the logic converter. My bad. Thank you very much for all your support |
Please can you upload the circuit diagram of it. its not working! |
hello everyone |
@feras33 Why dont you create a new thread? |
Send your circuit diagram. |
I wired it like this: LORA------------MEGA MOSI------------51 I am using SPI.h and LoRa.h Library |
Attach DIO1 to 3. |
Yes it is 433MHZ |
I have changed the frequency in the code from the library |
do you have source code for the receiver? and using arduino mega too? |
Your mapping to SS to 10 may be wrong. Ah, 3.3v in Mega said up to 50mA!!!! => LoRa may need up to 100mA => You may not have enough power to send packets far. Try to use external power. GND - GND And add the two magic lines:
Full of my code
|
As an IT, define "not working". |
Starting Lora Failed |
Did you put this in front of LoRa.begin()
If still failed, your LoRa is likely faulty. |
Already, previously I tried to connect LoRa with arduino uno, it works to sending data, which is my LoRa is good. But I tried to connect arduino mega, failed. *I copied your code, and your set pins to my project |
What GPIO you use to connect to NSS/SS of LoRA? |
Digital pin 53 |
Try to use external 3.3v for LoRa |
Hello and thank you in advance for the help. I have Arduino Mega and Lora-02 module.
The Module works fine with Arduino UNO, as I tried, but when I wire it to the Arduino Mega it is not able to communicate with the module.
I wired it like this:
LORA------------MEGA
MOSI------------51
SCK-------------52
MISO-----------50
NSS-------------10
RESET-----------9
DIO0-------------2
I am using SPI.h and LoRa.h Library
What can be the reason? Thank you.
The text was updated successfully, but these errors were encountered: