Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
ArduinoTFTDemo
TFT_ILI9163C_Demo
assets
.catalog_metadata
Color128x128.fzz
README.md

README.md

#361 TFT/Color128x128

Testing a 128x128 colour TFT LCD with a couple of different Arduino libraries.

Build

▶️ return to the LEAP Catalog

Notes

I dug out a 1.44 inch Serial 128*128 SPI Color TFT LCD Module from my parts drawer as a possible display for a project I'm working on. First .. put it to the test.

It appears to be an ILI9163C type display, as covered in this excellent tutorial from Henry's Bench. That's done properly with 5v-3.3V level shifters but here I cheated to see if it would actually work without blowing up on 5V.

Although it does appear to work just fine on 5V, it is probaby not a good idea for long-term operation. Although I cannot find any specifications for the TFT screen I have, it is a good bet that it is specified for 3.3V.

Color128x128_screen_front Color128x128_screen_rear

Demo Programs

I'm testing a couple of libraries using a simple text display program that does three things:

  • sets the background color
  • writes some text at specific positions
  • updates a counter at a fixed position every 500ms

Here's a quick demo of the two examples in action:

cWvAZ91qQys

ArduinoTFTDemo.ino

The standard Arduino TFT library compiles down to some fairly compact images, but it does require a bit of wrangling to output numbers.

Sketch uses 7936 bytes (24%) of program storage space. Maximum is 32256 bytes.
Global variables use 134 bytes (6%) of dynamic memory, leaving 1914 bytes for local variables. Maximum is 2048 bytes.

TFT_ILI9163C_Demo.ino

The TFT_ILI9163C library appears to have some nice features for this specific type of display, but it does generate a program image that is a little larger.

Sketch uses 8306 bytes (25%) of program storage space. Maximum is 32256 bytes.
Global variables use 163 bytes (7%) of dynamic memory, leaving 1885 bytes for local variables. Maximum is 2048 bytes.

Construction

Breadboard

Schematic

Build

Credits and References