Heltec ESP 32 v2, Trying to receive something with a SF12

Hey guys,

I bought a Heltec ESP 32 vs 2 node. I set it up to receive data with a spreading factor 12. I downloaded the Example(Arduino Git Example Link) “LoRaReceiver” and only add LoRa.Spreadinfactor. The problem is i can’t read messages with a higher SF than 9. (I receive messages with my Spectrum-Analyser). Do you know what I did wrong or what i have to set up?

Kind Regard
Milad

The heltec github is based on the radiohead lora lib, which is not lorawan. Try flashing the device with a lorawan stack, like LMIC. An easy plug&play way is to use the paxcounter app which is based on LMIC.

1 Like

That library does not look like a TTN library, so you might finf no-one in this TTN forum has used it before.

in your sktech, nowhere i see :

LoRa.setSpreadingFactor(12);

Needs to be in both sketch, sender and receiver

Hey, Thank you guys!! :slight_smile:

I wanted this lib bcz i need access to the register for my project (only the FIFO). Ok sry, I thought someone know this problem for this lib. (I wrote my own LoRaWAN lib)

Yeah I set 12 in both devives. Lopy4 <->Heltec<->RN2483. Only RN2483 and Lopy4 working.

Thanks again and sry!!!
Milad

You wrote your own LoRaWAN lib? :thinking: