Waveshare ESP32 7” touchscreen LCARS

Just thought I’d share my setup with the Waveshare 7” touchscreen running an esp32. It’s using the LVGL graphics layer and I tried my best to get it looking like the LCARS interface from Star Trek.

I’m using a nearby light sensor to adjust display brightness and a mmWave sensor to turn it off and on when you get near it. This is via home assistant automations.

3 Likes

I would say you’ve nailed it pretty well.

That’s amazing! can you post your code? Also do you have the mmWave sensor attached to the Waveshare?

Also the Waveshare 7” touchscreen does not have a way to control the LED backlight? Did you do a hardware mode to get the display brightness working?

Is this the best solution to add a HA control screen to an entryway?

You can pretty easily control the Waveshare brightness. It’s not a hardware mod exactly, but you do have to solder something.

This seems to have disappeared from GitBub within the last few days. Will you be restoring it there at some point? I loved the muted blue/green/gray interface colors I saw in a different post elsewhere.

I wouldn’t be surprised if Paramount submitted a copyright notice to GitHub. The OP would probably have to get a lawyer and try and claim a fair use exemption. That’s expensive and has a small likelihood of success.

This web site has a great CSS bases LCARS implementation. It has been up for 5 years. I have always wondered how he keeps CBS from shutting it down.

1 Like

Seconded on putting the github repo up again, the ownership of the interface is under some dispute, perhaps not referencing LCARS directly may help if that’s why it was taken down.

I took a clone previously, and have substantially reworked the code including:

Make it a little easier to adjust for different devices/button names

Added support for backlight on/off (not brightness) without a hardware mod (you still need the mod for the brightness control to work) but if you just want to sleep the screen then it’s not needed.

Added support for a PIR presence sensor on the device rather than as you had…integrated into HA from another device.

Added anti-burn logic, not sure if this display actually needs it…but added it whilst the backlight is off just in case. Even on LCD’s it can help.

Fixed an issue with timezones and summertime support, if like me your ESPhome server runs on UTC

Also remixed a wall mount to be portrait and fit this display, we could add that to this repo or link the thingyverse page in the readme if you wanted.

I didn’t get time to fork, but if you put it up again I will and send a PR

5 Likes

Any chance you could share a GitHub repo with the LCARS-specific stuff out? It sounds like you’ve made some really good improvements.

I saw a YouTube video the other day where somebody was suggesting building a community around a cheap yellow touch display and it would be nice to do something similar for using this display with HA.

1 Like

Hi,

I’m struggling to find the best practice for using the anti-burn feature. Can it be run for long periods, e.g. when no one’s home or during the night?

Thanks!

Yes it’s best to use it when the screen is not being used. I trun it on from midnight to 5am. I also turn off the backlight at this time. I have it set so if you touch the screen it will come back.

Your screen will last much longer and not get burned in as much if you enable this feature.

2 Likes

Great, thanks!

Have you been able to connect a small speaker for touch sounds? I’ve seen a comment about using the SD card pins, but that’s all I’ve been able to find.

I love your okudagram.

Thats the same thing my sister always tells me too!

1 Like

No I have not tried that. It would require some soldering to some very small pins. I have been testing with a 7" “Cheap Yellow Display” that has a built in DAC and that works well.

I’ve noticed the repo for this has died. Curious if the lawyers managed a victory over enthusiastic fans, or if the project has simply moved.

I decided to take it down myself as I didn’t want to upset anyone.

Hi Aaron, I think your work is pretty awesome. I saw this post a month ago and while I’m pretty novice in HASSIO (I can write basic updates to my YAML file and have integrated most the house…) immediately jumped online and ordered the Waveshare 7" touch screen ESP32-S3. It’s the easter holidays here in AU and it’s just arrived, I’ve just sat down to start this project… only to be met with this devastating news… ! If you use Discord do you think we could have a bit of a chat? My Discord username is: .tolarian (noting the fullstop at the start).