Random Nerd LoRa beginner

I am new to lora and have been using the well described Random Nerd tutorials.
Starting with


and now

I would like to use his code with my Heltec V3 board. MIght it work if I just change the pins?
He uses

//Libraries for LoRa
#include <SPI.h>
#include <LoRa.h> <- often used with Arduino C - using “STRING” instead of low level C

//Libraries for OLED Display
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

The challenge is to change the numbers from these.

//define the pins used by the LoRa transceiver module
#define SCK 5 9?
#define MISO 19 11?
#define MOSI 27 10?
#define SS 18 8?
#define RST 14 12?
#define DIO0 26 ???
IRQ??? BUSY???

//OLED pins
#define OLED_SDA 4 17?
#define OLED_SCL 15 18?
#define OLED_RST 16 ??

I am unsure of DIO0 (DIO1) on Haltec
Haltec have a BUSY pin - is that the Nerd IRQ pin?

Or perhaps they are just too different?

Unfortunately not. In my early LoRa days, I found the Random Nerd Tutorials helpful and the background info you get from these should be a good foundation. But the TTGO [SX1276] LoRa chip is different to the [SX1262] one used in the Heltec WiFi LoRa 32 V3 board. The earlier V1 & V2 boards did actually use the same SX1276 LoRa chip, and would have been compatible but the SX1262 is not supported by the Sandeep Mistry LoRa library used in the Random Nerd examples. So there’s more to it than just changing the SPI pin numbers.

Maybe have a look at the overview provided here. It’s not a tutorial, as such, but it does outline the software requirements for a couple of different LoRa chips and development modules. Then see how you go with the Heltec LoRa example sketches.

The V3 boards were a bit of a problem when they were first released, but things are pretty much bedded in now. If you have any trouble with the Heltec Example sketches, there will be people here on the forum who can help.

1 Like

Thanks - also the Lilligo boards have changed since the Nerds note was published. I am assembling raw parts and the only one built so far says - LoRa Initializing OK!