...
Hardware Specifications | |
Chipset | ESPRESSIF-ESP32 240MHz Xtensa® single-/dual-core 32-bit LX6 microprocessor |
FLASH | QSPI flash 4MB /16MB |
SRAM | 520 kB SRAM |
Button | Reset |
Modular interface | UART、SPI、SDIO、I2C、LED PWM、TV PWM、I2S、IRGPIO、ADC、capacitor touch sensor、DACLNA pre-amplifier |
Display | IPS ST7789V 1.14 Inch Resolution: 135 x 240 |
Working voltage | 2.7V-4.2V |
Working current | About 67MA |
Sleep current | About 350uA |
Working temperature range | -40℃ ~ +85℃ |
Size&Weight | 51.52*25.04*8.54mm(7.81g) |
Power Supply Specifications | |
Power Supply | USB 5V/1A |
Charging current | 500mA |
Battery | 3.7V lithium battery |
JST Connector | 2Pin 1.25mm |
USB | Type-C |
Wi-Fi | |
Standard | FCC/CE-RED/IC/TELEC/KCC/SRRC/NCC(esp32 chip) |
Protocol | 802.11 b/g/n(802.11n,speed up to150Mbps)A-MPDU and A-MSDU polymerization,support 0.4μS Protection interval |
Frequency range | 2.4GHz~2.5GHz(2400M~2483.5M) |
Transmit Power | 22dBm |
Communication distance | 300m |
Bluetooth | |
Protocol | Meet bluetooth v4.2BR/EDR and BLE standard |
Radio frequency | With -97dBm sensitivity NZIF receiver Class-1,Class-2&Class-3 emitter AFH |
Audio frequency | CVSD&SBC audio frequency |
Software specification | |
Wi-Fi Mode | Station/SoftAP/SoftAP+Station/P2P |
Security mechanism | WPA/WPA2/WPA2-Enterprise/WPS |
Encryption Type | AES/RSA/ECC/SHA |
Firmware upgrade | UART download/OTA(Through network/host to download and write firmware) |
Software Development | Support cloud server development /SDK for user firmware development |
Networking protocol | IPv4、IPv6、SSL、TCP/UDP/HTTP/FTP/MQTT |
User Configuration | AT + Instruction set, cloud server, android/iOSapp |
OS | FreeRTOS |
...
Code Block |
---|
git clone https://github.com/Xinyuan-LilyGO/TTGO-T-Display.git cd TTGO-T-Display cp -R TFT_eSPI ~/Documents/Arduino/libraries/. |
Pinout
Schematic
Install the Serial Driver
...
Code Block |
---|
#include <TFT_eSPI.h> #include "bmp.h" ... void initScreen(){ tft.init(); tft.setRotation(1); tft.fillScreen(TFT_BLACK); tft.setTextSize(2); tft.setTextColor(TFT_GREEN); tft.setCursor(0, 0); tft.setTextDatum(MC_DATUM); tft.setTextSize(1); tft.setSwapBytes(true); tft.pushImage(0, 0, 240, 135, ttgo); espDelay(5000); } |
Using Fonts
Code Block |
---|
#include "orbitron10.h"
#include <TFT_eSPI.h>
#include "bmp.h"
...
void initScreen(){
tft.init();
tft.setRotation(1);
tft.setTextColor(TFT_GREEN);
tft.setCursor(0, 0);
tft.setFreeFont(&Orbitron_Medium_10);
tft.fillScreen(TFT_BLACK);
tft.setTextDatum(MC_DATUM);
tft.drawString("CHARGING", tft.width() / 2, tft.height() / 2 );
} |
Generating a Font File
Navigate to https://oleddisplay.squix.ch
Download or copy generated output to include file.
ie.
orbitron10.h
References
Reference | URL |
---|---|
LilyGo Product Page | http://www.lilygo.cn/claprod_view.aspx?TypeId=62&Id=1126&FId=t28:62:28 |
Datasheet | https://github.com/Xinyuan-LilyGO/T-Display-S3/blob/main/doc/esp32-s3_datasheet_en.pdf |
Reference Manual | https://github.com/Xinyuan-LilyGO/T-Display-S3/blob/main/doc/esp32-s3_technical_reference_manual_en.pdf |
New sketches for TTGO T-Display (FREE) | https://www.youtube.com/watch?v=Th4IdigA6xE |
https://www.youtube.com/watch?v=slYZz61u8RY | |
Volos Projects | https://github.com/VolosR |
How to Install and Setup TTGO T-Display ( Getting Started tutorial) | https://www.youtube.com/watch?v=b8254--ibmM |
Transparent Sprites - Programming Tutorial (TFT_eSPI library) | https://www.youtube.com/watch?v=U4jOFLFNZBI |