This repository contains the device firmware for the Ground-Control project for rocket launching.
TTGO T-Beam V1.2 with 868MHz radio is used as a hardware.
In order to build the project it is required to install esp-idf framework. After that you simply type below commands to download dependencies, build and flash the project:
idf.py update-dependencies
idf.py build flash monitor
- Rocket configuration and telemetry reading with Lora
- Reading logs from launchpad
- folders and their description
- more unified events (transparency from communication/buttons/activity monitors and so on)
- move platform dependent code to common folder
- MenuScreen.cpp - For now it is not a problem but in the future we may need to implement some kind of view of items that fits on screen. More than ~5 items we will crash the screen now.
Code is written with portability in mind and porting mainly require removing usage of esp library and replacing it with other MCU one in listed files.
Some concepts may need complete redesign as proprietary esp-now is used in the project for launchpad communication and interfaces may not fit for other solutions.
- Power.hpp and Power.cpp -> probably useless in other projects not using AXP2101 PMU.
- Logger.cpp
- driver/I2C.hpp
- Button.cpp
- Communication.hpp and Communication.cpp
- Display.hpp and Display.cpp - SSD1306 is used in the project so this may be reimplemented for other displays.