Setup IC880A-SPI (LoRaWAN concentrator) on Raspberry Pi 3

From UNamur InfoSec
Revision as of 15:17, 13 December 2017 by Mkuy (talk | contribs)
Jump to navigation Jump to search

Configure Raspberry Pi

1. Install Rasbian OS on Raspberry Pi

The official installation guide is available at: https://www.raspberrypi.org/documentation/installation/installing-images/README.md

- First, we download the image file from: https://www.raspberrypi.org/downloads/
- Once we have the image file, we can install it into Raspberry Pi SD card with “Etcher”:
 . Etcher is a graphical SD card writing tool.
 . Download and install Etcher from: https://etcher.io/
 . Connect an SD card reader with the SD card inside.
 . Open Etcher and select from your hard drive the Raspberry Pi “.img” or “.zip” file you wish to write to the SD card.
 . Select the SD card you wish to write your image to.
 . Review your selections and click 'Flash!' to begin writing data to the SD card.
- Once we wrote the image file into the SD card. We can mount the SD card into Raspberry Pi. And boot up the OS by connecting the power supply to power socket.

2. Configure Local time

We need to configure the Raspberry Pi local. So that the LoRaWAN software is can access to the correct time.

- Type sudo raspi-config
- Choose Internationalisation Options
- And configure your local time and time zone 

3. Enable SPI Interface

- sudo raspi-config
- Select “Advanced Options”
- Select the “SPI” option
- Set the option to “Yes”


Connect IC880A-SPI to Raspberry Pi

Additional document: https://github.com/ttn-zh/ic880a-gateway/wiki

In order to connect the IC880A-SPI to Raspberry Pi the following PIN on IC880A-SPI have to be connected.