Skip to content

OLED and Colour TFT Displays Flight Information and Log

Eric Stockenstrom edited this page Jun 10, 2021 · 9 revisions

MAV2Passthru (Mav2PT) supports several display types on ESP boards, and from V2.63.8 on the Teensy 3.x:

  • SSD1306 0.96" 128 x 64 OLED display module click here
  • TTGO T-Display ST7789 1.14" 240x240 colour LCD display click here
  • TTGO_T2 SSD1331 0.95" 96 x 96 TFT display click here
  • ILI9341 from about 2.8" to about 4" colour SPI 240 x 320 pixels click here

The display modules receive data through the 2 wire I2C bus or 4 wire SPI (faster) driven displays. Some drivers emulate SPI in software and a screen refresh or graphics can be slow. Rather use hardware SPI where possible.

The T-Display and the T2 boards come with displays pre-installed and wired, but the other display types can usually be bought separately and added on. Google your display type for wiring, data interface and voltages. If you have an ESP32 board with a pre-installed display, look for the default I2C or SPI pins on the schematic diagram and configure the board variant in config.h accordingly.

The default pin setups for the respective board variants in Mav2PT have all been tested to work with their pre-installed or an add-on display.

MAV2Passthru displays the status log information in 21 characters x 8 scrolling lines, but other displays may configure slightly different character width and height.

From v2.61.4, up/down scrolling of the display is available. The ESP32s use touch pins, while the ESP8266 and Teensy must use conventional digital pins if they are available.

From V2.63.2 Mav2PT supports a flight information page/HUD, as well as the usual log display. A designated touch pin or digital pin will toggle the display between the two types of pages, or 15 seconds after the most recent log message the flight info page will display. The page-up or page-down buttons will also cause the log to display. The info page / hud code may be found around line 1869 in the Utilities tab if you would like to customise it.

Flight Information Page

Heltec WiFi Kit 32 OLED 0.96 Inch Mono or Dual Colour

LILYGO®_TTGO T-Display ESP32 Full Colour 1.14 Inch LCD

From V2.63.5 Mav2PT supports the ILI9341 2.8" 320 x 240 colour display, and a basic HUD for flight information.