Skip to content

Arduino UNO with 324x240TTF color display - as a UART serial "inteligent" monitor

Notifications You must be signed in to change notification settings

octopusengine/serial-display

Repository files navigation

serial-tft-display STD

Arduino UNO with 324x240 TTF color display - as a serial "inteligent" UART terminal (or monitor)
easy connection to a UART - Tx (I dont use the touchscreen)
it works with:

  • Raspberry Pi (A, B, B2..) | PC (Arduino serial monitor) | Mac
  • microcontrollers PIC / Atmel
  • Arduino Nano / Uno / Mega...

  • Example - serial display with Raspberry Pi (get IP function)


    next examples of use: https://www.instagram.com/p/_uHGhZR7VS/?tagged=serialdisplay
    or #serialdisplay https://www.instagram.com/explore/tags/serialdisplay/

    code for Arduino and Raspberry Pi is in directory: examples-of-use


    I use "old type" of 2,4" TFT 320x240p LCD Modul Touch Panel Display
    https://github.com/adafruit/TFTLCD-Library
    https://github.com/adafruit/Adafruit-GFX-Library

    there are icons and big numbers ( c0[] - c9[]) definitions at oe8x8max.h



    icon.. for example invader1a[], invader1b[], invader2a[]...


    Serial.begin(9600);
    tft.reset();
    uint16_t identifier = tft.readID();
    if (test){ Serial.println(tft.readID()); }

    type: 340 | 37672 | 37669 | 49344 ... library ADAFRUIT (2015) or SWIFT (2016) edition

    BASIC commands:

    "C" clear display

    "Q" simple text string (ending *) "q" simple small text

    "h num" horizontal line "v num" vertical line "p xNum, yNum" point "P xNum, yNum" 2x2 point

    "c num" set color: 0) = BLACK;

    1. = WHITE;
    2. = YELLOW;
    3. = RED;
    4. = GREEN;
    5. = MAROO;
    6. = MAGENTA;
    7. = CYAN;
    8. = NAVY;
    9. = DIMGRAY; "W num" ...similar

    EXAMPLE 1:

    Cc2qtest*

    smal yellow text "test" on clear display

    Qline*c7h100

    text "line" and cyan color horizontal line (y=100)

    c3v50v100v150

    three red vertical line x=50/100/150

    About

    Arduino UNO with 324x240TTF color display - as a UART serial "inteligent" monitor

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published