HankRobot / LoraIntern

Arduino Code for Lora Client, Servers and UWP C# for Raspberry PI Gateway

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction 😆

Hey guys Hank here! This project is for Dr Pu's Lora Internet of Things Network Internship Project! If you have any questions please ask!

There are two projects here, Arduino Code and Raspberry PI Gateway

The folder Arduino Code contains the code for Arduino, please check the README folder inside it! As for the gateway, continue reading the details below.

Getting Started

  1. Download the zip code of this file, then extract it.
  2. Alternatively you can fork this project and open in Visual Studios and use the Team Explorer in Visual Studios to help you clone the entire project.
  3. Once finished, right click LoraIntern file and select "open in visual studios". Then go View->Solution Explorer and double click the LoraIntern.sln file.
  4. The solution viewer will change, and a Solution 'LoraIntern'(1 project) should appear. Right click it and press Build Solution.

Build and Test

  1. Select x64 for your Debug Target anf then click Debug(the green play button). If your code works, it should work on your raspberry pi too.
  2. To run it on your Raspbery Pi, you need to have your rpi flashed with Windows Iot Core -> https://developer.microsoft.com/en-us/windows/iot/downloads
  3. After flashing it, when Windows Iot Core is fully loaded, go back to Visual Studios on your computer and select ARM, select Remote Machine, and click the green play button again(it should ask for the device's ip address)
  4. Wait, remote device usually takes a longer time :)

Contribute

  1. Unable to track if a Lora Node has been transmitting on time or correct periods.
  2. Tranmission range is only 100 metres max.
  3. An unknown error "The process cannot access the file because it is being used by another process." occasionally pops up.

#HAPPY CODING!!! ❤️

About

Arduino Code for Lora Client, Servers and UWP C# for Raspberry PI Gateway


Languages

Language:C# 73.4%Language:C++ 26.6%