LoRa_APRS_iGate/README.md

126 wiersze
5.7 KiB
Markdown
Czysty Zwykły widok Historia

2020-03-24 09:42:46 +00:00
# LoRa APRS iGate
2020-11-15 19:58:30 +00:00
![Build check and build](https://github.com/lora-aprs/LoRa_APRS_iGate/workflows/Build%20check%20and%20build/badge.svg)
2020-09-18 22:30:42 +00:00
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/0b7452d5b3b747b88c736e253dda51e6)](https://app.codacy.com/gh/lora-aprs/LoRa_APRS_iGate?utm_source=github.com&utm_medium=referral&utm_content=lora-aprs/LoRa_APRS_iGate&utm_campaign=Badge_Grade_Dashboard)
2020-03-24 09:42:46 +00:00
The LoRa APRS iGate will work with very cheep hardware which you can buy from amazon, ebay or aliexpress.
Try it out and be part of the APRS network.
2020-05-11 15:50:11 +00:00
![TTGO LoRa32](pics/iGate.png)
2020-11-15 19:58:30 +00:00
## Blog posts and Youtube videos from other Hams
* [OE1ROT](https://www.aronaut.at/2020/11/lora-aprs-gateway-mit-esp32-boards/) (blog post - german) 14.11.2020
* [DL7AG](http://online.dl7ag.de/lora-aprs-dl7ag-10/) (blog post - german) 08.11.2020
* [Manuel Lausmann - iGate](https://www.youtube.com/watch?v=C7hfVe32pXs) (youtube - german) 06.11.2020
* [Manuel Lausmann - Tracker](https://www.youtube.com/watch?v=clIlTEFbWLk) (youtube - german) 02.11.2020
* [OE1ROT](https://www.aronaut.at/2019/12/lora-aprs-tracker-mit-ttgo-t-beam-433mhz/) (blog post - german) 09.12.2019
2020-11-15 20:04:44 +00:00
feel free to add yours or create a ticket if you want to be added.
2020-04-06 05:27:00 +00:00
## Supported boards
2020-03-24 09:42:46 +00:00
2020-11-15 19:58:30 +00:00
You can use one of the Lora32 boards without changings:
2020-03-24 09:42:46 +00:00
2020-11-15 13:30:39 +00:00
* Heltec WiFi LoRa 32 V1 (433MHz SX1278)
* Heltec WiFi LoRa 32 V2 (433MHz SX1278)
* TTGO LoRa32 V1 (433MHz SX1278)
* TTGO LoRa32 V2 (433MHz SX1278)
* TTGO LoRa32 V2.1 (433MHz SX1278)
* TTGO T-Beam V0.7 (433MHz SX1278)
* TTGO T-Beam V1 (433MHz SX1278)
* Tracker D from [OE1ACM and OE1CGC](https://www.lora-aprs.at/)
* and sure many more...
2020-03-24 09:42:46 +00:00
2020-04-06 05:27:00 +00:00
Here are some amazon-de links for some example boards:
2020-11-15 13:30:39 +00:00
* [LoRa32 V1](https://www.amazon.de/dp/B07VPHYYJD)
* [LoRa32 V1](https://www.amazon.de/dp/B07QRG89ZV)
* [LoRa32 V2](https://www.amazon.de/dp/B07VL97VNH)
* [LoRa32 V2.1](https://www.amazon.de/dp/B07RXSKPBX)
* [T-Beam V1.0](https://www.amazon.de/dp/B07RT9FKPL)
2020-03-24 09:42:46 +00:00
2020-07-22 20:28:51 +00:00
This boards cost around 20 Euros, they are very cheap and perfect for an LoRa iGate.
2020-04-06 05:27:00 +00:00
Keep in minde: you need a 433MHz version!
2020-03-24 09:42:46 +00:00
2020-11-15 19:58:30 +00:00
## Compiling and configuration
**There is a german [quick start](https://www.lora-aprs.info/docs/LoRa_APRS_iGate/quick-start-guide/) page! Take a look ;)**
2020-12-13 23:08:48 +00:00
2020-12-13 22:04:32 +00:00
**There is a french [quick start](http://www.f5kmy.fr/spip.php?article509) page! Take a look ;)**
2020-04-06 05:27:00 +00:00
2020-05-11 14:00:04 +00:00
### How to compile
2020-04-06 05:27:00 +00:00
2020-11-15 13:30:39 +00:00
The best success is to use PlatformIO (and it is the only platform where I can support you).
2020-11-02 13:39:38 +00:00
2020-11-15 13:30:39 +00:00
* Go to [PlatformIO](https://platformio.org/) download and install the IDE.
* If installed open the IDE, go to the left side and klick on 'extensions' then search for 'PatformIO' and install.
* When installed click 'the ant head' on the left and choose import the project on the right.
* Just open the folder and you can compile the Firmware.
2020-04-06 05:27:00 +00:00
2020-11-15 19:58:30 +00:00
### Configuration
2020-03-24 09:42:46 +00:00
2020-11-15 13:30:39 +00:00
* You can find all nessesary settings to change for your configuration in **data/is-cfg.json**.
* To upload it to your board you have to do this via **Upload File System image** in PlatformIO!
* To find the 'Upload File System image' click the PlatformIO symbol (the little alien) on the left side, choos your configuration, click on 'Platform' and search for 'Upload File System image'.
2020-04-06 05:27:00 +00:00
2020-11-15 19:58:30 +00:00
## Branches in this repository and version system
2020-11-15 20:04:44 +00:00
This firmware is developed in a rolling release system: everyday a new release could be created. But there are still rules where new pull requests has to go and and how the version system looks like.
2020-11-15 19:58:30 +00:00
### Branches
There are 2 main branches:
* *master* and
* *develop*
2020-11-15 20:04:44 +00:00
The *master* branch has all releases and is the most stable one. With the different tags you can jump to different versions or if you take the most current *master* branch you will just get the latest, stable version. There will be no side releases which are branched of from *master*. If there is a bugfix version it will be done directly on the *master* branch and a tag will be generated with a new version.
2020-11-15 19:58:30 +00:00
2020-11-15 20:04:44 +00:00
The *develop* branch is used for new feature development. It will be also used to stabilize the current development to create a new stable version (pull request to *master* branch). **Again:** all new development (pull requests) has to go directly into the *develop* branch!
2020-11-15 19:58:30 +00:00
### Version system
If the *develop* branch is stable enough for a new release it will be merged with a pull request to the *master* branch and a new version will be generated.
The versions are based on this settings:
* major: the current year (2 digits)
* minor: the current week of the year
2020-11-15 20:04:44 +00:00
* patch: if there is a important fix for an release, just increment the number, otherwise 0
2020-11-15 19:58:30 +00:00
*example*: a new release will be created on the 11/14/2020, this version numbers will be used:
* major: 20
* minor: 46
* patch: 0
so the version will be: 20.46.0
2020-04-06 05:27:00 +00:00
## Future plans
2020-11-15 13:30:39 +00:00
* [x] show time until next beaconing
* [ ] show login issues from IS server
* [ ] add better OLED library to support multiple different OLEDs
* [x] add support to turn OLED on, off and dimming
* [ ] add support for temperature chips (BMExxx)
* [x] add FTP server support to upload configuration
* [ ] add web server for configuration and other things
* [ ] add statistics for received packages
* [ ] show received packages on a map
* [ ] etc.
2020-05-11 14:00:04 +00:00
## LoRa Tracker
Look at my other project: a [LoRa Tracker](https://github.com/peterus/LoRa_APRS_Tracker)
2020-11-02 11:55:55 +00:00
## Hints
### Here are some peculiarities of the different boards
2020-11-15 19:58:30 +00:00
* TTGO T-Beam V1
2020-11-02 11:55:55 +00:00
2020-11-02 14:39:10 +00:00
When adding a 0,96" OLED display direct to the board you have to be careful, there are two different pinout
2020-11-02 13:49:18 +00:00
versions on the market.
2020-11-02 14:08:52 +00:00
For direct mount you need a display with this Pinout -> [VCC - GND - SCL - SDA](pics/display-right.jpg).
2020-11-02 14:03:17 +00:00
A direct mount of the [other display](pics/display-wrong.jpg) is not possible without damage the display!
2020-11-02 13:49:18 +00:00
The 'wrong' display works too but you have to change VCC and GND by wire !
2020-11-02 11:55:55 +00:00
2020-11-15 13:30:39 +00:00
feel free to add hints!