Images to display on an arduino lcd screen? - SOLVED

Hello, I was curious. If it is possible to kill an arduino read and writes by taking images of a desktop pc and displaying it on an arduino lcd screen?

What. I mean is if I keep taking images and overwriting the original image to upload to an arduino can I kill the arduino onboard eeprom by rapidly updating that image from the computer?

Joseph

Each EEPROM memory location of an Arduino has a limited number of times that it can be written to so, yes, by repeatedly writing to EEPROM you could destroy it. However, you do not need to write to EEPROM in order to display an image

Having said that, what size will the image be and what is the resolution of the LCD screen compared to that of a PC ?

Which Arduino board are you using ?

1 Like

Hey Bob, would it be better to keep the image on the pc and just updated it on the arduino lcd screen be better?

The only problem I would have is how to get the image from the pc to the arduino to be displayed.

Start with some basic data about what you are trying to do

For instance, what size will the image be ?

1 Like

This is what I’m trying to do is make a photo gallery. I have a arduino zero with a 3.5 inch screen.

I would like to have a folder on the pc I can drag and drop the images on to it and have the arduino with the lcd to display them without me having to put an sd Carson the arduino and keep popping it out and into a pc just to update or add more photos.

The size of the screen being 3.5 inches tells us nothing about the images that you want to display.

You say in your original post

What resolution are these snapshots and what is their size in bytes ?

you would need to establish some kind of communication between PC and your arduino.

  • on PC side a service which checks the folder for changes and pushes the changed picture to the Arduino.
    or as an alternative
  • host a webserver on your PC, put the pictures on a webserver folder and let the Arduino fetch data from the webserver.
    but I guess it's simpler if you just
  • make a webserver on the Arduino and "upload"(POST) new pictures directly from the PC to the Arduino.
1 Like

I haven’t gotten that far yet to figure it all out. I haven’t put it into practice. Right now it’s just me figuring things out in my head to see if I can do it or not. The images I have right now and high resolution images from my phone I took photos of my family.

I thought about having a webserver On my pc however it will create a mess with another webserver application I’m running now.

As far as a pc service to go from the pc to the arduino that is something I do not know how to do and i be able to push it to an lcd screen on the arduino itself.

Edit: is there an example to to get it from a webserver that’s not local to display on an lcd screen of the arduino?

Edit2: new problem that means. I would need an Ethernet or a wireless connection to the internet and that I do t have.

Just an update. I have been searching online page after page and I found this.

https://forum.arduino.cc/t/send-bitmap-on-pc-to-arduino-from-serial/638348/11

Would this work? Pushing an image to the arduino lcd.

UKHeliBob I see you comment on it as well.

start with a simple http client, fetch data and display the information on the LCD.
If this works, expand the example to fetch binary / picture data and put it on the LCD.

if you are limited to a serial connection between arduino and PC transfer the picture data in binary to the Arduino.

1 Like

What resolution are the images ? The images are likely to be many megabytes in size. How big are they and what format are they in ?

What resolution is the screen attached to the Arduino ? The answer is not 3.5 inches. How many pixels high and how many pixels wide is the screen ?

1 Like

The images are all over the place. Some are low quality and some are high. But to be honest I don't know how to tell what resolution they are at.

Edit: I can convert them or I can resize them if need to be.

Yea I’m stuck and sticking with local connection.

If you are using Windows the right click on a filename and choose Properties

I imagine that the Mac and Linux have something similar available

One more time

1 Like

A lot of my photos are from my phone and they are mostly all the same size.

And the resolution of the LCD screen on the Arduino is ...... ?

1 Like

It would make sense to convert them before you transfer them to the target.
What's your favourite programming language on PC/MAC?

1 Like

480x320. I can resize the images to fit the screen.

Before you go any further I suggest that you resize one of your images to 480x320 and display it on the PC to see whether you are happy with the results

1 Like