TFT Display and Arduino: Setup and Programming | How to connect LCD to arduino 1.8" 2.8" 3.5"

Поділитися
Вставка
  • Опубліковано 8 вер 2024
  • ▶ My Discord: bit.ly/MikaelAb...
    Thanks for taking the time to watch this, if you want to support me, Like the video, and Subscribe to the channel, thats all I need!
    TFT (Thin Film Transistor) displays are a type of LCD (liquid crystal display) that uses thin-film transistors to control the flow of current through the liquid crystals. This allows for a higher resolution and faster refresh rate than traditional LCD displays.
    TFT displays work by using a backlight to shine through a layer of liquid crystals. The liquid crystals can be manipulated by electrical current to change the amount of light that passes through them, creating the desired image. TFT displays are used in a wide variety of applications such as smartphones, tablets, monitors, and televisions, among others.
    One of the main benefits of using TFT displays is their high resolution and fast refresh rate. They also have a wide viewing angle and good color reproduction. Additionally, TFT displays are relatively cheap and easy to produce, making them widely available.
    On the other hand, one of the main drawbacks of TFT displays is that they consume more power than other types of displays such as OLEDs or E-paper displays. They also require a backlight, which can make them less suitable for certain types of applications.
    TFT displays are used in a variety of real-world applications. Some of the most common use cases include smartphones, tablets, monitors, and televisions, among others. Smartphones and tablets use TFT displays to provide a high-resolution and fast refresh rate display. Monitors and televisions use TFT displays to provide a large and high-resolution display.
    If you want to learn how to wire a TFT display with an Arduino, and code it, check my video tutorial where I show you step-by-step how to do it. In the video, I go through the necessary connections, the code, and any potential issues you may encounter. By the end of the video, you'll be able to build your own TFT display projects with an Arduino.
    A touch screen calculator: Use a TFT display and a touch screen to build a calculator with an Arduino.
    A digital oscilloscope: Use a TFT display to build a digital oscilloscope with an Arduino.
    A graphical equalizer: Use a TFT display to create a graphical equalizer for audio with an Arduino.
    A smart home controller: Use a TFT display to build a smart home controller with an Arduino.
    A digital thermometer: Use a TFT display to build a digital thermometer with an Arduino.
    A game console: Use a TFT display to build a portable game console with an Arduino.
    A GPS data logger: Use a TFT display to build a device that can log GPS data with an Arduino.
    A digital compass: Use a TFT display to build a digital compass with an Arduino.
    A digital picture frame: Use a TFT display to create a digital picture frame with an Arduino.
    A digital clock with alarm: Use a TFT display to build a digital clock with alarm feature with an Arduino.
    keywords:
    TFT, display, Arduino, TFT display, Arduino TFT, TFT Arduino, TFT display Arduino, TFT display tutorial, Arduino TFT display, TFT display projects, Arduino TFT projects, DIY TFT display, TFT display Arduino tutorial, Arduino TFT display tutorial, TFT display hack, Arduino TFT hack, TFT LCD, TFT screen, TFT monitor, TFT display programming, Arduino TFT programming, TFT display library, Arduino TFT library, TFT display shield, Arduino TFT shield, TFT display controller, Arduino TFT controller, TFT display driver, Arduino TFT driver, TFT display library, Arduino TFT library, TFT display shield, Arduino TFT shield, TFT display controller, Arduino TFT controller, TFT display driver, Arduino TFT driver, TFT display programming, Arduino TFT programming, TFT display library, Arduino TFT library, TFT display shield, Arduino TFT shield, TFT display controller, Arduino TFT controller, TFT display driver, Arduino TFT driver.

КОМЕНТАРІ • 92

  • @ciakmanMinecraft
    @ciakmanMinecraft Рік тому +8

    This video is perfect. I have very slight java experience but nothing else and am attempting to build a HUD sort of screen with this exact setup. This helps so much! Thank you!

  • @TheOldKid
    @TheOldKid Рік тому +2

    Thanks for the video. That image animation would drive me nuts. I bought one to load a couple pics of my grand kids on sd card and put it on my wifes desk. Just got it in the mail today. Hope i get it right

    • @MikaelAbehsera
      @MikaelAbehsera  10 місяців тому

      if you have questions join the discord group, its free and lots of people willing to help!

  • @ReyciclismoMTB
    @ReyciclismoMTB 2 місяці тому +1

    Just found your channel, very cool video. Looking to add a display to a PS, for cd player mostly.

  • @salc9593
    @salc9593 11 місяців тому +1

    Hello Mikael, thank you for posting this video as the information you present is exactly what I'm seeking as I am working on a project which will require a 2.8" (diagonal) screen. I do have a couple questions I'm hoping you can help me with. 1st is the actual viewing area of the screen 2.8" (diagonal), 2nd. where did you purchase your screen lastly what is a "Non" TFT Display referenced as. I looking forward to reviewing your other videos on this subject and your other instructional and informative videos. 🙂

    • @MikaelAbehsera
      @MikaelAbehsera  10 місяців тому

      im not sure what a non tft is, but they have touchscreen and non touchscreen so could be that?

  • @gfutsdesign
    @gfutsdesign 4 місяці тому +1

    hey Mikael, how would i add touch activation to change the image displayed on the screen? Thanks!!

  • @fazlayrabbi721
    @fazlayrabbi721 6 днів тому

    Can I use this to display my pc's temperature or fps on running games?

  • @Hydro-Ponik
    @Hydro-Ponik 11 місяців тому +1

    I cracked mine putting it on the pi zero 2 !

  • @trish2828
    @trish2828 Рік тому +1

    Hi! Thank you for this. Can you share with us how I can have say a 5 second video loop play on the screen when I open it and if it's possible to power the screen via a battery instead of it being plugged in? It doesn't have to be a touch screen TFT. I have very minimal knowledge in programming, hope you can help me out. Thanks!

    • @MikaelAbehsera
      @MikaelAbehsera  10 місяців тому

      yeah it can be battery powered, and for a small video youll most likely have to play the frames as a slideshow to make it look like a video!

  • @ritesha8050
    @ritesha8050 3 місяці тому

    hello what i want to do is an lcd but with uv light as the backlight, ill use that for pcb making. What LCD will be appropriate for that

    • @MikaelAbehsera
      @MikaelAbehsera  3 місяці тому

      hmm not sure, you might have to modify a normal one and change the white blacklight to UV

  • @nemonespider
    @nemonespider 4 місяці тому

    Is there a way to power the arduino inside a RC plane and can I run a video off the sd card I’m building a fpv jet and looking to use it for my gauges

    • @MikaelAbehsera
      @MikaelAbehsera  4 місяці тому +1

      if you can power it I dont see why not, Is the screen with you or in the RC plate?

    • @nemonespider
      @nemonespider 4 місяці тому

      @@MikaelAbehsera it will be in the RC plane.. also what do I need if I want to get altitude,speed and attitude readings from the arduino I’ve seen a company called RC gauges but looks like they went out of business

  • @m3lateef
    @m3lateef Рік тому

    Thanks for sharing.
    I'm trying to build something like a tiny tablet for a kid for learning purposes, so i need this kind of touch screen , mp3 player, speaker, battery, ... i need the size of the project to be compact. Do you know what kind of batteries i can use? And any advices to make the project compact ?

    • @MikaelAbehsera
      @MikaelAbehsera  Рік тому

      Lipo batteries are nice but you’ll need to get a charger for them

    • @m3lateef
      @m3lateef Рік тому

      @MikaelAbehsera
      This arduino board needs 5v battery, correct? So i would need two of the 3.7v lipo batteries in series? Can the charging circuit charge both of them in series connection?

  • @NSFWrated
    @NSFWrated Рік тому +1

    Can I use this to make a wireless noticeboard

    • @MikaelAbehsera
      @MikaelAbehsera  10 місяців тому

      yes but it would be quite the project

  • @thefrugalphotographer
    @thefrugalphotographer Місяць тому

    Is it possible to connect a microphone input to this setup?

    • @MikaelAbehsera
      @MikaelAbehsera  Місяць тому

      Unfortunately not really, there are microphones for arduino but in my experience it’s not that great, best bet would be a microphone module with a processor, they do exist but I haven’t tried it yet

    • @thefrugalphotographer
      @thefrugalphotographer Місяць тому

      @@MikaelAbehsera But where would you connect it :)

  • @desalegnsimon6671
    @desalegnsimon6671 Рік тому

    how can I control my DIY cnc with uno TFT set up? like open file, run G code, pause and resume work etc?

  • @asbjrngrov456
    @asbjrngrov456 Рік тому

    I have a 3.5" display not touch, but I can't get it connected. When i try, the screen goes white, but stays white as well. I have tried multiple code examples, but no change. Do you have some suggestions what can be wrong?

    • @MikaelAbehsera
      @MikaelAbehsera  Рік тому

      hard to speculate, check all the pins see if any are broken/short. We have a discord were it might be easier to help there! discord.gg/GygvSdf

  • @_TheBowman_
    @_TheBowman_ Місяць тому

    Hi! I tried running the test but it is not showing on the screen. the pins are all correct but I am not getting the test to play.

    • @MikaelAbehsera
      @MikaelAbehsera  Місяць тому

      Check power, connections, and code

    • @_TheBowman_
      @_TheBowman_ Місяць тому

      @@MikaelAbehsera thanks, what should i check the code for?

  • @muwaffaq27
    @muwaffaq27 9 місяців тому

    Hello Mikael, can a 32 GB SD card work for the dog picture example? or a 4 GB is recommended?

    • @MikaelAbehsera
      @MikaelAbehsera  9 місяців тому +1

      yeah shouldnt matter, but sometimes really large ones freak them out for some reason

  • @Jhill035
    @Jhill035 Рік тому +1

    could you do a video for an artificial horizon?

    • @MikaelAbehsera
      @MikaelAbehsera  10 місяців тому

      can you explain further, i dont completely understand

  • @denistremblay4713
    @denistremblay4713 Рік тому

    i an REALLY new at arduino and i want to make a project with 2 of those tft display, can 1 arduino drive 2 0 TFT displays 480x320 no touch (14 pins + 4 for to the SD card?
    And thanks for this video, it's in my favorites so i can use it later.

    • @MikaelAbehsera
      @MikaelAbehsera  Рік тому

      Join the discord so we can help but I’d recommend learning one thing at a time and then combining them into a project if you’re new

  • @ajaytainwala
    @ajaytainwala 8 місяців тому

    Hi mikael ,
    I tried this same steps and i have 2.4' inch tft shield and when i uploaded the code its just showing the white screen and also tried to reset it and also tried with other examples its not working
    Please help

    • @MikaelAbehsera
      @MikaelAbehsera  8 місяців тому

      hard to know whats wrong but I would start with the wiring, if the screen is showing white we know its getting power but maybe the data lines arent in the right place

  • @TheOldKid
    @TheOldKid Рік тому

    Im confused. I thought woof and miniwoof was the name of your file. Then i load the bmp to see if my pics come up but woof.bmp and miniwoif.bmp is on here. Do i delete those and write in my image file number?

    • @MikaelAbehsera
      @MikaelAbehsera  10 місяців тому

      as long as the name in the files and code is the same they can be anything you want!

  • @CharizardFan_og
    @CharizardFan_og 6 місяців тому +2

    The video is very soft. I can hardly hear you...

    • @TheRobloxG
      @TheRobloxG 6 місяців тому +1

      Turn up your volume

    • @CharizardFan_og
      @CharizardFan_og 6 місяців тому

      @@TheRobloxG My volume is set to Max both on UA-cam and the PC. Other videos are fine but some videos I have to put my ear to the speaker to hear anything

    • @MikaelAbehsera
      @MikaelAbehsera  6 місяців тому

      @CharizardFan_og seems weird since every video I make I check on speaker and headphones at 50% before I upload, but I’ll keep it in mind for future ones

  • @stuket100
    @stuket100 4 місяці тому

    Would these run from a power bank at all?

  • @kidrar8152
    @kidrar8152 6 місяців тому

    Can I run C on this instead of the built in language?

    • @MikaelAbehsera
      @MikaelAbehsera  6 місяців тому

      should be able too, but some built in functions are they way they are

  • @user-cb4jd5bp3o
    @user-cb4jd5bp3o 10 місяців тому

    Hello Mikael Can i download a GUI program to this screen with the SD Card? if yes how can i do this ,thanks alot.

    • @MikaelAbehsera
      @MikaelAbehsera  10 місяців тому

      not sure, there isnt too much on this so you would probably have to do it from scratch yourself

  • @JshDav
    @JshDav Рік тому

    My 2.0" colour tft screen (non touch screen) has 16 pins and i cant figure out where to plug most of them into the arduino... Do you know where i can find the pinout? the joys of cheap Chinese parts lol

    • @MikaelAbehsera
      @MikaelAbehsera  10 місяців тому

      try and find the manufacture site and get a translation app lol, thats how i do it

  • @alhasan838
    @alhasan838 Рік тому

    How can I create an interface with an image matrix

    • @MikaelAbehsera
      @MikaelAbehsera  Рік тому

      Could you elaborate on what your trying to achieve? if you want more help we have a discord discord.gg/GygvSdf

  • @nalaniwijasingha7793
    @nalaniwijasingha7793 Рік тому +1

    Give mi a window program cord link

  • @fleezyt2418
    @fleezyt2418 8 місяців тому

    The example didn't work for my 2.8 inch tft touch screen

    • @MikaelAbehsera
      @MikaelAbehsera  8 місяців тому

      can you share more information? cant really help if you just say its not working...

    • @fleezyt2418
      @fleezyt2418 8 місяців тому +1

      @@MikaelAbehsera like when I ran the example the screen was white and nothing happened

    • @_TheBowman_
      @_TheBowman_ Місяць тому

      @@fleezyt2418 Happened to me too, idk what to do!

  • @user-rr2de9pr3w
    @user-rr2de9pr3w 9 місяців тому

    Which sd card should we use?

    • @MikaelAbehsera
      @MikaelAbehsera  9 місяців тому

      Whichever you would like, it’s more the formatting then the card! But I know people have had problems with over 32gb

  • @hal47
    @hal47 Рік тому

    Hi sir
    I need the code which you use it to to make tft 2.8 playing video if you never mind

    • @MikaelAbehsera
      @MikaelAbehsera  Рік тому

      In the video I show you where the code is located, when you install the library the code examples are there 4:27

    • @TheOldKid
      @TheOldKid Рік тому

      If you watched the video you'd know where you can get it

  • @karismaraju
    @karismaraju 6 місяців тому

    can i use this lcd in esp32

    • @Maxcraft7050
      @Maxcraft7050 6 місяців тому +1

      I think you can because I've seen someone use a simple 0.96" display for esp32

    • @karismaraju
      @karismaraju 6 місяців тому

      @@Maxcraft7050 can you help me

    • @Maxcraft7050
      @Maxcraft7050 6 місяців тому

      @@karismaraju I wish I knew more so not really but you can search on youtube for the 0.96 inch display with esp32 or tft display with esp32

  • @AgentOffice
    @AgentOffice Рік тому +1

    Wow

  • @serhiifediakov8171
    @serhiifediakov8171 10 місяців тому

    That's great but where is the link to AliExpress?

    • @MikaelAbehsera
      @MikaelAbehsera  10 місяців тому

      some of them got deleted, so the link goes to nothing, but you can just look up oled color/nocolor/tri color and youll get a bunch

  • @Ayrin69
    @Ayrin69 8 місяців тому

    mine is just stuck on a blank white screeen 💀

    • @MikaelAbehsera
      @MikaelAbehsera  8 місяців тому

      Seems to be more then just you, check the wiring over, and use one of the example scripts provided from the tft library we used

  • @theokerner535
    @theokerner535 Рік тому

    What coding language is this? C++ or phyton?

  • @d2doctor
    @d2doctor 7 місяців тому

    That's Vogon poetry in green, not gibberish 🤨

  • @doybarbado1497
    @doybarbado1497 Рік тому

    How to play a video?

    • @MikaelAbehsera
      @MikaelAbehsera  10 місяців тому

      turn video into sperated frames and play each frame one by one

  • @raindrops2588
    @raindrops2588 9 місяців тому

    Pai unde e Windows XP ????????

  • @waterjoe2024
    @waterjoe2024 6 місяців тому +1

    😂ai

  • @qsdrfghgujfddyffguff
    @qsdrfghgujfddyffguff Рік тому +1

    100% worest quality chinese displys availble in the market