When WiFi runs out and cellular costs too much, LoRa fills the gap. The Waveshare LoRa HAT enables 2-15 km communication using sub-GHz frequencies with minimal power.
What is LoRa?
- Range: 2-5 km urban, 10-15 km rural line-of-sight
- Data rate: 0.3-27 kbps (sensor readings, not video)
- Power: 30 mA transmit, microamps sleep
- Frequency: 865-867 MHz ISM band in India
HAT Specs
- Semtech SX1262 or SX1268
- TX power up to +22 dBm
- Sensitivity -148 dBm
- SPI or UART interface
Setup
- Mount HAT, attach SMA antenna (never transmit without antenna).
- Enable SPI via raspi-config.
- Install Python library.
Indian Frequency Regulations
865-867 MHz permitted at up to 1W EIRP. No licence required. Avoid 868 MHz (European, not permitted in India). Buy the IN865 variant.
Python Communication
Transmitter
from SX1262 import SX1262
lora = SX1262(spi_bus=0, clk=11, mosi=10, miso=9, cs=8, irq=22, rst=27, gpio=24)
lora.begin(freq=866.0, bw=125.0, sf=9, cr=5, pwr=14)
lora.send(b"Temp:28.5,Hum:65")
Receiver
data, err = lora.recv(timeout=10)
if len(data) > 0:
print(f"Received: {bytes(data).decode()} RSSI: {lora.getRSSI()} dBm")
LoRaWAN Gateway
Install ChirpStack on Pi for a full LoRaWAN deployment. Data flows: Sensor → LoRa → Pi Gateway → ChirpStack → MQTT → Dashboard.
Range Testing Tips
- Antenna height matters more than power. 3m height doubles range vs ground level.
- Higher spreading factor = longer range but slower.
- Line of sight essential for 10+ km.
Frequently Asked Questions
Max range in India?
2-5 km urban, 10-15 km rural with elevated antennas.
Can LoRa send images?
No. Max 27 kbps. Designed for small sensor payloads.
How many nodes per gateway?
Single-channel: 20-50 nodes. 8-channel: thousands.
Legal without licence?
Yes, in 865-867 MHz band at up to 1W EIRP.
Conclusion
The Waveshare LoRa HAT opens long-range IoT at a fraction of cellular cost. For agricultural, smart city, and environmental monitoring across India, LoRa provides the range WiFi and Bluetooth cannot.
Browse the full Waveshare collection at Zbotic.in with fast shipping across India.
Add comment