Setup IC880A-SPI (LoRaWAN concentrator) on Raspberry Pi 3: Difference between revisions

From UNamur InfoSec
Jump to navigation Jump to search
No edit summary
No edit summary
Line 36: Line 36:


{| class="wikitable"
{| class="wikitable"
|+Food complements
|+PIN on IC880A-SPI
|-
|-
|Orange
|PIN
|Apple
|PIN Name
|PIN Type
|Description
|-
|-
|Bread
|21
|Pie
|VDD
|Power
|+5 V Supply Voltage(>700mA)
|-
|-
|Butter
|22
|Ice cream
|GND
|Power
|
|}
|}

Revision as of 15:24, 13 December 2017

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.

PIN on IC880A-SPI
PIN PIN Name PIN Type Description
21 VDD Power
5 V Supply Voltage(>700mA)
22 GND Power