BOMwiki the bill-of-materials encyclopedia
30,454,201 parts mapped · 193,225 items

You are viewing r100598 of this page, not the current version. Go to current · history

LoRaWAN Gateway

Product

Overview

A LoRaWAN gateway is the wireless access point for Internet-of-Things sensor networks, receiving long-range, low-power transmissions from potentially thousands of LoRa endpoints (sensors, trackers, meters) and relaying them to the network server for processing. Unlike Wi-Fi or cellular gateways, LoRa emphasizes range and battery life: a single AA battery in a sensor can last 5–10 years sending occasional readings. The gateway is the base station that makes this possible, using a specialized Semtech SX1302 multi-channel receiver that can demodulate up to 8 LoRa packets simultaneously on overlapping channels and spreading factors.

The gateway's core is a Linux-based processor running a packet forwarder (the Semtech Basics Station or LoRa Packet Forwarder open-source software), which pushes all received frames to a network server (backend) over Ethernet or LTE. The concentrator card houses the SX1302 baseband demodulator and the RX LNA, TX power amplifier, and antenna pair. A GPS receiver provides 1 PPS sync for time-of-arrival localization across multiple gateways.

How it works

The RX low-noise amplifier boosts the weak signal from the antenna by 20–30 dB. This goes to the SX1257 transceiver, which shifts the RF to an intermediate frequency. The SX1302 demodulator IC is the heart: it contains 8 parallel demodulators, each capable of decoding a LoRa chirp signal. Each demodulator can lock onto one spreading factor (SF), so the gateway can receive SF7 on one channel and SF12 on another simultaneously on the same frequency.

The demodulation process extracts the payload bits and headers, computes a CRC, and forwards good packets to the processor via SPI. The processor runs the packet forwarder daemon, which wraps each received frame in JSON and sends it via UDP to the network server (hosted in the cloud or on-premises). The server deduplicates frames received by multiple gateways (join request in LoRaWAN always involves redundancy), performs join authentication, and routes downlink commands back through this gateway.

Downlink (gateway-to-device) traffic is less common but supported: the server sends a downlink frame to the gateway, which uses the TX power amplifier to retransmit it. LoRaWAN Class A (default) endpoints cannot receive downlinks; Class B and C can, but Class C consumes more battery.

Coverage and capacity

A single LoRaWAN gateway can cover a few square kilometers in urban areas or dozens of kilometers in rural line-of-sight. The antenna design (height, gain, placement) is critical: mounting the gateway on a tall mast or rooftop increases range dramatically.

The SX1302's 8-channel simultaneous reception is key to capacity. In a dense deployment (e.g., a parking lot of asset trackers), many devices transmit uncoordinated (pure ALOHA access method); the gateway catches all of them using its multi-channel receiver. If more than 8 devices transmit on the same frequency and spreading factor in the same 1 ms window, collisions occur, and those frames are lost, unavoidable in uncoordinated access. But with a well-planned frequency plan (different devices use different channels and SFs), collisions are rare.

Network integration

The gateway's backhaul link must reach the LoRaWAN network server. In urban areas, Ethernet is typical (RJ45 port); in remote sites, LTE backhaul is common. The server manages all the intelligence: device authentication (LoRaWAN uses AES keys), address translation, duplicate detection, and application routing.

Timing synchronization is optional but valuable. The GPS module provides a 1 PPS signal that the packet forwarder can use to timestamp incoming frames to microsecond precision. When multiple gateways receive the same packet, the network server can compare arrival times and estimate the device location (trilateration), a feature known as RSSI/TDoA (Time Difference of Arrival) localization.

Deployment and operations

A LoRaWAN deployment typically uses multiple gateways (3–5 minimum for redundancy and better coverage). Each gateway is typically managed by an operator or service provider who ensures power availability (PoE or AC), network connectivity, and antenna placement. The packet forwarder software is stateless, it can be restarted without affecting the network, so updates and maintenance are straightforward.

The weatherproof enclosure is essential for outdoor deployment. The passive thermal design keeps the electronics within temperature range despite summer heat, and the drain pan prevents water pooling from shortening component life.

Bill of materials for LoRaWAN Gateway

7 top-level lines as of r100598
# Item / sub-assembly Part no. Qty/assy Ext. qty Parts Type
1 Host Mainboard 7 parts lora-host-mainboard 1× 1 0 assembly
2 LoRa Concentrator 7 parts lora-concentrator-card 1× 1 0 assembly
3 Antenna Assembly 5 parts lora-antenna-set 1× 1 0 assembly
4 Backhaul Link 4 parts lora-backhaul 1× 1 0 assembly
5 Power Module 5 parts lora-poe-module 1× 1 0 assembly
6 Timing Module 4 parts lora-timing 1× 1 0 assembly
7 Enclosure 6 parts lora-enclosure 1× 1 0 assembly

769-word article