• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Starting Lora Failed

Q&A Forum › Category: ESP32 › Starting Lora Failed
0 Vote Up Vote Down
dragon541 asked 6 years ago

ESP32 – LoRa Sender and Receiver.
Followed schematic, changed arguement to 915E6 to match LoRa board:

//replace the LoRa.begin(---E-) argument with your location's frequency 
 
//433E6 for Asia
 
//866E6 for Europe
 
//915E6 for North America
 
if (!LoRa.begin(915E6)) {
   
Serial.println("Starting LoRa failed!");
   
while (1);
 
}
 
Serial.println("LoRa Initializing OK!");

Loaded sketch and rebooted ESP32 board all per instructions. But I get the following output and no idea why. 
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x1b (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:808
load:0x40078000,len:6084
load:0x40080000,len:6696
entry 0x400802e4
LoRa Sender
Starting LoRa failed!
Checked and double checked connections, checked with different LoRa board, then with different ESP32 board. Always the same results.
The only difference I can see is my LoRa board has the W box ticked and your picture of the board bottom showing the freq. of the board (ESP32 Module 6 Unit 2) doesn’t, though I wouldn’t think that makes a difference.
Any ideas what is going on?

3 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

Which LoRa board are you using? Can you post a link to where you purchase it? It might require a different pin assignment for example…

0 Vote Up Vote Down
dragon541 answered 6 years ago

https://www.aliexpress.com/item/2PCS-LOT-RFM95-RFM95W-868Mhz-915Mhz-RFM95-868MHz-RFM95-915MHz-LoRaTM-Wireless-Transceiver/32817685871.html?spm=2114.search0604.8.19.1fe34102TdPMnx&transAbTest=ae803_4

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

If you’re using my exact code and that module I can only imagine it’s a hardware problem:

  • How are you accessing the LoRa modules GPIOs? Did you solder some pins?
  • It can be a small wiring problem or the module itself is fried

Thanks for your patience. Regards,
Rui

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.