How to Display Images on your Arduino SPI LCD Screen - Easy Version!

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 พ.ย. 2024

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

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

    Impeccable timing. I was just about to look into displaying an image from SD card and I see this in my subscriber feed. Spot on! Looking forward to your next video as well with the custom bitmap loading, decoding and displaying, as well as the file system.
    Thanks!

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

      Glad it was helpful! Bitmap decoding video is just processing in TH-cam at the moment.

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

    Very good. I appreciate your video. Thank you for sharing and taking the time to help us out!

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

      Glad it was helpful!

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

    I have tripple checked the wiring and only get an all white screen with the serial error being printed
    "SD begin() failed"
    Anything else I could be doing wrong? Is there any way to check that the screen is working in other ways by trying to draw a square or something for example? Is it possibly my SD card is not formatted right? Any other ways to check for the error?
    Thank you!

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

      I have a couple of othet videos that focus on getting the screen and touchpanel working. Try those to confirm the device is OK.

    • @jumbo999614
      @jumbo999614 13 วันที่ผ่านมา

      Are you using ESP32 with the screen? Are you using breadboard? Check your breadboard and wires.
      I got everything work except SD card when using the screen with ESP32/NodeMCU ESP8266.
      I found the solution on the internet that require you to solder the tft board that bypass voltage regulator.
      I haven't tried it because I'm afraid it might fry both of my ESP32 and TFT screen.Another method is store you files on ESP32 internal memory using LittleFS library and avoid all SD troubles.

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

    With the BMP files on the SD card, is there a need to include the forward slash ("/logo.bmp") before the file name as you did...???? ....or can we just name it as ("logo.bmp") ...???
    I now have an ILI9341 TFT with SD card and a DS3231 RTC and trying to start on the birthday clock.
    Idea is, as before, look at names and dates in a struct and display the photo of the person who's birthday it is, on the given day.
    If I just write the image to the screen the one time, will it then stay there until I write something else when the date no longer matches?

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

      The backslash is probably not needed - try it to find out. Sounds like a great project. Yes, the image will stay there until you write something else to the screen, or the screen is reset or powered off.

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

      @@BytesNBits Thanks....yes, project is a bit over my head but will see how I go. Intention is to break the programming up into sections and combine into one as I get sections to work successfully.

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

    Hello is it possible to display an image file on the computer to the arduino lcd screen without having to upload to eeprom or sd card?

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

      Yes, but you'll need to code it. Basically you can convert an image file to a base64 text string, send that down to the arduino over the serial channel and have it decode it back to the image data. There may well be libraries already written to do this sort of thing.

  • @tubexcriolina
    @tubexcriolina 21 วันที่ผ่านมา

    Hello. Nice video. But for Arduino Mega it would be great

    • @BytesNBits
      @BytesNBits  20 วันที่ผ่านมา

      The code should work on the Mega. You just need to alter the IO pins it uses to make sure you're using the SPI channel on the Mega, etc.

    • @tubexcriolina
      @tubexcriolina 20 วันที่ผ่านมา

      @BytesNBits Hi. Thanks for your answer but its doesnt work, the SD card wont start. I think i have to change the SD library config files or have to use the Arduino memory to insert the icons i need for my project.

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

    Nice!

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

      Thank you! Cheers!

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

    Could not find complete code on the link "circuit diagrams and code".

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

      The download button was hidden down the bottom and with the wrong text on the button. It's a bit more obvious now. Thanks for finding that. Hope you get it working.

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

      Been working on changing one of my projects, birthday clock, to display peoples photo on given dates from an RTC and looking at how you display the bmp. See how it goes....Cheers@@BytesNBits

  • @diyk-h-m2423
    @diyk-h-m2423 3 ปีที่แล้ว

    Nice!
    very thank you sir

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

    Hello sir, does this work with an esp32? I am completely new to this and struggling with my project.

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

      Hi. Yes. The Arduino library should be fine but you'll need to remap the pins to the correct ones for the ESP32.

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

      @@BytesNBits Thank you so much for replying sir, a really helpful video..

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

    For everyone in this proyect using a ESP32 instead of a Arduino uno, replace this:
    if(!SD.begin(SD_CS)){
    with this:
    if(!SD.begin(SD_CS, SD_SCK_MHZ(25))) {

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

      Thanks for the code. That's a great help.

    • @jumbo999614
      @jumbo999614 13 วันที่ผ่านมา

      what is sd_sck_mhz(25)? what does it do?
      Anyway, it gives me error. sd_sck_mhz not declared.

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

    mine says SD begin() failed. why is that?

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

      Make sure you've got all the libraries up to date and included into your sketch at the top of the listing. Then make sure all the pins are correctly assigned. After that it should compile and run.

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

    I bought a TFT SD7735S display which appears the similar to yours here (not touch screen thought) but, even trying 3 different software sketches, I cannot get anything to display other than a screen full of minute different coloured pixels.
    The software is correctly loading the 128 x 160 bmp images (24 bit) from the sd card as far as I know given the readout from the serial monitor.
    I was hoping to use this or any slide show in a birthday clock however cannot get past the first requirement.
    Original sketch writer did not link to a particular library which I think could be the problem.
    Also all attempts to get an answer have been zero reply.
    Can only imagine the number of libraries out there and getting the correct one is like a needle in a haystack.
    video I used ...... th-cam.com/video/X8syt55ITUo/w-d-xo.html

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

      Where I load a library for the ILI9341 you'll need to load one for the SD7735S. The library I used may well have the code for your chip, you'll have to check the documentation. Once you've got a working driver you should be OK.