The Core1262 LF/HF LoRa module, manufactured by Waveshare, is a low-power, long-range wireless communication module designed for IoT applications. It operates in both low-frequency (LF) and high-frequency (HF) bands, making it versatile for various use cases. This module is ideal for transmitting data over long distances with minimal power consumption, making it suitable for applications such as remote sensing, smart agriculture, asset tracking, and more.
Parameter | Value |
---|---|
Operating Voltage | 1.8V - 3.7V |
Frequency Range | 137 MHz - 1020 MHz |
Modulation | LoRa, FSK, GFSK, MSK, GMSK |
Output Power | Up to +22 dBm |
Sensitivity | -139 dBm |
Data Rate | 0.018 kbps - 62.5 kbps |
Communication Range | Up to 15 km (line of sight) |
Current Consumption | 4.6 mA (Rx), 20 mA (Tx @ +14dBm) |
Interface | SPI |
Dimensions | 24 mm x 18 mm |
Pin Number | Pin Name | Description |
---|---|---|
1 | GND | Ground |
2 | VCC | Power Supply (1.8V - 3.7V) |
3 | SCK | SPI Clock |
4 | MISO | SPI Master In Slave Out |
5 | MOSI | SPI Master Out Slave In |
6 | NSS | SPI Chip Select |
7 | DIO0 | Digital I/O Pin 0 (Interrupt) |
8 | DIO1 | Digital I/O Pin 1 (Interrupt) |
9 | DIO2 | Digital I/O Pin 2 (Interrupt) |
10 | RESET | Reset Pin |
#include <SPI.h>
#include <LoRa.h>
// Define the pins used by the LoRa module
#define NSS 10
#define RESET 9
#define DIO0 2
void setup() {
// Initialize serial communication
Serial.begin(9600);
while (!Serial);
// Initialize the LoRa module
LoRa.setPins(NSS, RESET, DIO0);
if (!LoRa.begin(915E6)) {
Serial.println("Starting LoRa failed!");
while (1);
}
Serial.println("LoRa initialized successfully.");
}
void loop() {
// Send a message every 2 seconds
Serial.println("Sending packet...");
LoRa.beginPacket();
LoRa.print("Hello, world!");
LoRa.endPacket();
delay(2000);
}
By following this documentation, users should be able to effectively integrate and utilize the Core1262 LF/HF LoRa module in their projects, ensuring reliable and long-range wireless communication.