Skip to content

GiantPanda0090/IK2560_Pi_Lora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IK2560_Pi_Lora

Golden Rules

  1. Make your own branch before make changes
  2. Pull daily before you make changes
  3. Before merge to the "Main" Branch, Pull request need to be issued. For each pull request, at least 2 team member need to review before the branch can be merge
  4. Main branch will be used to test on the hardware. Talk to William if you to test your branch individually.

How to Use

  1. Install dependencies
sudo apt-get install libgps-dev wiringpi gpsd gpsd-clients python-gps
  1. Follow this guide for details regarding how to get the GPS to work on a Raspberry Pi 3
  2. Build workbench
cd lora
make
  1. Start gspd
sudo gpsd /dev/ttyS0 -F /var/run/gpsd.sock
  1. Start testbench in sender mode (with GPS)
./lora_test sender

Start testbench in receiver mode (with GPS)

./lora_test rec

Start testbench without GPS (using a static distance of 15 m)

./lora_test sender|rec 15.0

Start testbench without GPS (using a static laititude of 59.404550 and static longitude of 17.950181)

./lora_test sender|rec 59.404550 17.950181

When the GPS is in use or when using static coordinates, the receiver will use the latitude and longitude sent by the transmitter along with its own latitude and longitude to calculate the distance to the transmitter. If the receiver is configured to use a static distance, it will ignore the distance or coordinates sent by the receiver.

About

Data Collection and Analysis Tool for Dragino Lora HAT

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published