The LoRa-modul 868MHz Core1262-HF by Waveshare is a low-power, long-range wireless communication module operating at 868 MHz. It is designed for Internet of Things (IoT) applications, enabling devices to communicate over distances of several kilometers with minimal power consumption. This module is based on the Semtech SX1262 LoRa transceiver chip, which provides robust performance in challenging environments.
The following table outlines the key technical details of the LoRa-modul 868MHz Core1262-HF:
Parameter | Value |
---|---|
Operating Frequency | 868 MHz |
Modulation Technique | LoRa/FSK |
Transmit Power | Up to +22 dBm |
Sensitivity | -148 dBm (LoRa, SF12, 125 kHz BW) |
Communication Range | Up to 10 km (line of sight) |
Supply Voltage | 1.8V to 3.7V |
Current Consumption | 4.6 mA (Rx), 22 mA (Tx @ +10 dBm) |
Interface | SPI |
Dimensions | 17.8 mm × 15.2 mm × 2.3 mm |
Operating Temperature | -40°C to +85°C |
The Core1262-HF module has a total of 8 pins. The pin configuration is as follows:
Pin Number | Pin Name | Description |
---|---|---|
1 | GND | Ground |
2 | VCC | Power supply (1.8V to 3.7V) |
3 | MISO | SPI Master In Slave Out |
4 | MOSI | SPI Master Out Slave In |
5 | SCK | SPI Clock |
6 | NSS | SPI Chip Select (Active Low) |
7 | DIO1 | Digital I/O 1 (Interrupt/Status Pin) |
8 | RESET | Reset Pin (Active Low) |
Below is an example of how to connect the Core1262-HF to an Arduino UNO and send a basic LoRa message.
Core1262-HF Pin | Arduino UNO Pin |
---|---|
VCC | 3.3V |
GND | GND |
MISO | Pin 12 |
MOSI | Pin 11 |
SCK | Pin 13 |
NSS | Pin 10 |
DIO1 | Pin 2 |
RESET | Pin 9 |
#include <SPI.h>
#include <LoRa.h> // Include the LoRa library
#define NSS 10 // SPI Chip Select pin
#define RESET 9 // Reset pin
#define DIO1 2 // Interrupt pin
void setup() {
// Initialize serial communication for debugging
Serial.begin(9600);
while (!Serial);
// Initialize LoRa module
Serial.println("Initializing LoRa...");
LoRa.setPins(NSS, RESET, DIO1); // Set LoRa module pins
if (!LoRa.begin(868E6)) { // Initialize at 868 MHz
Serial.println("LoRa initialization failed!");
while (1);
}
Serial.println("LoRa initialized successfully!");
}
void loop() {
// Send a test message
Serial.println("Sending message...");
LoRa.beginPacket();
LoRa.print("Hello, LoRa!");
LoRa.endPacket();
delay(5000); // Wait 5 seconds before sending the next message
}
Module Not Responding
Poor Communication Range
LoRa Initialization Fails
High Power Consumption
Q: Can I use this module with a 5V microcontroller?
A: Yes, but you must use a level shifter to convert the 5V logic signals to 3.3V for the module.
Q: What is the maximum data rate supported by this module?
A: The maximum data rate is 62.5 kbps in LoRa mode and 300 kbps in FSK mode.
Q: Is this module compatible with other LoRa devices?
A: Yes, as long as they operate on the same frequency (868 MHz) and use the same LoRa settings (e.g., spreading factor, bandwidth).
Q: Can I use this module for bidirectional communication?
A: Yes, the module supports both transmitting and receiving data.
Q: Does the module support encryption?
A: Yes, the module supports AES-128 encryption for secure communication.