ESP32 Projects

ESP32 LoRa 21 Km Long Range Communication – Heltec LoRa 32

Last Updated on December 10, 2025 by Engr. Shahzada Fahad

Description:

ESP32 LoRa 21 Km Long Range Communication – Heltec LoRa 32- If you are looking for a real, hands-on look at what the ESP32 LoRa 32 can actually do; not just the specs printed on a product page;

ESP32 LoRa 32 demonstrating up to 21km long-range transmission

This article will save you hours of guesswork. I walk through the setup and testing in a practical way, showing exactly how these boards behave in real projects. We are going to perform one-way and two-way communication.

Whether you are building off-grid communication, experimenting with Meshtastic, or exploring long-distance IoT, this getting started guide gives you a clear picture of what to expect before you even power up your board.




It is the Meshnology N35 ESP32 LoRa Board Kit / Heltec LoRa 32.

Meshnology N35 ESP32 LoRa 32 board kit for IoT development

I have been waiting to get my hands on this for a long time. If you love long-range wireless communication, this kit is going to blow your mind.

So this is everything I received in the package. First, I have two Heltec LoRa 32 boards. These are the classic ESP32 LoRa boards with a 0.96-inch OLED display right on top. They support LoRa, Wi-Fi, and Bluetooth.

Next, take a look at those two military-green protective cases. They already have the cutout for the OLED screen, buttons, and ventilation on the sides.

So right out of the box, you get two LoRa boards, two tough enclosures, and all the mounting hardware. Very neat, very thoughtful.

ESP32 LoRa 32 development board shown for long-range wireless projects



Let’s open the box and see what’s inside.

Alright, so inside the plastic casing, here is what we get.

Full kit contents for ESP32 LoRa 32 distance communication setup.

First, there are male header pins. These are going to be useful if I want to mount this board on a breadboard or connect external sensors. Good to see these included, because sometimes manufacturers skip them to cut costs.

Next, the star of the show: the LoRa development board itself. Clean layout, compact size, and a Type-C port. That already feels like an upgrade. No more struggling with micro-USB cables.

We also get two antennas. One flexible wire antenna for tight spaces and one stronger external antenna for long-range tests. Great to have both options right from the start.

There is also a small cable for connecting a Li-Po battery, which will be useful when we want to go fully wireless.

Everything you need is right here. No extra shopping required.

Compact ESP32 LoRa 32 board used for wireless IoT control.

For now, I will keep things very simple. No soldering yet. No battery. I will power the board directly from my laptop or a 5V adapter and start with some initial tests.

If you plan to use this board for automation, then I definitely recommend soldering the headers, because you will need reliable connections for sensors and input/output pins. I have already made a lot of videos using different LoRa modules where I not only monitored sensors, but also controlled different loads over long distance.



For today, I want to keep everything simple and straightforward.

ESP32 LoRa 32 microcontroller board for wireless IoT nodes

Amazon Links:

Heltect LoRa 32

Other Tools and Components:

ESP32 WiFi + Bluetooth Module (Recommended)

Arduino Nano USB C type (Recommended)

*Please Note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!

Okay, so before we go deeper, let me make one thing clear. All the basic specs and intro details are already available right here on the official product page. You can read everything in detail any time. I am not going to waste your time explaining what is already written.

Instead, we will quickly walk through this page together and focus only on what actually matters for real projects.

Now check this out.

ESP32 LoRa 32 module with OLED and battery holder case.

This is the Meshnology N35 ESP32 LoRa V3 / WiFi LoRa 32 V4 Development Kit. It says All-in-One ESP32-S3 LoRa Development Kit, and honestly, that is exactly what this is.

Wi-Fi, Bluetooth, LoRa, battery, display, case. Everything built right in.

Here they show the long-range communication details. SX1262 chip, up to 21dBm output and seriously good sensitivity. If you do Meshtastic or LoRaWAN nodes, that number matters.

Then here we have the case and battery features. A 3000mAh battery already installed inside the enclosure. USB-C charging and protection circuits are all included. There is a small OLED display, which helps a lot when you want instant debugging without plugging into a PC.

Next part: Developer friendly I/O.

All the important interfaces are available: ADC, I2C, SPI, UART, plus capacitive touch. That means you can attach sensors, GPS modules, displays, almost anything you want. It is fully Arduino compatible. You can even use it with a Raspberry Pi.



Now this is the part everyone gets confused about. V3 vs V4.

Feature ESP32 LoRa 32 V3 WiFi LoRa 32 V4 (Upgraded)
Main MCU ESP32-S3FN8, dual-core, up to 240MHz ESP32-S3R2, dual-core, 2MB PSRAM, 16MB Flash
LoRa Chip SX1262 SX1262
USB Interface Type-C, with voltage regulation & ESD protection Type-C, with voltage regulation, ESD, short-circuit protection, RF isolation
USB-to-Serial Chip Integrated CP2102 Removed – simpler design, lower cost
Display 0.96″ 128×64 OLED 0.96″ OLED (with PC casing protection)
Antenna 2.4GHz spring antenna  Integrated FPC 2.4GHz antenna with casing + IPEX connector
Battery Interface SH1.25-2, with charge/discharge management SH1.25-2, optimized management, solar panel input (4.4–6V / ≤540mA)
GPS Interface Not available Added SH1.25-8Pin GNSS interface
Wireless Connectivity Wi-Fi b/g/n, Bluetooth 5 (LE), LoRa Wi-Fi b/g/n, Bluetooth 5 (LE), LoRa
Memory 384KB ROM, 512KB SRAM, 16KB RTC SRAM, 8MB Flash 2MB PSRAM + 16MB Flash
LoRa TX Power 21 ±1dBm 27 ±1dBm (High Power Upgrade)
Power Consumption Low-power design Ultra-low <20μA, GNSS power independently controllable
Dimensions 50.2 × 25.5 × 10.2 mm Similar footprint (V3 pin-compatible)
Operating Temp. -20 ~ 70 ℃ -20 ~ 70 ℃
Development Support Arduino IDE Arduino + extended compatibility
Notable Extras CP2102 for programming/debug Solar input, stronger LoRa, GNSS, casing protection

So look at this table. V4 has noticeable upgrades over V3.

More memory.

Higher LoRa transmit power.

Solar panel support.

GNSS expansion port.

Better protection on the casing and antennas.

Lower power consumption.

This is very important if you want long-term outdoor deployment.

And it’s not just the basic details. On this same page, they have also provided the full installation instructions.

ESP32 LoRa 32 board installation and setup demonstration.

There is a complete pinout diagram,

ESP32 LoRa 32 pinout diagram showing labeled GPIOs.

And every onboard component is clearly labeled,

Detailed interface view of the ESP32 LoRa 32 IoT board.

So you instantly know what is what. Plus, there is a lot more useful information available right here on this page if you want to explore further. Now, let’s go ahead and start with the board installation.




Heltec ESP32 Board installation:

Make sure you have the latest version of the Arduino IDE installed on your system. As you can see, I am using Arduino IDE version 2.3.6.

Arduino IDE setup configured for ESP32 LoRa 32 programming.

After installing the Arduino IDE, you will see notification messages like: “Updates are available for some of your libraries” and “Updates are available for some of your boards.”

Software update prompt when preparing ESP32 LoRa 32 environment.

If you don’t want to update the libraries, that’s completely fine; because some projects require specific library versions.

However, you must install or update the boards, otherwise the Heltec ESP32 Dev Board won’t appear in the search results.

So, let’s go ahead and update it.

Updating ESP32 LoRa 32 boards in latest Arduino IDE release.

As you can see; I only updated the boards.

Next, go to the Boards Manager; search for Heltec ESP32, and as you can see, I have already installed it.

Installing ESP32 LoRa 32 board package in Arduino IDE.

After this, you will also need to install the corresponding library.



Library Installation:

To do this, go to the Library Manager and search for Heltec ESP32.

Installing ESP32 LoRa 32 board package in Arduino IDE.

Currently, version 2.1.5 is installed, which is the latest one.

And that’s it; you are all set.

Heltec LoRa 32 Testing:

Connect your Heltec LoRa 32 Development Board to your laptop or PC.

Then, go to the File menu → Examples → and look for Heltec ESP32 Dev-Boards.

You will see a lot of categories, and each category contains multiple examples for different boards.

Demonstration examples for learning ESP32 LoRa 32 features

Since my main goal here is to test the boards and verify whether I can upload the code successfully, let’s go to the OLED category and open the DrawingDemo example.



Uploading the Code:

To upload the program, go to the Tools menu → Board → Heltec ESP32 Series Dev-boards, and select WiFi LoRa 32 (V3).

Programming ESP32 LoRa 32 board in Arduino IDE.

Next, select the correct communication port, and finally click on the Upload button.

Beginner setup guide for ESP32 LoRa 32 wireless module.

As you can see, both LoRa 32 development boards are working perfectly.

I have uploaded different codes to both boards for testing.

From this point onward, things become much easier; because I have already prepared two examples for you: one for one-way communication and another for two-way communication.



One-way communication between Heltec LoRa 32:

Transmitter Code:




Receiver Code:

 

I have already uploaded both programs; so, let’s go ahead and see them in action!



Practical Demonstration:

The transmitter side is currently sending a random value, and the receiver side is successfully receiving it.

One-way message transmission using ESP32 LoRa 32 modules.

Instead of sending a random value, you can connect a sensor or a button and transmit its readings to the receiver; allowing you to monitor the sensor data or button state remotely.

In fact, you can even connect multiple input devices and send all their values together as a string message to the receiver.

Now, let’s disconnect the transmitter side so you can clearly see that this is a real wireless communication.

Wireless data transmission demo using ESP32 LoRa 32.

After disconnecting the transmitter, you can see that the value on the receiver side is no longer updating.

Let’s power the transmitter back on…

ESP32 LoRa 32 demonstrating up to 21km long-range transmission

And as soon as I turned it on, the receiver side started updating the value in real time again.



Two-way communication between Heltec LoRa 32:

This program is designed to demonstrate two-way communication.

It not only sends a random value, but also receives and displays the incoming value on the screen.

I have uploaded the same code to both Heltec LoRa 32 Development Boards; so, let’s go ahead and see it in action!



Practical Demonstration:

You can clearly see on the displays that both boards are actively communicating with each other in real time.

Two-way data exchange between two ESP32 LoRa 32 boards.

This proves that our two-way LoRa communication setup is working perfectly.

In a real-world project, you could replace the random value with sensor data, button states, or any other input, allowing both devices to exchange information wirelessly over long distances.

In the next article, we will use these LoRa 32 Development boards to build a fully functional off-grid text messaging system, and we will also perform an extreme-range test. So, that’s all for now.




Watch Video Tutorial:

ESP32 LoRa 21 Km Long Range Communication – Heltec LoRa 32

 


Discover more from Electronic Clinic

Subscribe to get the latest posts sent to your email.

Engr. Shahzada Fahad

Engr. Shahzada Fahad is an Electrical Engineer with over 15 years of hands-on experience in electronics design, programming, and PCB development. He specializes in microcontrollers (Arduino, ESP32, STM32, Raspberry Pi), robotics, and IoT systems. He is the founder and lead author at Electronic Clinic, dedicated to sharing practical knowledge.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Discover more from Electronic Clinic

Subscribe now to keep reading and get access to the full archive.

Continue reading

Electronic Clinic
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.