Giter VIP home page Giter VIP logo

ttgo-t-beam-lora-aprs's Introduction

First of all I want to thank OE1ACM Bernd for his approval to use his code for my experiments.
He is the author of BG_RF95!

If you want to discuss with other LoRa APRS interested persons join the growing community at the LoRa-APRS Telegram group

USER GUIDE of TTGO T-Beam LoRa APRS V1.2:
Attention: a new HW Version is available - if you use the old version uncomment "// #define T_BEAM_V0_7" and comment out "#define T_BEAM_V1_0".You can recognize the new Rev1.0-Boards at their three push buttons instead of two at the older boards - both versions are now supported.
As the new board only has two LEDs for the GPS and battery charger I've moved the TX Led to PIN 4 (GPIO 4) - please use a LED with reasonable resistor of 470R.

You can now do an immediate TX beacon if you press the key for 2secs - use this for testing purposes.

Callsign setting:
Now two possibilities are implemented:
1st) enter your callsign in the file TTGO_T-Beam_LoRa_APRS_config.h and replace the OE3CJB-11 with your data with 6 characters plus SSID-
in case of shorter callsign use "SPACES" and extend up to total length of 6 characters
2nd) if you leave the config-file unchanged, you will run into a simple setup routine at the very first boot and you will be asked to enter your callsign and SSID(s).
Once the callsign is programmed you can reenter the programming mode by pressing the BUTTON for 5secs while switching on the tracker.
When you uncomment this line // #define DONT_USE_FLASH_MEMORY in TTGO_T-Beam_LoRa_APRS_config.h then the FW will always use the values from the config-file

The MODE of the tracker can now be changed by pressing the button 10secs!
This can be done now without connected display but with a mounted TX LED.
The modes are
TRACKER ... LED blinks 1x - normal APRS tracker
WX&TRACKER ... LED blinks 2x - alternate transmission of normal position packet and WX packet (if DHT22 is mounted)
WX-MOVE ... LED blinks 3x - only WX packets are sent but with position from GPS
WX-FIXED ... LED blinks 4x - only WX packets are transmitted but with fixed position given in Header-File

The fixed position is used for a fixed weather station, e.g. without GPS signal.

Possible symbols are
Weather Station (1x blink), Car (2x blink), Runner (3x blink), Bicyle (4x blink), Motorcycle (5x blink)
The symbol can now be changed without attached display - during normal operation press the key for 3secs and you will enter the setup routine. The first value to set is now the symbol and the currently selected symbol is represented by blinks of the TX LED. Once the one needed blinks, just press the key for short moment. After that you will be asked if you want to continue the setup routine (which only makes sense with a connected display) or if you want to stop and so the new symbol will be stored in the NVS memory.
2x TX LED blinks represent "yes" to leave the setup - press here the key to leave the setup - please do so if you don't have a display attached.
1x TX LED blinks represent "no" to continue with the setup - press here the key to continue the setup - please do so if you have a display attached.

Temperature Sensor:
for DHT22 I used the library from https://github.com/beegee-tokyo/DHTesp, as the standard library gives to many wrong readings
Now the DS18B20 is supported as well - uncomment line 37: // #define DS18B20 // use this if you use DS18B20, default ist DHT22
Now the BME280 is supported as well - uncomment line 38: // #define USE_BME280 // use this if you use BME280, default ist DHT22

show RX packets
by uncommenting // #define SHOW_RX_PACKET the tracker shows received LoRa APRS packets in raw format for the time in milliseconds defined in SHOW_RX_TIME - both in ...config.h

new features:

  • Trackermode setable via config file
  • BME280 sensor implemented (Temp und Hum only)
  • compressed packets in tracker mode
  • symbol RV added
  • show RX packets
  • DS18B20 support (setable in config.h)
  • GPS switched off in WX_FIXED mode (only available with boards with HW-Version >=V1.0)
  • immediate TX with short key press
  • course changes of >30° will cause a TX beacon
  • code optimized and cleaned
  • preset of callsign and SSID in file TTGO_T-Beam_LoRa_APRS_config.h --- this is the only you should change - if you are not familiar with programming ;-)
  • corrected format of speed, course and height to be shown correctly in aprs.fi and aprsdirect.com
  • Smart Beaconing - the maximum period can be set in the config-file - the minimum period is limited to 60sec, the calculation is based on speeds between 0 and 50 km/h, the default is smart beaconing is off with a minimium period setting of 60secs
  • usage of shorter callsigns is now also possible - fill up with SPACES up to 6 characters please
  • support of new power management chip AXP192

ttgo-t-beam-lora-aprs's People

Contributors

chron0 avatar k4kdr avatar oe2wnl avatar oe3cjb avatar peterus avatar thovoigt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ttgo-t-beam-lora-aprs's Issues

Positions while RX

Hi, is it possible to decode the received coordinates and show them in the displaytext? IMG_20210131_001503.jpg

Using GPIO 4 for TX LED

Hi, by using GPIO 4 the onboard LED can be used for TX LED and an external LED can be connected, too. Rev. 1 IMG_20210129_230651.jpg IMG_20210130_020110.jpg

New Board Version V1.2 hang up on TX

Dear Christian,
I try to flash some of the new T-Beam boards with the new Powerchip.
All boards not working anymore.
They hang up while try to TX.
Any idea whats the issue?
Regards Dan DL6OW

Tracker mode setting does not work...

Hi, When I set Tracker mode setting to 1, 2 or 3 it boots up in mode Tracker (=0). Set #define DONT_USE_FLASH_MEMORY on or off has no effect. It boots in Tracker mode (no WX). Only when I push the middle button on my V1 T-Beam (no Oled) for 10 Seconds I see it switching (in the terminal screen) to WX-Tracker and WX report becomes visible in APRS.fi. But when I restart the T-Beam by plug in the power, it boots up in Tracker mode (no WX).

(PA1SDB-7 iGate - PA1SDB-9 mobile - PA1SDB-8 WX)

73s Peter

[Feature/IDEA] Multiple DS18b20 probe

Hi, i got plenty of T-Beam around, and i'm wondering if it's possible to attach more the one DS18b20 probe like we do on ESP Easy.
Either on different Gpio nor same one as a daisy chain (1Wire)
I need to monitor several temps around the Node .

Thanks in advance

Using APRS_SYMBOL while Tracking

An option would be great to use the chosen APRS_SYMBOL with normal callsign while using WX-Tracker Mode and use only WX SSID and WX symbol while using WX_Move and WX_Fixed

LoRa packet header documentation

Hi, I was wondering about the on-the-wire-format of LoRa packets containing APRS.

It looks like this code is generating the header, consisting of:

  • verbatim "<"
  • sender's ID (byte) - is that ever initialized anywhere?
  • 0x01 byte

What is the meaning of the "<" and of the 0x01? It looks like the regular LoRa header is four bytes (to, from, ID, flags) - why is the APRS header shorter? Why are we not using to=0xff (broadcast)?

APRS TX of Battery Voltage in 'WX_FIXED' Mode?

Just updated to e2077e4, THANK YOU so much for adding pressure to the weather data!

I have been using 'WX_TRACKER' mode so that every-other TX would include battery voltage. But in hopes of prolonging battery life, switched to 'WX_FIXED' mode to turn off the GPS.

I would still very much like to see battery voltage in the telemetry, and discovered:

#define HW_COMMENT // send Alt und Battery Voltage, UNcomment if you want to send it

... so with that UNcommented, I was hoping to see battery voltage in the APRS message.

Unfortunately, while MY_COMMENT text comes through fine, I never see any mention of battery voltage.

Here is how my messages are appearing on APRS-IS:

2021-05-30 14:05:15 EDT: K4KDR-13>APRS,qAS,K4KDR-14:!3746.70N/07736.55W_.../...g...t069r...p...P...h59b10223_433.775 LoRa APRS + WX

... am I missing a step, or not understanding the proper use of HW_COMMENT?

For reference, when I was using 'WX_TRACKER' mode, the battery voltage was reported perfectly under SSID 'K4KDR-4'.

2021-05-29 20:12:45 EDT: K4KDR-4>APRS,qAS,K4KDR-14:!/;E4O:pzU_!!H/A=000274 Batt=3.50V_433.775 LoRa APRS + WX

Thank you VERY much for any assistance!

-Scott, K4KDR

TTGO-T-Beam-LoRa-APRS-trackermode_correction -> New issue...

Hello Christian,
In advance I was able to show you that the T-Beam did boot up in "Tracker / WX mode". Terminal data did show that, and indeed the WX broadcast did pop up in APRS.fi. Unfortunately the Tracker broadcast does not show up anymore. It does show up when I set Tracker mode to 0.

So:
PA1SDB-9 tracker is silence
PA1SDB-8 WX transmits every 15 minutes.

#define DONT_USE_FLASH_MEMORY
#define TRACKERMODE 1
#define CALLSIGN "PA1SDB-9"
#define WX_CALLSIGN "PA1SDB-8"
#define LONGITUDE_PRESET "0651,18E"
#define LATIDUDE_PRESET "5319.14N"
#define APRS_SYMBOL ">"

73s Peter

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.