Lab goals:

  1. Set up your Arduino IDE to use libraries needed for writing code for the TTGO
  2. Install drivers for TTGO T-DISPLAY
  3. Learn to write to the TFT display
    1. text
    2. shapes
    3. images
  4. If you finish up early, you can: 1) submit a video of your display working on Courseworks, 2) start working on your Module 1 design!

Setup

Arduino Installation

We will be using the Arduino IDE to program our T-Display.

  1. Download the Arduino here: https://www.arduino.cc/en/software

TTGO T-display Driver Install

  1. Install the TTGO T-Display driver
    1. We’re using the CH9102 chip so make sure you install the appropriate CHxxx Series driver
    2. Download it following the instructions here under Install USB driver https://github.com/Xinyuan-LilyGO/TTGO-T-Display
    3. Open the zip folder, which should contain PDF instructions CH34X_DRV_INSTAL_INSTRUCTIONS.pdf
    4. For Mac specifically, you need to go to Settings > Privacy and Security – scroll to the bottom and click Allow to allow the driver app to install

image.png

e. In the step where you’re checking the COM port assignment (step 6 for Macs), the command you should type is

 ls /dev/tty.wch*

(tty stands for TeleTYpewriter, and this step checks for input devices that can communicate with your computer)

Installing TFT_eSPI library