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

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 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  11 หลายเดือนก่อน

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

  • @ReyciclismoMTB
    @ReyciclismoMTB 3 หลายเดือนก่อน +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  11 หลายเดือนก่อน

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

  • @gfutsdesign
    @gfutsdesign 5 หลายเดือนก่อน +1

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

  • @fazlayrabbi721
    @fazlayrabbi721 17 วันที่ผ่านมา

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

  • @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  11 หลายเดือนก่อน

      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!

  • @Hydro-Ponik
    @Hydro-Ponik 11 หลายเดือนก่อน +1

    I cracked mine putting it on the pi zero 2 !

  • @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?

  • @ritesha8050
    @ritesha8050 4 หลายเดือนก่อน

    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

  • @stuket100
    @stuket100 4 หลายเดือนก่อน

    Would these run from a power bank at all?

  • @_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?

  • @NSFWrated
    @NSFWrated ปีที่แล้ว +1

    Can I use this to make a wireless noticeboard

    • @MikaelAbehsera
      @MikaelAbehsera  11 หลายเดือนก่อน

      yes but it would be quite the project

  • @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

  • @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

  • @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 :)

  • @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  11 หลายเดือนก่อน

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

  • @muwaffaq27
    @muwaffaq27 10 หลายเดือนก่อน

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

    • @MikaelAbehsera
      @MikaelAbehsera  10 หลายเดือนก่อน +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  11 หลายเดือนก่อน

      can you explain further, i dont completely understand

  • @ajaytainwala
    @ajaytainwala 9 หลายเดือนก่อน

    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

  • @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

  • @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

  • @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?

    • @MikaelAbehsera
      @MikaelAbehsera  ปีที่แล้ว

      im not sure, but i dont see why not.

  • @CharizardFan_og
    @CharizardFan_og 7 หลายเดือนก่อน +2

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

    • @TheRobloxG
      @TheRobloxG 7 หลายเดือนก่อน +1

      Turn up your volume

    • @CharizardFan_og
      @CharizardFan_og 7 หลายเดือนก่อน

      @@TheRobloxG My volume is set to Max both on TH-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  7 หลายเดือนก่อน

      @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

  • @AhmedAtif-q8k
    @AhmedAtif-q8k 11 หลายเดือนก่อน

    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

  • @fleezyt2418
    @fleezyt2418 9 หลายเดือนก่อน

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

    • @MikaelAbehsera
      @MikaelAbehsera  9 หลายเดือนก่อน

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

    • @fleezyt2418
      @fleezyt2418 9 หลายเดือนก่อน +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!

  • @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  11 หลายเดือนก่อน

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

  • @user-rr2de9pr3w
    @user-rr2de9pr3w 10 หลายเดือนก่อน

    Which sd card should we use?

    • @MikaelAbehsera
      @MikaelAbehsera  10 หลายเดือนก่อน

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

  • @nalaniwijasingha7793
    @nalaniwijasingha7793 ปีที่แล้ว +1

    Give mi a window program cord link

  • @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

  • @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

  • @theokerner535
    @theokerner535 ปีที่แล้ว

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

  • @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

  • @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

  • @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

  • @AgentOffice
    @AgentOffice ปีที่แล้ว +1

    Wow

  • @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 ????????

  • @d2doctor
    @d2doctor 7 หลายเดือนก่อน

    That's Vogon poetry in green, not gibberish 🤨

  • @waterjoe2024
    @waterjoe2024 6 หลายเดือนก่อน +1

    😂ai

  • @qsdrfghgujfddyffguff
    @qsdrfghgujfddyffguff ปีที่แล้ว +1

    100% worest quality chinese displys availble in the market