xalejandrow / AGLoRa

Arduino GPS LoRa tracker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AGLoRa

Project AGLoRa - easy opensource LoRa GPS tracker. Created by Eugeny Shlyagin (shlyagin@gmail.com)

AGLoRa video

Click to open video.

AGLoRa

AGLoRa is an acronym for "Arduino GPS LoRa". LoRa (from "long range") is a proprietary low-power wide-area network modulation technique. https://en.wikipedia.org/wiki/LoRa

AGLoRa is a simple open-source satellite tracking system for hiking, sailing, pet finding, and other outdoor activities. All components are widely available to buy online (aliexpress etc.).

Program block diagram

AGLoRa receives the GPS coordinates from other trackers (via LoRa) and immediately transmits them to the phone app. By default the tracker sends its coordinates via LoRa every 10 seconds, when its GPS data is valid.

ABOUT THE PROJECT

We are going to test E32-E433T30D. It is a wireless transceiver module, operating at 433 MHz based on original RFIC SX1278 from SEMTECH. Aglora broadcasts coordinates to other trackers.

AGLoRa working diagram

COMPONENTS AND SUPPLIES

  • Arduino Nano or Arduino UNO (ATMEGA328P, not ATmega168)
  • LoRa Module (EBYTE E220-900T22D (868 MHz), E433T30D (433 MHz))
  • GPS Module (Generic)
  • AT-09 (HM-10) Bluetooth Low Energy Module
  • iOS or Android device

APPS

  • Arduino IDE

Wiring.

Let’s Start Building. The circuit is so simple, there are a few connections to be made.

AGLoRa device diagram

Сonnecting the LoRa module

Arduino Pins	 	  LoRa Pins
Pin 2		——>		RX
Pin 3		——>		TX
Pin 4		——>		M0   
Pin 5		——>		M1  
Pin 6		——>		AX    
5V		——>		VCC
GND		——>		GND

Connecting the GPS module

Arduino Pins	 	  GPS Pins
Pin 7		——>		TX
Pin 8		——>		RX
5V		——>		VCC
GND		——>		GND

Connecting the BLE module (optional)

Arduino Pins		  Bluetooth Pins
RX (Pin 0)	——>		TX
TX (Pin 1)	——>		RX
5V		——>		VCC
GND		——>		GND

AGLoRA wiring

Add a 5V stabilizer for battery power (like LM7805).

Uploading Sketch

Three steps:

  1. Download or copy the Sketch from here: https://github.com/Udj13/AGLoRa/blob/main/AGLoRa-tracker.ino Just one file! Easy!

  2. Change the “MY_NAME” setting. Сheck the debug mode is off.

char MY_NAME[NAME_LENGTH] = "Morty";
#define DEBUG_MODE false
  1. Upload a Sketch to an Arduino.

NOTES:

Value “NAME_LENGTH” must be same for all your devices

Remove Bluetooth module Tx-Rx connection before uploading the program!

Install the app on your phone.

AGLoRa client icon

Permissons:

  • Bluetooth permission required to connect to your AGLoRa device
  • Location permission is required to calculate distance between AGLoRa devices. Without this permission the app will only show the coordinates.

How to use the AGLoRa Client App?

AGLoRa client

  • Install application on your device
  • Turn on the AGLoRa trackers. When the GPS data is correct, the built-in LED will turn on.
  • Scan for available devices
  • Select your Bluetooth module from the List (“AGLoRa”)
  • Wait to receive data from other trackers

Description in Russian: https://bitlite.ru/aglora-lora-gps-tracker/

About

Arduino GPS LoRa tracker


Languages

Language:C++ 100.0%