LoRa Client Ground Station Implementation for Controlling Quadcopter (Drone) using DycodeX's LoRa Raspberry Pi Hat. and Raspberry Pi 2
Make sure you have wiringPi and bcm2835 library installed on your Pi. If you don't install it this way:
bcm2835
wget -c http://www.airspayce.com/mikem/bcm2835/bcm2835-1.52.tar.gz
tar zvxf bcm2835-1.52.tar.gz
./configure
make
sudo make check
sudo make installFor detailed instruction, please see this link.
wiringPi
On most Pi, this library is installed by default. Check the installation by running:
gpio -vIf there's no error, then wiringPi is already installed. You can skip the installation section below.
To install wiringPi, you must have git installed on your system.
Then excute these commands:
git clone git://git.drogon.net/wiringPi
cd wiringPi
./buildThen, check your installation
gpio -vBuilding the source
Clone this repository, and build it by simply running:
git clone https://github.com/mania25/LoDrone-Ground-Station
cd LoDrone-Ground-Station
makeIf everything works fine, an executable namely rf95_client will be created.
sudo ./rf95_client