Easy LoRa Basics Station setup for Actility TPCP

Implementation Steps

Step 1 - Preparing the hardware for Basics™ Station

The required components are shown below. You can find order information at Requirements & Environment section.

Female-Female Jumper Cables

868MHz Antenna

IMST IC808A Concentrator

Antenna Cable

Raspberry Pi 3

Start by connecting the antenna to the IC808A module with the antenna cable, as shown in the following figure.

To finish the preparation of the hardware, you need to make 8 connections between Raspi & IC808A concentrator as shown in the following figure. Pin connections are also listed in the table below.

*Please visit Raspberry Documentation for Raspi Pins.

The complete hardware setup is shown below. Before applying DC power, make sure that:

  • The antenna cable is securely linked to IC808A and antenna.
  • You use the right polarity/colors of power cables (purple and gray).
 
 

If you are facing connection issues, remove power immediately and check your wiring.
Make sure to use a 5V power supply and a 2A cable.

Step 2 - Preparing the OS for LoRa Basics™ Station

During this task, you will prepare the Raspi OS for the Basics™ Station packet forwarder (which will be installed at Step 3).

This procedure is divided in three sub-tasks:

  • Preparing the Raspi SD card image.
  • Accessing the Basics™ Station remotely through the WiFi network.
  • Finalizing the OS configuration of the Basics™ Station by enabling the SPI interface.
 

Step 2a - Preparing Raspi SD memory

Step 2c - Finalizing the OS configuration of LoRa Basics™ Station

Since IC808A communicates with Raspi with SPI interface , SPI interface should be enabled.

Step 3 - Preparing the LoRa Basics™ Station software

In this step , you going to install the necessary software packages to make your new gateway ready for configuration of the packet forwarder for ThingPark Community. Two software packages must be installed to the Raspberry Pi:

  • Semtech® LoRa® Gateway
  • Semtech® Basics™ Station
 

LoRa Gateway is the Hardware Abstraction Library (HAL) provided by Semtech®  which enables the Raspberry Pi to access the IC808A concentrator over the SPI port. The HAL provides a low level API to control the LoRa SX130x gateway concentrator RF chip. The LoRa Basics™ Station application uses the HAL to receive LoRaWAN® uplinks and transmit LoRaWAN® downlinks, under control of the Network Server. The configuration of the LoRa Basics™ Station packet forwarder to interface with ThingPark Community will be explained at STEP 4.

Step 3a - LoRa Gateway Installation

Step 3b - LoRa Basics™ Station Installation

Step 4 - Test LoRa Basics™ Station Installation

During this task, you will test that:

  • The Raspberry Pi can access the IC808A concentrator over the SPI link.
  • Your setup can receive LoRaWAN® uplink frames.

Finally, you must retrieve the “EUI” of the IC808A, which will be used during Step 5 to form the unique identifier of the new gateway on ThingPark Community.

* It is assumed that GPIO25 is connected to RST pin of the IC880A

Step 5 - Customizing the LoRa Basics™ Station for TPCP

Step 6 - Provisioning the LoRaWAN® ® gateway on TPCP

In this step, you are going to provision the new gateway on ThingPark Community using the administration console.