Hardware

Brief characteristics of TFT shield:

  • Size 3.5 " diagonal,
  • Resolution 320x240,
  • Number of colors 65536 (16-bit),
  • Resistive touch screen (XPT2046 controller),
  • 5 buttons,
  • RTC IC DS1307 with 3V lithium battery CR1220,
  • Slot for connecting a micro SD card,
  • 4-pin (2.54 mm) connector for connecting the Bluetooth module HC-05 (-06),
  • 20-pin (2.54 mm) connector for camera (OV7670).

Software

At the moment, the following library functions are implemented for working with graphics: drawing points, lines, circles, rectangles.The most popular library from Adafruit Industries was adapted for working with fonts. Additionally, work with the touch screen and buttons is implemented.Demo sketch to demonstrate the work with graphics and fonts:

Read more »