Skip to content
Sample code for LoRa SX1276
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
01-register
02-p2p add lora-sx127x sample code for slide, available on http://bit.ly/2AL… Aug 6, 2018
03-ttn add lora-sx127x sample code for slide, available on http://bit.ly/2AL… Aug 6, 2018
04-gateway
LoRaSender
LoRaWAN add lora-sx127x sample code for slide, available on http://bit.ly/2AL… Aug 6, 2018
SX127x add lora-sx127x sample code for slide, available on http://bit.ly/2AL… Aug 6, 2018
LICENSE
README.md move README to README.md Aug 6, 2018
README_pySX127x.md add lora-sx127x sample code for slide, available on http://bit.ly/2AL… Aug 6, 2018
VERSION add lora-sx127x sample code for slide, available on http://bit.ly/2AL… Aug 6, 2018
lora_util.py add lora-sx127x sample code for slide, available on http://bit.ly/2AL… Aug 6, 2018
rx_cont.py
socket_client.py
socket_transceiver.py
test_lora.py
tx_beacon.py add lora-sx127x sample code for slide, available on http://bit.ly/2AL… Aug 6, 2018

README.md

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

You can’t perform that action at this time.