on way - Jens

ESP32 S3 T Display

You might have problems with flashing due to wrong configuration

My config is below

I am running Linux Mint - but config is same on windows and MAC afaik

 

specs might change

About the Lilygo ESP32 S3 T-Display board

 
  • LilyGos homep

  • ESP32 S3 duo core 240MHz

  • 1.9" 170x240 pixels OLED color

  • 16 MB Flash, 8 MB PSRAM

    • On image below upper left is 0,0 and lower right is 134,239

  • Uses ST7789V chip as OLED driver ( same as TTGO T1)cp  /Des

    • important to knwo when we are going to configure graphichal driver

  • docu

 

More info from producer

https://github.com/Xinyuan-LilyGO/T-Display-S3

Pin info

pin overview

TFT_eSPI graphics library

TFT_eSPI is part of the Arduino libraries so …

as usual

  1. Sketch->Include Library-> Manage Libraries

  2. Search for TFT_eSPI

  3. Install

  4. QED

 

Configuration of TFT_eSPI library

The library supports really many graphical devices.

On the TTGO T is a ST7789V graphic chip and it is interfaced by SPI.

So we need to modify a few files in the library to acivate support for it.

So the files located in sketchbook/libraries/TFT_eSPI/ is …

  1. User_Setup.h

  2. User_Setup_Select.h

Modify User_Setup.h

We have to edit in file User_Setup.h
which is located in sketchbook/libraris/TFT_eSPI/

  1. Go to our sketchbook location …/sketchbook

  2. Go down in folder libraries

  3. Go down in folder TFT_eSPI - this is the driver SW

Open file User_Setup.h file in an editor

All lines in the file are from beginning commented out. We do only need to uncomment and correct af few lines

So

  1. We need to activate support for ST7789V chip

  2. approx line 58 uncomment line //#define ST7789_DRIVER/ (just remove the two //)

    1. #define ST7789_DRIVER

  3. And set resolution of display 135x240

  4. approx lines 90 you shall have two lines (you have to correct resolution

    1. #define TFT_WIDTH 135 //

    2. #define TFT_HEIGHT 240 //

(click for see my User_Setup.h file - look for JDN)

Open raw file

Modify User_Setup_Select.h

We need to have correct include file path. This is given in User_Setup_Select.h

All lines are commented out (as you can see support fore weird many displays)
You need to uncomment one line:

So open the file in your texteditor and uncomment so you will have driver no 25 active…

(click for see the file - look for JDN)

Open raw file

Examples

See examples -> TFT_eSPI -> etc

Be aware some examples are for larger displays then 135x240

I have - with succes - tested examples ->TFT-eSPI->320x240->TFTMeters

(see the code)

the raw code

The display shows

 

Looks weird - its because it thinks itas 320x240 display

A hack - rotate it - this will not solve the problem but looks better

I think the chip just dont draw stuff outside the display :-)

In the setup function just change tft.setRotation(0); to tft.setRotation(1);

Happy hacking

 

END OF DOCU

OLD STUFF FROM HERE

Wi-Fi

Standard FCCCE-REDICTELECKCCSRRCNCC(esp32 chip) Protocol 802.11 bgn(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 StationSoftAPSoftAPStationP2P Security mechanism WPAWPA2WPA2-EnterpriseWPS Encryption Type AESRSAECCSHA Firmware upgrade UART downloadOTA(Through networkhost to download and write firmware) Software Development Support cloud server development SDK for user firmware development Networking protocol IPv4、IPv6、SSL、TCPUDPHTTPFTPMQTT User Configuration AT Instruction set, cloud server, android/iOSapp OS FreeRTOS

{</div>