Skip to content

blazer82/FT81x_Arduino_Driver

Repository files navigation

FT81x Arduino Driver

build-badge docs-badge

High quality display module for many Arduino project ideas!

Hardware

Hardware

Schematics, KiCad files and Gerber files can be found inside the hardware folder in this repository.

The board is compatible with this display.

The complete hardware is available for sale on Tindie.

Highlights

  • 4 inch 480x480 pixel TFT display
  • up to 24 bit color support
  • 19 built-in fonts
  • built-in widgets (e.g. buttons, gauges, clock)
  • hardware support for JPEG and PNG
  • built-in sound effects (audio circuitry required)
  • bitmap support with 1 MByte graphics RAM
  • open source Arduino library with many example sketches
  • compatible with 3.3V and 5V logic levels

Supported Boards

The hardware and software has been tested with the following boards:

  • ✔️ Arduino Uno (ATmega328P)
  • ✔️ Arduino Nano (ATmega328)
  • ✔️ Arduino Nano Every (ATMega4809)
  • ✔️ Arduino Due (AT91SAM3X8E)
  • ✔️ NodeMCU-32S (ESP32)
  • ✔️ Teensy 4.0 (ARM Cortex M7)

If your board is missing and has full Arduino support chances are that it's fully supported by this library, too.

If you have tested additional boards (successfully or unsuccessfully) feel free to contact me or open an issue.

Features

[x] Line [x] Circle [x] Rectangle
[x] Gradient [x] Text [x] Bitmap images
[x] Animated spinner [x] Sound effects [x] Buttons
[x] Analog clock [x] Gauge [x] Line strip
[x] JPEG support [x] PNG support [x] Scrollbar
[x] Audio playback [x] Progress bar [ ] Custom fonts
[ ] Dial [ ] Toggle [ ] Video playback
[ ] Keys

Usage

#include "FT81x.h"

FT81x ft81x = FT81x(10, 9, 8);

void setup() {
    SPI.begin();
    ft81x.begin();

    ft81x.beginDisplayList();
    ft81x.clear(FT81x_COLOR_RGB(0, 0, 0));
    ft81x.drawText(240, 200, 31, FT81x_COLOR_RGB(255, 255, 255), FT81x_OPT_CENTER, "Hello World\0");
    ft81x.swapScreen();
}

For more information see the numerous example sketches as well as the API Documentation.

Getting Started

For more information on how to get started with the display driver board, please refer to the Getting Started Guide.

License Summary

Software

MIT License

Hardware

The hardware is licensed under CERN-OHL-S v2.

oshwa-mark