raspberrypi-tw / lora-sx1276

Sample code for LoRa SX1276
GNU Affero General Public License v3.0
55 stars 17 forks source link

One Days Workshop for Raspberry Pi LoRa SX127x

Intro

In this workshop, you will learn about:

  1. What is LoRa?
  2. How to control the SX127x LoRa module.
  3. Connect to The Things Network(TTN) LoRaWAN.
  4. Build your own private LoRa gateway.

The slide is available on 用Raspberry Pi + LoRa實做微型物聯網閘道器

Environment

Raspberry Pi 3B/Raspberry Pi 3B+ + SanDisk 32G microSD + MiniLoRa + 2018-06-27-raspbian-stretch.img

Prerequisite

Install required package and Python module

$ sudo apt-get update
$ sudo apt-get install -y python-dev python-pip x11vnc mosquitto mosquitto-clients
$ sudo pip install spidev numpy pyserial paho-mqtt base58 pycrypto
$ sudo pip3 install paho-mqtt

More LoRa module and RF Kit