Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
designer2k2 authored Mar 10, 2024
2 parents 9a89926 + 318afd2 commit 7c9ee7f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,18 @@
* Auto power off if battery is below a configurable voltage.
* supports OLED display on the I²C interface on GPIO22 and GPI21. This repo contains a patched SSD1306 library from [smartnick](https://github.com/smartinick/Adafruit_SSD1306), enabling individual I²C pins and to set I²C Clock to 800kHz.


This is a simple sketch demonstrating the capability of the [TTGO T-Beam](https://www.aliexpress.com/store/product/TTGO-T-Beam-ESP32-433-868-915Mhz-WiFi-wireless-Bluetooth-Module-ESP-32-GPS-NEO-6M/2090076_32875743018.html) as a [TTN Mapper](https://ttnmapper.org/) Node on [The Things Network](https://www.thethingsnetwork.org/) LoraWAN.

Forked from [MichaelEFlip/Lora-TTNMapper-T-Beam](https://github.com/MichaelEFlip/Lora-TTNMapper-T-Beam) from [sbiermann/Lora-TTNMapper-ESP32](https://github.com/sbiermann/Lora-TTNMapper-ESP32) and with some information/inspiration from [cyberman54/ESP32-Paxcounter](https://github.com/cyberman54/ESP32-Paxcounter) and [Edzelf/LoRa](https://github.com/Edzelf/LoRa).
The forked repo from hottimuc was converted to a PlatformIO project (currently for hardware revision >= 0.8).

## New features
## Features

* GPS scan relaxed and done more "nonblocking"
* more information shown on status screen
* animated GPS-fix-screen with satellite gfx
* selectable datarate and power (button short press)
* selectable transmit interval (button longer press)
* selectable send-port to enable "on device" switch to experimental mapping (button even loooonger press)
* support for newer HW-revisions (V08 / V0.8, V09 / V0.9, V10 / V1.0, with soft-power-button and powermanagement chip) (short press = power-on / dimm-mode; long press = power-off)
* support for HW-revisions (V08 / V0.8, V09 / V0.9, V10 / V1.0, with soft-power-button and powermanagement chip) (short press = power-on / dimm-mode; long press = power-off)
* supports OLED display on the I²C interface on GPIO22 and GPI21. This repo contains a patched SSD1306 library from [smartnick](https://github.com/smartinick/Adafruit_SSD1306), enabling individual I²C pins and to set I²C Clock to 800kHz.

![GPS fix screen](images/sc_01.jpg)![Status screen](images/sc_03.jpg)

Expand All @@ -40,7 +37,12 @@ Copy all from here locally, open it with PlatformIO, rename **config.h.template*

On The Things Network side, the settings needed are available [here](https://www.thethingsnetwork.org/docs/applications/ttnmapper/).

Configure the Payload decoder with:
Configuration in The Things Network Console:
- Frequency plan: Europe 863-870 MHz (SF9 for RX2 - recommended) (9or where you are located!)
- LoRaWAN version: LoRaWAN Specification 1.0.2
- Regional Parameters version: RP001 Regional Parameters 1.0.2

Payload uplink formatter type: custom Javascript formatter
```javascript
function decodeUplink(input) {
var bytes = input.bytes;
Expand Down

0 comments on commit 7c9ee7f

Please sign in to comment.