metisvela / sailtrack-radio

Module of the SailTrack system for getting GPS data and for transmitting data to the ground base station.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SailTrack Radio

SailTrack Radio is a component of the SailTrack system, it manages GPS data and forwards messages from the SailTrack Network to SailTrack Ground using LoRa. To learn more about the SailTrack project, please visit the project repository.

The SailTrack Radio module is based on a battery powered LilyGo TTGO T-Beam, consisting of an ESP32 microcontroller connected to a GPS module and a LoRa transceiver. For a more detailed hardware description of the module, please refer to the Bill Of Materials. The 3D-printable enclosure con be found here.

The module performs the following tasks:

  • It gets the positioning data coming from the onboard GPS module and sends them in the SailTrack Network.
  • It receives the desired metrics from the SailTrack Network and forwards them to SailTrack Ground using LoRa.


module-image

Installation

Follow the instructions below to get the SailTrack Radio firmware correctly installed. If you encounter any problem, please open an issue.

  1. Install PlatformIO Core.
  2. Clone the SailTrack Radio repository:
    git clone https://github.com/metisvela/sailtrack-radio.git 
    
  3. Cd into the directory:
    cd sailtrack-radio
    
  4. (macOS ONLY) Uncomment the commented lines after "Patch for macOS" in the platformio.ini file.
  5. Connect the module with an USB cable.
  6. Finally, flash the firmware:
    pio run
    

Usage

Once the firmware is uploaded the module can work with the SailTrack system. When SailTrack Radio is turned on, a LED start to blink to notify the user about the connection status with SailTrack Core. Then, if the connection is successful, the LED stays on, otherwise the module will put itself to sleep, and it will try to connect later. Once the module is connected it will automatically start sending measurements.

Contributing

Contributors are welcome. If you are a student of the University of Padova, please apply for the Metis Sailing Team in the website, specifying in the appliaction form that you are interested in contributing to the SailTrack Project. If you are not a student of the University of Padova, feel free to open Pull Requests and Issues to contribute to the project.

License

Copyright © 2023, Metis Sailing Team. SailTrack Radio is available under the GPL-3.0 license. See the LICENSE file for more info.

About

Module of the SailTrack system for getting GPS data and for transmitting data to the ground base station.

License:GNU General Public License v3.0


Languages

Language:C++ 100.0%