• Stars
    star
    117
  • Rank 301,828 (Top 6 %)
  • Language
    C
  • Created almost 9 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Arduino library for HX8357 TFT display

TFT_HX8357

An Arduino IDE compatible graphics and fonts library for Mega with a drivers for the HX8357B, HX8357C, ILI9481 and ILI9486 based TFT displays with a 16 bit parallel interface. This library will not run on an UNO and it does not support 8 bit UNO shields.

The library contains proportional fonts, different sizes can be enabled/disabled at compile time to optimise the use of FLASH memory. The library has been tested with the Mega.

In addition to the default fonts (1, 2, 4, 6, 7 and 8) the library includes and supports the encoded Free Fonts from the new Adafruit_GFX library. Unlike the Adafruit_GFX library these fonts can be automatically rendered with background and padding to over-write and erase old text, see the examples.

The library is designed to be slim and fast. Typically a clear screen for a 320 x 480 TFT will complete in only 12ms.

The library is based on the Adafruit GFX library and the aim is to retain compatibility. Significant additions have been made to the library to boost the speed for the Mega processor and to add new features. The new graphics functions include different size proportional fonts and formatting features. There are a significant number of example sketches to demonstrate the different features.

Configuration of the library font selections and other features is made by editting the User_Setup.h file in the library folder. Fonts and features can easily be disabled by commenting out lines.

The 3.2" HX8357B display I use can be found here:

http://www.banggood.com/3_2-Inch-320-X-480-TFT-LCD-Display-Module-Support-Arduino-Mega2560-p-963574.html

This HX8357B based display does appear to have a bug in the silicon of the driver chip as it sometimes generates spurious pixels on the display. The only way around this is to redraw the whole screen occasionally to wipe out the duff ones, this is most noticeable for intensive updates in small screen areas (e.g. in ring meter sketch). So my suggestion is to go for the next revision driver, the HX8357C with 3" TFT which does not exhibit the same problem:

http://www.banggood.com/3_0-Inch-320-X-480-TFT-LCD-Display-Module-Support-Arduino-Mega2560-p-963573.html

Have fun!

More Repositories

1

TFT_eSPI

Arduino and PlatformIO IDE compatible TFT library optimised for the Raspberry Pi Pico (RP2040), STM32, ESP8266 and ESP32 that supports different driver chips
C
3,582
star
2

TJpg_Decoder

Jpeg decoder library based on Tiny JPEG Decompressor
C
223
star
3

JPEGDecoder

A JPEG decoder library
C
221
star
4

TFT_ILI9341

A fast Arduino IDE compatible graphics and fonts library including a driver for the ILI9341 based TFT displays.
C
109
star
5

TFT_eWidget

A TFT support GUI library providing button, graph, meter, and slider class functions.
C++
90
star
6

TFT_eFEX

A support library for TFT_eSPI that adds commonly used extra functions
C++
83
star
7

DarkSkyWeather

Arduino ESP32 and ESP8266 compatible library to read weather forecast from Dark Sky API
C++
80
star
8

TFT_ST7735

Arduino graphics library for ST7735 displays with propotional fonts
C
78
star
9

EPD_Libraries

A set of adapted Arduino libraries for Waveshare ePaper displays for ESP8266 and ESP32
C
49
star
10

U8g2_for_TFT_eSPI

C
40
star
11

OpenWeather

Arduino library to fetch weather information from OpenWeather
C++
38
star
12

JSON_Decoder

Streaming parser for decoding JSON streams on small devices
C++
32
star
13

TFT_Touch

Arduino touch screen library for XPT2046
C++
29
star
14

TFT_ILI9341_ESP

TFT ILI9341 library for ESP8266 and NodeMCU
C
29
star
15

TFT_HX8357_Due

Arduino Due TFT diaplay library for 16bit HX8357B/C and ILI9481 drivers
C
26
star
16

User_Manual_TFT_eSPI

User Manual for TFT_eSPI
25
star
17

Audio-Spectrum-FFT

Arduino sketch to sample PDM microphone and show frequencies using FFT
C++
20
star
18

TFT_ILI9163

Arduino library for ILI9163 based TFT displays
C
19
star
19

TFT_eFX

An example graphics extension library for TFT_eSPI
C++
18
star
20

ESP8266_uncannyEyes

A port of the Adafruit uncannyEyes to the NodeMCU and ILI9341 display
C
11
star
21

PowerPoint_to_sketch

Create an Arduino Sketch from a PowerPoint presentation
C++
10
star
22

TFT_SdFat

A tweaked version of SdFat to improve block read speed
C++
10
star
23

ADC_DMA_FFT

RP2040: sample ADC, run FFT, display on TFT
C++
10
star
24

SdFat

A version of SdFat that works with the JPEGDecoder library
C++
8
star
25

PNG_TEST_ONLY

Work in progress PNG decoder test sketches
C
8
star
26

TFT_S6D02A1

A fast Arduino TFT library for S6D02A1 based displays
C
7
star
27

Pico_Unicorn_GFX

Arduino library for Raspberry Pico with Pimoroni Unicorn 7x16 LED display
C++
7
star
28

ApixuWeather

Arduino ESP32 and ESP8266 compatible library to read weather forecast from Apixu API
C++
7
star
29

Touch_FT5x06

Multi-touch Arduino library for Focaltech FT5x06 capacitive touch controller
C++
5
star
30

GFX_Font_Converter

Windows executable to create GFX compatible fonts from ttf format font files
5
star
31

Raspberry-Pico_Micropython_Scripts

A collection of Micropython scripts for the Raspberry Pico
Python
4
star
32

TFT_eButton

TFT button library for TFT_eSPI
C++
4
star
33

Interrupt_driven_stepper

Arduino sketch to drive a stepper motor using Timer 1 interrupts
C++
3
star
34

MCUFRIEND_kbv-screenshot-server-and-client-sketch

Arduino MCUFRIEND_kbv TFT screenshot capture utility
C
2
star
35

Github-images

Images for use in ReadMe
1
star