Display Picture using TFT Display and Arduino Mega | MCUFRIEND Library

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 มิ.ย. 2022
  • In this video, the program for displaying pictures in TFT lcd display is presented. Arduino mega is used for this purpose. TFT shield is easy to use with arduino uno but we can also use it with arduino mega with very small changes. MCUFRIEND library is used for the tft lcd display control purpose. This is one of the easiest tft lcd library to work with. The process for display picture in TFT display using arduino mega is as follows:
    1. Resize the image and convert it to BMP format
    2. Upload the image to the sd card
    3. Insert the sd card to the 2.4 inch TFT lcd display shield
    4. Install the necessary libraries and make the instructed changes
    5. Upload the given code to the arduino mega
    It's done....enjoy!
    Download the code: t.me/ucexplained/31
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 10

  • @amirsaleh5739
    @amirsaleh5739 2 หลายเดือนก่อน

    thanks a lot. You solved my problem

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

    Hello, thank you fir this video. How can I have a 5 second video loop on the display when I power it up? And is it possible for the display to be powered by a battery instead of being plugged in? Thank you.

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

    I have the screen on the link page, but I couldn't run it and I tried a suitable code. it didn't work in any way with arduino mega there is only white screen lighting can you help with this thank you

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

    I did everything and ran well but I receive this " cannot start SD " message on the serial monitor
    Can you help ?

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

    May I ask for some help: I am trying to render a BMP but I kepp getting a "bad bmp image" file. I have used the exiftool from linux to insepct the BMP images. Those that work "Pixels Per Meter X and Y of 2835 or 2834. The BMPs that do not work are 11811. I can force the 11811 files to render but they are rendered as garbage.
    Any idea what that is and how to get around it?

    • @Henry-sv3wv
      @Henry-sv3wv 10 หลายเดือนก่อน

      howto BMP with gimp:
      menu image -> scale image , set width=240 and height=320, ignore the resolution stuff with Pixels Per Meter or whatever ...
      in the "File->export as" dialog: `/tmp/logo.bmp` in the coming dialog do: do not write color space information (compatibility options) and adv. options select 24 bits
      ( i used gimp version 2.10.34 )

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

    the code is empty

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

    i got error SdFatSoftSpi dosent name a type

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

      same, cannot fix it

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

      the current version of sdfat library has some issue. Please try the initial versions such as 1.x.x and try recompiling the code.