#204 TFT Touch Screen ILI9341 SPI for ESP32 (Internet Radio Research)

preview_player
Показать описание
So I'm testing out a new touch-screen TFT as part of my Internet Radio project. Funny, that screen looks familiar where have I seen it before?
Special Xmas offer valid until December 25th 2020

------------------------
INFORMATION
------------------------

Schreibfaul1 driver for ESP32 & ILI9341 TFT (320x240):

Fancy new fonts? Try the font creator, can be used with above driver:

ESP32 information from the designer of the device:

Arduino sketch for the shield version of this TFT:

### List of all my videos
(Special thanks to Michael Kurt Vogel for compiling this)

-------------------
PRODUCTS
-------------------

The 2.8" TFT touch screen used in my demo for just $6.66 (plus $2.05 shipping) or from USA & UK direct:
2.8 Inch ILI9341 240x320 SPI TFT LCD Display Touch Panel SPI Serial Port Module

38-pin ESP32 with headers for just $4.99 plus $2.25 shipping ($9.00 plus 0.99 shipping if ordered from USA):

Amazon UK sell this TOUCH 2.8" screen (in the UK) for just £10.38 with next day delivery!

Amazon UK also sell the 38-pin ESP32 DEv Kit for just £5.55 in the UK:

AliExpress offer both 30-pin and 38-pin ($3.36 + $1.04 shipping) of the ESP32 Dev Kit:
That's a link for a bare ESP32 with a whopping 16Mb on board! But needs an expansion board/PCB.

My channel, GitHub and blog are here:
------------------------------------------------------------------
------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

Ralph, about your JLCPCB offer that is good until December 25, 2020:
ANYTHING ordered from Mainland China, Hong Kong, Taiwan, etc. after mid-November of any year will most likely be late in arriving due to the high volume of orders being shipped that will then need to go through customs and handling in general by their postal system. This rush creates a backlog that then hits the Chinese New Year in mid-February when everyone there seems to take time off to celebrate and once again all shipments seem to slow to a crawl creating a backlog for the backlog. With the COVID-19 pandemic going on, goodness only knows what will happen to shipments.

So if anyone plans to have anything shipped from the area, please keep this in mind and complete your order *before* mid-November.

AtlantaTerry
Автор

I'm glad you said the Royal Mail delivery works ok from JLCPCB. I just ordered my first set of PCBs from them last night and that was the delivery option I chose. Interestingly my project also caters for an HC-12 module.... Keep up the great content, I've learned a lot from watching your videos

charlesjones
Автор

Good introduction.
This will be my first ESP32 project, looking forward to it 😊

flemmingchristiansen
Автор

I'm using a 2.8" ILI9341 display with my ESP32 project. It's great. Using TFT-eSPI library which is lightening fast. For updating often changing data use the "sprite" class.
I'm with you on the number of pins. The ESP32 boards I have are 30 pins. I'm using all but one, which is annoying as have more things to do. So just ordered a couple of 38 pins which will hopefully sort me out.

TYGAMatt
Автор

Interesting project and nice presentation as always.
Just yesterday had a conversation about 'Touch Screens' and whether they might fall out of favour due Covid-19 for all the commercial uses they've been popping up in; such as Banks, 'petrol' pumps and store/restaurant purchase equipment, where most of those won't work with gloves on, a stylus isn't provided and cleanliness isn't upkept between customers.

scottstevens
Автор

Hi Ralph, I'm looking forward to this one ! a nice project with some meat on and you will end up with a sweet gadget that costs a fraction of what it would from a shop...cheers.

andymouse
Автор

I'm using ILI9341 with ESP32 Wroom DOIT Dev Kit v1 (30pin version). I already solder all the connections instead of using breadboard.
I can't get my built-in SD slot to read and display jpg image stored on SD card.
I'm using eSPI library.
Here is how I connect:
cs=15, rst =4, dc=2, mosi=23, csk=18, miso=Not connected
t_slk=18, t_cs=21, t_din=23, t_do=19
sd_cs=5, sd_mosi=23, sd_miso= 19, sd_sck=18

Please help.

jumbo
Автор

Looks interesting Ralph. As we build a new house soon I might need some internet radios soon 😀
Schreibfaul1 seems to be a German guy with great projects. I already build his scrolling text clock a few years ago.

Hasitier
Автор

Ralph, do you have any guidance on the other variations of the esp32 (S2, D)? I have not paid attention and have ended up with a mixture but haven't had the time to evaluate the differences.

Cairos
Автор

Have you looked at the Nextion displays?

Ivor_Nastyboil
Автор

My first ESP32 "clone" I bought from ebay it had 38 pins, onboard wifi/bt antenna and external antenna socket. It was a great little microcontroller but now I only buy genuine Espressif ESP32's from mouser uk.

backyardbasher
Автор

I read somewhere in some esp32 docs over the weekend that you should use PNG for detailed images, and that PNG will be rendered more accurately than jpg

poepflater
Автор

Those 38-pin development boards are a bit overrated compared to the 30-pin boards. The extra pins are mostly FLASH-pins (SD0, SD1, SD2, SD3) and ground-pins. The FLASH-pins should be kept floating at boottime, so be carefull using them...

fritschalterheijden
Автор

Great video Ralph. I am getting excited about the complete project. Now, I listen to a lot of audiobooks, usually from an iPod Nano via headphones/earbuds. Lets pretend you have a really awkward subscriber who always wanted your projects to do something that you never thought of and was so esoteric that none of your other subscribers would have any interest in. Would it be a total pain to tweak your internet radio that it could also stream from Bluetooth?

willofirony
Автор

I do not agree with getting as many pins as possible on the ESP32, I have 32 pins and 36 pins version and they have exactly the same amount of usable pins. The four extra pins is used internally on the module and not recommended to use externally.

henrikjensen
Автор

Ralph, The link for the 2.8" screen from Amazon is the non-touch version. Just a heads up for people.

stressedbunny
Автор

Nice, I have another application in mind, but with essentially, same screen and ESP32 -- so indeed I will follow along this project.

Cptnbond
Автор

Dear Ralph, I have a shield for UNO. Its touch is defective and cannot be calibrated at all. I tried lots of tutorials and ... all in vain. So, could you help me if I decide to use it just as a LCD without touch which pins of the shield should be used? By the way, my major is not electronics.

farhadh.jafarpour
Автор

Generally if you find the highest quality stream you can, it will sound very good when hooked up through an external amplifier. I was running mine with i2s into a pcm5102 module.

brianharper
Автор

ok ok... i am getting very close to having my very 1st pcb to be sent off for fabrication and i am using kicad for now... thank you for the great circuit board info...:)

qzorn