Draw an image on display

Dear all,

I'm new here and also in arduino technology.
I would like to know if there is any way to lcd or oled display an image on a display which will come from the serial port. Lets say 600x600 or 720x720.
A new image will arrive in serial in time interval.

Any example?

Thank you!!!

Yes, that is possible.

The details depend on the Arduino you choose, the display you choose and the image format. If you have specifics, post them.

Please read the "How to get the best out of this forum" post for hints on posting.

Which image format is better? .bmp .jpg or else?

The image format does not matter.

The Arduino will need to be convert the image into the proper format for the display, and that tends to require advanced programming skills. There is no general purpose library for the task.

Thanks!!!

Potentially, the MCU can draw a BMP file, or RGB file ... on display.
A JPEG has to be "decoded" and converted into such an RGB file.

Just check your API which file format you can display (as pixel picture, BMP). Also, which RGB format is needed for display (e.g. RGB888 vs. RGB565).

Sending a JPEG is faster (shorter file) but it cannot displayed directly (has to be "decoded").
Also: if BMP file sent is larger as display - you have to shrink it (scale down).

I think 16 bit and I think this is rgb565 format.

Yes, RGB656 is a 16bit format (16bit for color coded single pixel). (sorry: 656 not 565 - even it would be possible as format).
RGB656

All depends more what OP can display on LCD (which API functions available and which format for pixel files).

The correct format name is RGB565, not the 656. This digits means the R G B color bits, so if the data is 16 bits - it can't be 656 (6 + 5 + 6 = 17 bits )

It is a quite big image for most arduinos. It will take 600 x 600 x 2bytes = 720 Kbytes for only one image. Take note that the Arduino Uno has only 2 kBytes RAM
Most popular TFT screens, that used in the arduino world, has dimensions 240x320 or 320x480

First of all I would like to thank you.

So, is not possible to draw a 600x600 image on lcd only with arduino.
If I add serial sram like 24lc1024 cascaded spi to catch the memory that needed the the system goes slow?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.