Arduino-friendly 240x320 LCD Display Tutorial (ILI9341)

preview_player
Показать описание
In this video I'll give an overview and programming tutorial for these handy little 240x320 color LCD displays. These things are great for IoT device interfaces or homebrew portable gaming and are compatible with almost every major microcontroller or SBC out there.

Mine came from HackerBoxes (which you should totally go check out) but you can find these screens from all kinds of sources online.

/* HackerBoxes 0027 */

/* ILI9341 */

/* ESP32 */

/* Espruino */

/* Credits */
Microphone for this video was provided by Samson Technologies

#Arduino #ESP32 #Espruino
Рекомендации по теме
Комментарии
Автор

out of all of the tutorials for this, this one was the only one I could understand! well done!

fastslash
Автор

Connect the LED pin to a 0-3.3V DAC to vary the brightness of the backlight. Teensy has a 12 bit DAC built in that works well for this.

Note that some of these "ILI9341" displays actually don't work with the ILI9341 library; however they do work work the ILI9340 library instead.

tigercat
Автор

Hi! The format of the video is great. Congratulations ! Good job !

lutzchouwee
Автор

When I run the fillScreen command, the LCD only paints a portion of the screen - looks like a square - rather than a rectangle (I have the 2in 240x320 pixels LCD Module). Any idea what I am doing wrong? Or is this a defective piece of hardware?

billypruchno
Автор

In the sketch, set.Rotation etc does not turn Red.
Yours shows in Red but mine has remained Black lettering.
It verifies, compiles and uploads without errors but I don’t see anything on the ILI9341 screen.
Please can you help.
Also can you tell me how I can see the program run on the serial monitor.

melmarshall
Автор

On such a display, the letters are inverted
horizontally by 180 degrees (that is, the entire
display screen). I have tried many libraries, but
there is no result. Advise me where to

Vagubando
Автор

I was looking for a tutorial like this to make my display work. And it made it, thank you.

fabiocardoso_dev_br
Автор

Really, really, helpful for me at the right time.
Very cool explanation.

Thanks a lot.

waynugopaal
Автор

Everywhere I look I see that all of these cheap LCD screens have a very low refresh rate, it takes like 1 second to redraw the entire screen, so I have no idea how anyone could do any sort of real-time application, let alone videogames using this thing. Is this a "feature" of the used library, or a limitation of the SPI interface? Thank you!

EmeraldOtringal
Автор

You can use GEANY for open/edit/save c/cpp/h/hpp and many other formats instead of MS.

mrstanlez
Автор

Nice video, one thing you mentioned SPI being slow... Does not have to be, on a Teensy 3.2 or 3.6 these displays can update really fast with the hardware optimized library. I used it a year or two ago and was impressed.

jontscott
Автор

Could you make a tutorial for the touch aspect of the screen?

PKCubed
Автор

As of writing this i am having an issue. My LCD is still white. Not that the lcd is bad, its a well reviewed lcd, a Hiletgo tft spi v1.2. But yet nothing is working. I really would appreciate some help here

elgentidwell
Автор

Thanks for the video, I'm trying to use this display first with arduino to make a badge-like thing, and when I learn a little more with the ESP32

Sickeira
Автор

I'm curious how is this done without any library, where should I look ? sorry if my question is dumb.

justcurious
Автор

you did talk about the touch effect part

kekekeernest
Автор

Can you use these to playback video files off the SD card storage? If so, could you use an Arduino simply for playback control (for instance, to advance to the next video file when a sensor is triggered), rather than to generate the video itself and send it over SPI? I'm looking for a way to do simple playback from and SD card using an Arduino (not a Pi) on a small-scale display. Thanks!

gullsuit
Автор

how can we do speeding of screen by using this adafruit library . plz tell me

sudheerillipilli
Автор

Great video Davy.
Do you have any video for ESP32 with 3.5" ILI9486 TFT LCD shield?
I have this LCD shield, but I'm struggling with wiring of LCD shield.

narsimloobegari
Автор

Davy is very good at making easy to understand tutorials. I bought a matching screen and was able to get everything working the first time. I am using it to display Time, Day, Date, Temperature and Altitude. All the time and $$ spent only to find out that there is no way to overwrite text. for example when the minute changes on the clock it just writes over the previous number without erasing it first leaving behind a jumbled mess. What am i missing? is there any solution to this problem? Adafruit just says to overwrite the text location with a rectangle of the background color however that works but leaves the text flashing.

waynefitkin