코딩게시판

Modular easy button screen for ESPHome + LVGL on cheap touchscreen devices

작성자 정보

  • 최고관리자 작성
  • 192.♡.0.1 아이피
  • 작성일

컨텐츠 정보


  • 링크

  • 첨부


  • 본문

    Modular easy button screen for ESPHome + LVGL on cheap touchscreen devices

    Supported Devices

    • Guition ESP32-4848s040 4.0" with capacitive touch 120v/220v relays and built in power supply + USB-C AliExpress Link.
    • Guition ESP32-JC8048W550 5.0" with capacitive touch USB-C AliExpress Link.
    • Guition ESP32-jc4827w543C 4.3" with capacitive touch and USB-C AliExpress Link.
    • Sunton ESP32-8048S043 4.3" with capacitive touch and USB-C AliExpress Link.
    • Sunton ESP32-8048S050 5.0" with capacitive touch and USB-C AliExpress Link.
    • Sunton ESP32-8048s070 7.0" with capacitive touch and USB-C AliExpress Link.
    • Elecrow CrowPanel DIS05035H (v2.2) 3.5" with resistive touch and USB-C Manufacturer's Link.
    • Waveshare ESP32-S3-Touch-LCD-7 7.0" with capacitive touch and USB-C Manufacturer's Link.

    What is this???

    I set out to build simple, touch-enabled panels for lighting control and real-time information displays using ESPHome and Home Assistant. This library streamlines the process — with just a few lines of YAML, you can deploy responsive interfaces that combine both control and display functionality. Perfect for dashboards, room controllers, and other smart hardware projects.

    Install ESPHome on a build machine

    I use a lot of svg vector graphics. The latest ESPHome does not install svg by default. Use pip to install cairosvg. If you have pre loaded Home Assistant hardware or images this should already be installed.

    Use git to install this libary where your ESPhome YAML files are

    Grag a file from the demos directory that matches your screen and move it up with the rest of your ESPhome YAML files for your devicecs. For example if you have a Guition esp32-s3-4848s040

    Edit the file and change the name then build and deploy to your screen using serial or over Wi-Fi.

    Downloading the code in Home Assistant

    I use the File Manager Add-on to download and edit code from Git repos and the ESPHome Device builder to build the code and install the resulting images onto my ESP32 devices.

    File Manager Add-on

    ESPHome Device builder Add-on

    More information on supported devices

    SDL Display on host

    The SDL display platform allows you to use create an ESPHome display on a desktop system running Linux or MacOS. This is particularly useful for designing display layouts, since compiling and running a host binary is much faster than compiling for and flashing a microcontroller target system.

    Guition ESP32-4848s040 4.0" 480px * 480px Smart Screen

    This is a really great little screen. It has 120v/240v relays so it can control lights directly. guition-esp32-s3-4848s040-display_modular.yaml has a boot screen, a system for dimming the backlight at night and some basic buttons for controlling local and Home Assistant devices.

    Guition ESP32-4JC8048W550 5.0" 480px * 800px Smart Screen

    This is one of the best screens I have found so far. Bright IPS display, 16MB flash, Qwiic (i2c) port, speaker port and low cost

    Sunton ESP32-8048s070 7.0" 480px * 800px Smart Screen

    This is the largest and highest resolution screen available for a low cost. It has a very good touch screen and good dimmining ability. Very good for info displays.

    Guition ESP32-jc4827w543C 4.3" 272px * 480px Smart Screen

    Great screen with an very bright IPS display and dimming. You can get it on Ali for $20 USD. Only problem is it only has 4MB of flash. ESPhome only lets you use half the flash so you need to fit your code in 2MB. It even has a DAC + AMP and a connector for a speaker but try fitting the audio output code in 2MB!



    저렴한 터치스크린 기기에서 ESPHome + LVGL을 위한 모듈식 간편 버튼 화면

    지원되는 장치

    이게 뭔가요???

    ESPHome과 Home Assistant를 사용하여 조명 제어 및 실시간 정보 표시를 위한 간단한 터치 패널을 개발해 보았습니다. 이 라이브러리는 프로세스를 간소화합니다. YAML 파일 몇 줄만으로 제어 및 표시 기능을 모두 결합한 반응형 인터페이스를 구축할 수 있습니다. 대시보드, 룸 컨트롤러 및 기타 스마트 하드웨어 프로젝트에 적합합니다.

    빌드 머신에 ESPHome 설치

    저는 SVG 벡터 그래픽을 많이 사용합니다. 최신 ESPHome에는 기본적으로 SVG가 설치되지 않습니다. pip를 사용하여 cairosVG를 설치하세요. Home Assistant 하드웨어나 이미지가 미리 설치되어 있다면 이미 설치되어 있을 것입니다.

    ESPhome YAML 파일이 있는 곳에 git을 사용하여 이 라이브러리를 설치하세요.


    첨부 파일을 스킨보드에 구성 PDF보기( W:\g5\skin\board\BS4-Basic-Webzine_11q_pdf_php82\view.skin.php + view_pdf.php구성)



    관련자료

    댓글 0
    등록된 댓글이 없습니다.

    최근글


    새댓글