Comments on: ESP32 with LoRa using Arduino IDE – Getting Started https://randomnerdtutorials.com/esp32-lora-rfm95-transceiver-arduino-ide/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Fri, 18 Jul 2025 03:02:11 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Filipe Teixeira https://randomnerdtutorials.com/esp32-lora-rfm95-transceiver-arduino-ide/#comment-1070579 Fri, 18 Jul 2025 03:02:11 +0000 http://randomnerdtutorials.com/?p=63668#comment-1070579 Obrigado pela partilha, vou experimentar esta montagem.

]]>
By: Bernard Lheureux https://randomnerdtutorials.com/esp32-lora-rfm95-transceiver-arduino-ide/#comment-1033263 Fri, 02 May 2025 14:29:35 +0000 http://randomnerdtutorials.com/?p=63668#comment-1033263 I published a solution some years ago, a line to add somewhere. But I don’t use esp32 anymore, too unstable, I prefer Raspi.

]]>
By: Dr Quark https://randomnerdtutorials.com/esp32-lora-rfm95-transceiver-arduino-ide/#comment-1033257 Fri, 02 May 2025 14:10:42 +0000 http://randomnerdtutorials.com/?p=63668#comment-1033257 I’m running your sender code on a HiLetgo ESP32 LoRa SX1262 0.96 inch OLED with no problems. However, running the receiver code on a DOIT Devkit V1 with the SF95 LORA unit and an I2C 0.96 OLED, the code runs for some random length of time, from 30 minutes to 2 hours, then locks up. My SPI pin assignments are:

#define SCK 18
#define MISO 19
#define MOSI 23
#define SS 5
#define RST 12
#define DIO0 13

In setup() I can start LORA

//SPI LoRa pins
SPI.begin(SCK, MISO, MOSI, SS);
//setup LoRa transceiver module
LoRa.setPins(SS, RST, DIO0);

if (!LoRa.begin(BAND)) {
delay(250) ;
Serial.println("Starting LoRa failed!");
while (1); // stop here

In loop(), as long as I don’t call LoRa.parsePacket() or LoRa.read(), the rest of the code runs fine. My conclusion is that after several hundred packets, something is going haywire in the library or the SPI driver. Anyone else see this? Are my SPI pin assignments a problem?

]]>
By: Jesus https://randomnerdtutorials.com/esp32-lora-rfm95-transceiver-arduino-ide/#comment-1014946 Sun, 09 Mar 2025 08:40:15 +0000 http://randomnerdtutorials.com/?p=63668#comment-1014946 Hello Sara,

I tried to make this circuit with an esp8266 Wemos D1 Mini board with the declaration of these pins: https://randomnerdtutorials.com/esp8266-pinout-reference-gpios/

The ones corresponding to the SPI connection are connected correctly according to the Wemos D1 Mini pin diagram (SCLK, MISO, MOSI)
and

#define ss 15
#define rst 16
#define dio0 2

But both, in the transmitter and in the receiver through the serial port the only thing that is observed is “Noise” meaningless symbols
I checked the cable connections several times but everything was correct, I don’t understand what I could be doing wrong
When compiling and loading on the board it doesn’t give errors.

Any ideas?

Thanks
Jesus

]]>
By: milan https://randomnerdtutorials.com/esp32-lora-rfm95-transceiver-arduino-ide/#comment-1008608 Mon, 17 Feb 2025 13:25:57 +0000 http://randomnerdtutorials.com/?p=63668#comment-1008608 can we use Sx1262 with ESP32 wroom32?

]]>
By: milan https://randomnerdtutorials.com/esp32-lora-rfm95-transceiver-arduino-ide/#comment-1008607 Mon, 17 Feb 2025 13:24:35 +0000 http://randomnerdtutorials.com/?p=63668#comment-1008607 In reply to Sara Santos.

can we do it using Sx1262?

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-lora-rfm95-transceiver-arduino-ide/#comment-1000078 Wed, 15 Jan 2025 14:15:37 +0000 http://randomnerdtutorials.com/?p=63668#comment-1000078 In reply to Monico.

Hi.
Yes. The library is also compatible with the Arduino board.
Make sure you check the pinout for the Arduino: github.com/sandeepmistry/arduino-LoRa?tab=readme-ov-file#semtech-sx1276777879-wiring
Regards,
Sara

]]>
By: Monico https://randomnerdtutorials.com/esp32-lora-rfm95-transceiver-arduino-ide/#comment-1000022 Wed, 15 Jan 2025 06:17:59 +0000 http://randomnerdtutorials.com/?p=63668#comment-1000022 Hi Sara,
Can I use my existing Arduino Nano board instead of ESP32?
Thank you, and more power to you and your staff.

Best regatds,
Monico

]]>
By: Cesar https://randomnerdtutorials.com/esp32-lora-rfm95-transceiver-arduino-ide/#comment-951687 Mon, 26 Aug 2024 19:52:30 +0000 http://randomnerdtutorials.com/?p=63668#comment-951687 Very nice tutorial, congrats!
A tip: in order to have a proper solder on the LoRa module I used a ESP32S breakout board like this one: aliexpress.com/item/32819647099.html then soldered LoRa’s pins on the left side (the one where says RESET). I Also managed to solder a pin for the ground and the antenna (on the right side = IO0).

]]>
By: sharat https://randomnerdtutorials.com/esp32-lora-rfm95-transceiver-arduino-ide/#comment-907110 Thu, 18 Apr 2024 04:10:14 +0000 http://randomnerdtutorials.com/?p=63668#comment-907110 Hii ,
thanks
How can I read out the actual preamb of the transmitted package in detail?

]]>