Big characters using 20x4 LCD with EspHome?

Hi to all!

I want to use a 20x4 LCD display to show HA info (of course :joy:) and as wall clock too.

Is there a way to show, i.e. a “big numbers clock” as a display page, using all display lines with EspHome? I have found some projects to Arduino, but i want to use It with a esp32 mcu and alternate “big clock” page with “normal text” pages.

Like this.

Thanks in advance if someone can help me.

Regards.

Dani

It might help if you posted a link to the actual LCD display board with specs. There is a bunch of display hardware already supported, and it’s possible one of those setups will work with this board:

I have a lot of Espressif modules running with esphome on my home setup yet, one of them with those display.

It works flawlessly but i want to show a big numbers clock as a display page, like previous post picture.

I’m not sure how anyone can help you with just a picture of the display. Without the display information this feels like just a guessing game. Could you at least show the YAML you’ve tried to get it working?

Assuming the display hardware is supported this should be possible. The ESPHome LCD display engine supports up to 8 user defined characters. Combine those with some lambda code and it should be fairly easy.

IDK if it will work 100% but, this is what you need.

Here is a pixel generator I found to help you.
https://omerk.github.io/lcdchargen/

I made a “0” and that arrayor 8 lines starting with 0b… Those 8 lines will create the character “0” so those are what you need.

0b11111,
	0b11111,
	0b11011,
	0b11011,
	0b11011,
	0b11011,
	0b11111,
	0b11111


The documentation sais there is a limit of 7 characters though…

The LCD display has the possibility to define up to eight user defined characters occupying the characters `0` to `7` and mirrored at `8` to `15`

Sorry if my English can make any mistakes or missunderstand.

I have a working display yet, but “1 line text” is too small and make it hard to read at 2-3 meter of distance. Not able to use It as advanced wall clock…

In fact, all i know is if exists any project that can be use a 20x4 display to show larger numbers working with esphome, mixed with standard size text too, by chasing between pages or scrolling text, or large numbers…

Seeking at github, i’ve found same working projects (esp32 or esp8266 + 20x4 display) that combines short and large numbers, scrolling text, etc. About this, obviously can be done using that devices… This have a great potential to do it:

There are some pics inside repo files:

But, how can integrate it with esphome and HA? Any ready-to-deploy idea?

Hope It helps to explain my idea.

Thanks in advance :smile:

You need to write the code using yaml and lambda (C++) using the ESPHome environment. If you can program using the Arduino framework you should have no issues.

No. The resources that have been linked a couple of times above show you how to connect and write to a LCD, and how to create the special characters that the clock in your picture uses.

We are always happy to assist - but you will need to start it off by using ESPHome to, for starters, just display something on a LCD, then stuff from sensors or HA, then your clock. Start small and work your way up and you will learn as you go.

I normally dont like to discourage people from what they’re working on for something else just because its easier but, this may be a good scenario for doing that.

Displays are relatively cheap and you could get a better lcd display where you can easily configure how things are displayed and their size and they’re actually intended to do things like that where older lcd displays use a specific character size and character space and not really intended for what you want and so it requires more effort to make it do work in a way that is unintended. Its just an unnecessary fight you will have to do, just for something so minor… Pick your fights and dont try fighting silly things.

I would strongly suggest you save your lcd display for a future project that it woul be appropriate for and for this one, go buy a more capable lcd/tft display. You can buy those cheap yellow ones with a built-in esp32 for 15$ and they’re really good displays!

I have one of these and the sky is the limit as far as creatively displaying what you need.