How do you design a display?

I’m trying to create a simple weather / clock with a ILI9341. How do people go about this? Just trial and error, or are there some templates out there i haven’t found yet.

This is a good starting point. The display function will work for different types of displays.

Pen and paper with squares.
First i sketch the things i find importent like a big clock, medium weather icon en small date. Adjust en repeat. That can be done in a few minutes. Then i know the overal layout and I start building the gui.

This is my first time building a display, so I am trying to get my head around the x/y coordinates thing. I am just using a very simple display with no touch features.

Well, with the standard display functions you also get simple yet very basic output functions. Coordinate based (x,y), basic text and shape drawing. So that sounds like a fit :wink: It is what the e-ink display I pointed you at uses.

If you want more sophisticated, but more complicated functionality, look at LVGL.

I saw that while learning, and that feels like the run stage. I am currently crawling. I got a very basic display that I like. Basically a bathroom clock with current and high temperature and conditions on it. This was my ultimate goal, but I know I can do so much more.

Then do baby steps and learn on the go.

1 Like

There is an online ESPhome Display Designer.
https://jnan.co/tools/displaysim/
This might help, at least with testing.

I did use this website to help get me started and planning my coordinates.

Make sure you’re taking advantage of the documentation and examples there ans also, don’t be scared about doing trial and error for as many times as it takes you to learn and understand things better!

IDK why some folks are so worried aboug trying to compile/flash the board because they’re making it far to overcomplicated in one sitting or it must be perfect first and they’ll get so flustered trying to operate like that and they paralyze themselves from actually making any progress!

Sometimes, the only way you’re going to know 100% is by trying it out and checking! These boards can be flashed many many times and thats something I don’t even have concern for since they typically have lasted me multiple years for many of them.