LoRa Server 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 install
For detailed instruction, please see this link.
wiringPi
On most Pi, this library is installed by default. Check the installation by running:
gpio -v
If 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
./build
Then, check your installation
gpio -v
Building the source
Clone this repository, and build it by simply running:
git clone https://github.com/mania25/LoDrone-Server
cd LoDrone-Server
make
If everything works fine, an executable namely rf95_server
will be created.
sudo ./rf95_server