No description
This repository has been archived on 2026-11-17. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • C++ 84.2%
  • Python 12%
  • JavaScript 3.8%
Find a file
2022-10-24 19:23:14 +02:00
.vscode vscode updated extensions 2022-05-24 17:43:52 +02:00
img added hardware description and basic building instructions 2021-08-22 11:41:58 +02:00
include first commit 2021-08-13 18:16:44 +02:00
lib add display 2022-10-20 21:34:42 +02:00
scripts visualizer optimized range and added logfiles to .gitignore 2022-07-24 21:23:22 +02:00
src display time in german timezone 2022-10-24 19:23:14 +02:00
test first commit 2021-08-13 18:16:44 +02:00
.gitignore visualizer optimized range and added logfiles to .gitignore 2022-07-24 21:23:22 +02:00
payload_formatter_v3.js remove raw 2022-10-24 18:00:11 +02:00
platformio.ini display time in german timezone 2022-10-24 19:23:14 +02:00
README.md configfiles have to be copied now 2022-07-21 18:46:35 +02:00

TTN Mapper T-beam

Energy efficient mapping software for ttnmapper using a T-beam.

Send your GPS-Location over TTS. The Location can be viewed on the advanced maps when the integration is activated.

Features

  • deep sleep ESP32 to save energy
  • geofence for location upload
  • detect no movement
  • sleep-mode while not in use

Usage

LED IO4(red):

  • off: device in permanent sleep or off
  • gliming: device is in deep sleep waiting for the next transmission time
  • on: device is active either joining or has woken up to send the next message

LED CHG(blue):

  • off: everything ok
  • on: battery is charging

LED GPS(red,next to the GPS-Module):

  • off: GPS off or no fix
  • blinking: GPS has fix

Button Power(PWR):

  • short press(1 sec) to turn the device on or if already powered wake up, send the current location and go back to sleep again
  • long press(2 sec/wait until IO4 LED goes off) put the device into permanent sleep mode turning off the GPS and radio while preserving LoraWAN credentials
  • very long press(10 sec) completely turn off the ESP loosing all credentials

Hardware

I'm using the TTGO-T-beam v1.1(with the axp power management chip onboard)

T-Beam v1.1

But the software can easily be modified to run on any ESP32-Board with a GPS and a LoRa module attached.

Compiling

Software

Clone this repository and open it with Visual Studio Code(vscode). This code editor automaticly downloads the extension platformio to compile and upload the program.

Modification

⚠️ Modify the config file with your own data!

You have to copy config.hpp.example. Insert your own TTS-keys and use or disable the geofencing option

Upload

For uploading just hit the upload-button at the bottom of the vscode window