How to Display Image in TFT Display

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024
  • How to Display Image in TFT Display
    This experiment is to use with 2.4" TFT LCD touch screen shield, it reads bmp images stored on SD card and shows them on the TFT Display.
    Required Components
    ==================
    1. Arduino Uno
    2. TFT Display
    3. Connecting Cable
    Components Link
    ===============
    1. Arduino Uno - robu.in/produc...
    2. TFT Display - robu.in/produc...
    3. Connecting Wires - robu.in/produc...
    Software Required
    ===============
    1. Arduino IDE - www.arduino.cc...
    2. Programming Language - C Language
    Source Code
    ===========
    github.com/Tec...
    Reference Video of Arduino Experiments
    ======================================
    1. RFID Controlled Automatic Door | Arduino Projects
    • RFID Controlled Automa...
    2. Distance Measurement in Mobile | IOT Projects
    • How to get the Distanc...
    3. Control Water Pump from Mobile | IOT Projects
    • Control Water Pump Fro...
    4. Control Electric Bulb from Mobile | IOT Projects | Home Automation
    • Control Electric Bulb ...
    5. Rainfall Alert in Email | IOT Projects
    • Rainfall Alert in Emai...
    6. Temperature Alert in Email and Mobile | IOT Projects
    • Temperature Alert in E...
    7. Automatic Door Opening using IR Sensor
    • Automatic Door Opening...
    8. Control LED from Mobile using Blynk App
    • Control LED from Mobil...
    9. How to display text in TFT LCD Display
    • How to display text in...
    10. Control Bulb using RFID
    • Control Bulb Using RFI...
    11. Rain Monitoring System
    • Rain Monitoring System...
    12. Rain Alarm Notification in Mobile
    • Rain Alarm Notificatio...
    13. Smoke Detector Alarm Without Arduino
    • Smoke Detector Without...
    14. RFID Security System with LCD
    • RFID Security System W...
    15. Fire Alarm Without Using Arduino for 80 Rs.
    • Fire Alarm Without Ard...
    16.Temperature Monitoring System | IOT Projects
    • Temperature Monitoring...
    17. Fire Alarm Notification in Mobile
    • Fire Alarm Notificatio...
    18. Motion Sensor Control ElectriC Bulb | Home Automation
    • Motion Sensor Control ...
    19. Motion Sensor Control LED
    • Motion Sensor Control ...
    20. Contactless Doorbell | Home Automation
    • Contactless Doorbell |...
    Music: www.bensound.com
    ♥ Facebook: / techtrendsshameer
    ♥ Instagram: / tech_trends_shameer

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

  • @petrolAura
    @petrolAura ปีที่แล้ว +2

    So cool!! It will helps me a lot! Thank you very much. Have a nice day😄

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

    Hello there , i put a bmp image in the sd card and make sure the name is true, but unfortunatelythe tft display a white screen and when i monitor the serial monitor i got the file not found !!
    Any help please?

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

    im getting an sd reading error using an arduino MEGA, what could I do to fix it ?

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

      Please remove and insert again. If problem still persists, please try with another SD card.

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

    At the end of the code there are functions What is the function of minions Or how do I find an explanation for them??

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

    Thank you very much. Just a question, can I use the same way to display a video? mp4?

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

      Good Question. But I haven't tried that. You can try the same by just place the video file in the same location and change the file name and try.

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

      @@TechTrendsShameer Thank you

  • @bygrvin7526
    @bygrvin7526 2 ปีที่แล้ว +2

    why my TFT always white screen if i aplouding BMP, but If i aplouding text is working

    • @TechTrendsShameer
      @TechTrendsShameer  2 ปีที่แล้ว

      Can you check whether the image path is correct?

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

      @@TechTrendsShameer yes, the photo has been read on the arduino uno but still white screen. is the problem with the Arduino Uno?

    • @TechTrendsShameer
      @TechTrendsShameer  2 ปีที่แล้ว

      @@bygrvin7526 Can you please share the code to my instagram?

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

      @@TechTrendsShameer what your Instragram?

    • @TechTrendsShameer
      @TechTrendsShameer  2 ปีที่แล้ว

      @@bygrvin7526 instagram.com/tech_trends_shameer

  • @davidsantiagogalvan9592
    @davidsantiagogalvan9592 2 ปีที่แล้ว +2

    Is there a way you can do it without any card??

  • @danidev-n8c
    @danidev-n8c 3 หลายเดือนก่อน +1

    It is possible to show the images faster? Without a transition?

    • @TechTrendsShameer
      @TechTrendsShameer  3 หลายเดือนก่อน

      Yes. Reduce the delay in the code.

    • @danidev-n8c
      @danidev-n8c 3 หลายเดือนก่อน

      @@TechTrendsShameer Ok, thank you

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

    I need to do it with a circular tft display and I need the micro SD too. Can I do the same as now, but the micro SD is not in the monitor? (am I clear?)

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

    I'm getting these errors. I received similar errors, when trying a similar sketch that displays slideshow images. I'm wondering if there is a high-level library that I'm missing from the Uno. I'm using an Uno from Elegoo. Any idea what I need to do to correct this? Thanks!
    C:\Users\Scott\Desktop\slideshow2\slideshow2\slideshow2.ino: In function 'void loop()':
    C:\Users\Scott\Desktop\slideshow2\slideshow2\slideshow2.ino:75:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    bmpDraw("slide1_example.bmp", 0, 0); //Calling the bmpDraw function ("Name_of_your_image.bmp",x,y) (x,y) is the starting position of the picture drawing
    ^
    C:\Users\Scott\Desktop\slideshow2\slideshow2\slideshow2.ino: In function 'void bmpDraw(char*, int, int)':
    C:\Users\Scott\Desktop\slideshow2\slideshow2\slideshow2.ino:112:40: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
    if ((bmpFile = SD.open(filename)) == NULL) {
    ^~~~
    Sketch uses 25228 bytes (78%) of program storage space. Maximum is 32256 bytes.
    Global variables use 1136 bytes (55%) of dynamic memory, leaving 912 bytes for local variables. Maximum is 2048 bytes.

  • @balashanmugam.k8072
    @balashanmugam.k8072 6 หลายเดือนก่อน

    Respected sir,
    I am getting the blank white screen after compleating all the steps can oyou please check.

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

    Hello! Thank you for sharing your work. Unfortunally, I don´t see the image on my screen, but looking at the serial monitor everything seems OK. I have a 480x320 screen. Could you help me out? Thank you

    • @TechTrendsShameer
      @TechTrendsShameer  2 ปีที่แล้ว

      Can you check the file type of the image?

    • @tomasvolpe
      @tomasvolpe 2 ปีที่แล้ว

      @@TechTrendsShameer I managed to solve the issue with my program! It was a problem with the libraries of my particular screen. Thanks anyway for replying. I subscribed to your channel. Have a nice day!

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

    I tried your code but in serial monitor it's showing file not found even if the file name is correct

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

      Did you copied the full code from the link given in description?

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

      @@TechTrendsShameer Yes i did, I've edit a little bit, according to my filename

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

      ok

    • @MiG-25IsGOAT
      @MiG-25IsGOAT 10 หลายเดือนก่อน

      @@TechTrendsShameer Dude didn't answered

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

    can i do the same with esp32..??????/

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

      I haven't tried this. Will try and let you know.

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

      @@TechTrendsShameer ok thanks

  • @alex-joesph
    @alex-joesph ปีที่แล้ว

    I have an issue with this project the all is good but on serial monitor showing image not found please help me because this 😢is my college project

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

      same problem brother, find a fix?

    • @alex-joesph
      @alex-joesph 11 หลายเดือนก่อน

      @@infwin5944 yes I replace the image with sample image and its work

  • @angelayi6276
    @angelayi6276 5 หลายเดือนก่อน

    I followed your tutorial but it only shows white screen

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

    Can display multiple images ?

    • @TechTrendsShameer
      @TechTrendsShameer  3 ปีที่แล้ว +2

      Yes you can display. Please modify the below section in the code and add those images in the SD Card.
      void loop()
      {
      bmpDraw("image1.bmp", 0, 0);
      delay(2000);
      bmpDraw("image2.bmp", 0, 0);
      delay(2000);
      bmpDraw("image3.bmp", 0, 0);
      delay(2000);
      }

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

      @@TechTrendsShameer thank you

    • @TechTrendsShameer
      @TechTrendsShameer  3 ปีที่แล้ว

      Please check the description to get the program link

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

    How rtc ds3231 on tft?

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

      Can you send the code?!

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

    I was able to get this working. I had a bad SD card initially. I was able to get this working, but is there something in the code that can be altered to increase the image refresh rate? The images take about 8 seconds to load on the screen. Is it possible to cut that down to about 2-3 seconds?

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

    Where is a code ??

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

      Check video description

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

      @@TechTrendsShameer
      I didn't find it🥺🥺

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

      ...

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

      Its in the video description under Source Code. I am not sure where you are checking

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

      Its in the video description under Source Code. I am not sure where you are checking