GithubHelp home page GithubHelp logo

lora-gps's Introduction

LoRaGPS App

This app for the Heltec WiFi LoRa V3 board collects GPS data and transmits it over LoRaWAN.

Getting Started

Software

  1. Install VSCode.
  2. Install Platform.io for VSCode.
  3. Open this folder in VSCode. It will detect the project as the correct platform.io project.

Hardware

Connect the GPS module to the Heltec V3 with the following pin mappings:

Heltec V3 GPS
3V3 VCC
GND GND
45 TXD

LoRa / The Things Network

  1. Create an application in TTN.
  2. Flash the lora-deveui-display app to the board. This will show the device's EUI.
  3. Register the device and its EUI with your application. You will need the JoinEUI and AppKey.

Configuring LoRaWAN

Create a file called lora_parameters.cpp in the src/ directory. Copy the following into the file, filling in the parameters for your LoRa application:

#include "stdint.h"

///////////////////////////////////////////////////////////////////////////////
// LoRaWAN Network Settings
///////////////////////////////////////////////////////////////////////////////

// JoinEUI specifies the application used on The Things Network.
// You should set this to whatever your TTN generates.
uint8_t joinEui[8] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};

// AppKey is the encryption key used for communication. This must be
// shared with TTN.
uint8_t appKey[16] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};

Build the App and Flash the Board

Load the LoRaGPS app to the Heltec V3 by pressing the right arrow button on the bottom blue bar in VSCode.

lora-gps's People

Watchers

aPatrick avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.