

The LoRa 32 V4 is a versatile microcontroller board equipped with a built-in LoRa (Long Range) radio module. It is specifically designed for low-power wireless communication over long distances, making it an excellent choice for Internet of Things (IoT) applications. The board combines the power of a microcontroller with the capabilities of LoRa technology, enabling seamless data transmission in remote or hard-to-reach areas.








The LoRa 32 V4 board is built to provide robust performance for a wide range of applications. Below are its key technical details:
| Parameter | Specification |
|---|---|
| Microcontroller | ESP32 (dual-core, 32-bit processor) |
| LoRa Module | Semtech SX1276 |
| Operating Voltage | 3.3V |
| Input Voltage Range | 5V (via USB) or 3.7V (via LiPo battery) |
| Flash Memory | 4MB |
| SRAM | 520KB |
| Frequency Band | 433MHz / 868MHz / 915MHz (region-specific) |
| Communication Protocols | LoRa, SPI, I2C, UART, Wi-Fi, Bluetooth |
| Antenna Connector | IPEX (external antenna required) |
| Power Consumption | Ultra-low power in sleep mode |
| Dimensions | 51mm x 25mm |
The LoRa 32 V4 board features a variety of pins for interfacing with external components. Below is the pinout description:
| Pin Name | Function | Description |
|---|---|---|
| 3V3 | Power Output | Provides 3.3V output for external components. |
| GND | Ground | Common ground for the circuit. |
| VIN | Power Input | Accepts 5V input via USB or 3.7V via LiPo. |
| GPIO0 | General Purpose I/O | Used for programming and boot mode selection. |
| GPIO21 | I2C SDA | Data line for I2C communication. |
| GPIO22 | I2C SCL | Clock line for I2C communication. |
| GPIO16 | LoRa Reset | Resets the LoRa module. |
| GPIO17 | LoRa DIO1 | Digital I/O for LoRa module. |
| GPIO18 | SPI SCK | Clock line for SPI communication. |
| GPIO19 | SPI MISO | Master In Slave Out for SPI communication. |
| GPIO23 | SPI MOSI | Master Out Slave In for SPI communication. |
| GPIO5 | LoRa NSS | Chip select for LoRa module. |
| EN | Enable | Enables or disables the board. |
| BAT | Battery Voltage | Monitors the voltage of the connected battery. |
The LoRa 32 V4 board is easy to integrate into your projects. Follow the steps below to get started:
Below is an example of how to send a simple message using the LoRa 32 V4 board with the Arduino IDE:
#include <SPI.h>
#include <LoRa.h>
// Define LoRa module pins
#define LORA_SCK 18
#define LORA_MISO 19
#define LORA_MOSI 23
#define LORA_SS 5
#define LORA_RST 16
#define LORA_DIO0 17
void setup() {
// Initialize serial communication
Serial.begin(9600);
while (!Serial);
// Initialize LoRa module
Serial.println("Initializing LoRa...");
LoRa.setPins(LORA_SS, LORA_RST, LORA_DIO0);
if (!LoRa.begin(915E6)) { // Set frequency to 915 MHz
Serial.println("LoRa initialization failed!");
while (1);
}
Serial.println("LoRa initialized successfully.");
}
void loop() {
// Send a message
Serial.println("Sending message...");
LoRa.beginPacket();
LoRa.print("Hello, LoRa!");
LoRa.endPacket();
// Wait for 5 seconds before sending the next message
delay(5000);
}
LoRa Module Not Initializing:
No Data Transmission:
Board Not Detected by Arduino IDE:
High Power Consumption:
By following this documentation, you can effectively utilize the LoRa 32 V4 board in your projects and troubleshoot common issues with ease.