Pin Mapping and Deep Sleep Issues with Heltec LoRaWAN Boards and LMIC Library

Hi everyone,

I recently purchased several Heltec boards: Heltec LoRa WiFi V3 , Heltec Wireless Stick V3 , and Heltec Wireless Tracker . I’m trying to use the LoRaWAN LMIC library 5.0,1 with these boards, but I’m struggling to figure out the correct pin mapping for the library.

I’m using this library because when I attempt to use Heltec’s own LoRaWAN library, I can’t get the boards to properly send messages to the LoRaWAN Network Server after entering deep sleep mode.

For heltec wireless stick V3
const lmic_pinmap lmic_pins = {
.nss = 6,
.rxtx = LMIC_UNUSED_PIN,
.rst = 5,
.dio = {2, 3, 4},
};

However, I’m not sure if this is correct for the Heltec boards I’m using.

Does anyone have experience setting up LMIC with these Heltec boards or know the correct pin mappings?
Additionally, if anyone has an example of using LoRaWAN with deep sleep mode on these boards, I would greatly appreciate it.

Thanks in advance for your help!

Could be done, would be an absolute nightmare - it may have better facilities for retrieving all the join session & current state now but I’ve not seen anything obvious to help with that in recent releases.

Whereas not only having Deep Sleep, these boards are the prime test platform for RadioLib and have a whole library set aside for both persistence (deep sleep) and the pins.

1 Like

Thank you, I Tested RadioLIB and works perfectly for my needs…

1 Like