Skip to content

Use with Raspberry Pi

Michael Coracin edited this page Apr 25, 2016 · 19 revisions

The Semtech LoRa GW reference design has been tested with a Raspberry Pi 2: https://www.raspberrypi.org/products/raspberry-pi-2-model-b

Use an external 5.0V (>1A) to supply GW reference design power supply, do not use the 5.0V supply from Raspberry Pi board.

For basic testing, the utilities provided on the lora_gateway repository (https://github.com/Lora-net/lora_gateway) will do the job (pkt_logger, util_tx_test, etc....):

  1. lora_gateway: SX1301 driver library source code, under https://github.com/Lora-net/lora_gateway

    This source code has been adapted to use the Raspberry Pi hardware SPI. Please refer to the readme.md file which is in the lora_gateway directory to get details about how to use it.

  2. packet_forwarder: Gateway application source code, under https://github.com/Lora-net/packet_forwarder

    A LoRa packet forwarder is a program that forwards RF packets received by the SX1301 concentrator to a server through an IP/UDP link (uplinks), and emits RF packets that are sent by the server (downlinks). Please refer to the readme.md file which is in the packet_forwarder directory to get details about how to use it.

Note: lora_gateway and packet_forwarder are compatible with the two Semtech GW LoRa reference design versions (i.e. with and without FPGA). There is an automatic check which allows distinguishing the 2 different designs.

Please also note that the default configuration file “global_conf.json”, is given as an example (based on Semtech IoT starter kit reference design i.e. without FPGA) and may need to be adapted according to your design. The configuration file to be used for “GW LoRa EU v1.5 reference design” is located in [PATH]/packet_forwarder/[*]_pkt_fwd/cfg/global_conf.json.PCB_E336.EU868  

Clone this wiki locally