New boards Wishlist

7.0inch ESP32-8048S070

bigwaveSuggested this wish ·

Board or product name and model

ESP32-8048S070

Link to the product listing or datasheet

www.aliexpress.comhttps://www.aliexpress.com/item/1005006625238405.html?spm=a2g0o.order_list.order_list_main.128.24d31802nKedPJ

Display controller and resolution, if known

mipi_rgb 800*480

Touch controller, if known

gt911

Do you own this board and can test it?

Yes, I have it and can test

Anything else

With the following ESPHome yaml the screen comes on and connects to Tessera.

Taps are registered but ignored [I][touch:452]: tap on sensor.cpu_temperature_1 ignored: moved 0 px (limit 0)

Not all the configured tiles are displayed Configured

Image

Displayed

Image
esphome:
  name: "sunton-esp32-8048s043c"
  friendly_name: "Sunton ESP32 800*480 4.3"
  build_flags: "-DBOARD_HAS_PSRAM"

esp32:
  board: esp32-s3-devkitc-1
  variant: esp32s3
  flash_size: 16MB
  framework:
    type: esp-idf
    sdkconfig_options:
      COMPILER_OPTIMIZATION_SIZE: y
      CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240: "y"
      CONFIG_ESP32S3_DATA_CACHE_64KB: "y"
      CONFIG_ESP32S3_DATA_CACHE_LINE_64B: "y"
      CONFIG_SPIRAM_FETCH_INSTRUCTIONS: y
      CONFIG_SPIRAM_RODATA: y
psram:
  mode: octal
  speed: 80MHz

logger:

i2c:
  - id: bus_a
    scl: GPIO20
    sda: GPIO19

display:
  - id: my_display
    platform: mipi_rgb
    model: ESP32-8048S070
    color_order: RGB
    invert_colors: True
    update_interval: never
    auto_clear_enabled: false # takes 2.8 seconds to clear the display
    dimensions:
      width: 800
      height: 480
    de_pin: 41
    hsync_pin: 39
    vsync_pin: 40
    pclk_pin: 42
    pclk_frequency: 12MHz
    data_pins:
      red:
        - 14        #r1
        - 21        #r2
        - 47        #r3
        - 48        #r4
        - 45        #r5
      green:
        - 9         #g0
        - 46         #g1
        - 3         #g2
        - 8        #g3
        - 16        #g4
        - 1         #g5
      blue:
        - 15         #b1
        - 7         #b2
        - 6        #b3
        - 5         #b4
        - 4         #b5
touchscreen:
  platform: gt911
  id: ts_touch
  transform:
    mirror_x: false
    mirror_y: false

output:
  - platform: ledc
    pin: GPIO2
    id: gpio_backlight_pwm


    
substitutions:
  FONT_DIR: "https://raw.githubusercontent.com/MaxGramser/homeassistant_espscreen/main/fonts"
  BOARD_ID: "sunton-esp32-8048s043c"
  DEVICE_NAME: "sunton-esp32-8048s043c"
  DEVICE_FRIENDLY_NAME: "Sunton ESP32 800*480 4.3"
  PANEL_W: "800"
  PANEL_H: "480"
  DISPLAY_DPI: "133.27890045360687"
  ROTATION_LANDSCAPE: "0"
  TOUCH_SWAP_XY: "true"
  TOUCH_MIRROR_Y: "true"
  GRID_COLS: "4"
  GRID_ROWS: "4"
  GRID_COLS_PORTRAIT: "2"
  GRID_ROWS_PORTRAIT: "7"
  LVGL_BUFFER_SIZE: "12%"         
  LANGUAGE: "en"
  LVGL_ROTATION: "0"
  TOUCH_MOVE_LIMIT_PX: 0

api:
  encryption:
    key: !secret key
ota:
  - platform: esphome
    encryption:
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

external_components:
  - source:
      type: git
      url: https://github.com/MaxGramser/homeassistant_espscreen.git
      ref: main
      path: components
    refresh: 6000s
    components: [smart_display]

packages:
  tessera_core:
    url: https://github.com/MaxGramser/homeassistant_espscreen
    ref: main
    file: packages/core.yaml
    refresh: 6000s
  hardware:
    url: https://github.com/unic8s/homeassistant_espscreen
    ref: main
    file: packages/hardware/esp32s3-rgb.yaml
  cells:
    url: https://github.com/MaxGramser/homeassistant_espscreen
    ref: main
    file: packages/cells/6.yaml
  look:
    url: https://github.com/MaxGramser/homeassistant_espscreen
    ref: main
    file: packages/looks/standard.yaml
  touch:
    url: https://github.com/MaxGramser/homeassistant_espscreen
    ref: main
    file: packages/features/capacitive-touch.yaml
  backlight:
    url: https://github.com/MaxGramser/homeassistant_espscreen
    ref: main
    file: packages/features/backlight.yaml
  self_test:
    url: https://github.com/MaxGramser/homeassistant_espscreen
    ref: main
    file: packages/features/self-test.yaml

Originally shared on GitHubOriginal authors and dates are preserved.

View original

Discussion 1

Add a comment
MaxGramser

Thanks for the report and the working config, @bigwave! That made this one quick to add.

The board is now in ESP Screens as an experimental board: update ESP Screen Manager to 0.4.28 and pick Sunton · 7 inch (ESP32-8048S070) in New screen. You no longer need your own packages: list: the board file brings the display, the GT911, the backlight and the right grid (4 x 4 lying down, 2 x 7 standing up).

Both things you saw came from the hand-written YAML, not from the board:

  • Taps ignored: TOUCH_SWAP_XY: "true" and TOUCH_MIRROR_Y: "true" in your substitutions swapped the touch axes, so a finger landed on a different place than where you let go. Your board reports touch the right way round without them.
  • Not all tiles shown: packages/cells/6.yaml gives a screen six cards, but a 4 x 4 grid has sixteen cells. The board file includes cells/16.yaml.

The build and the renders pass here, but I don't have this board, so nothing has been seen on real glass yet. Could you install it through New screen (or reflash your existing screen with the new profile) and tell me:

  1. Colours correct and the picture stable across page changes and a cold start.
  2. Taps near all four corners, a slider drag and a swipe from the left and right edge to change pages.
  3. Brightness across its range, standby after the timeout and waking it by touch, a few times in a row.
  4. The Heap Free sensor (under Diagnostic) with a full page of tiles.
  5. Optional: the same once standing up (Rotation in the screen's settings).

docs/SUNTON8048S070.md has the details. Once it checks out I'll mark the board as working.


Got a screen running? Tell others which board you have and what works on the Tessera website. It helps everyone pick a screen that works.

Like my work? Consider buying me a coffee, much appreciated!

Original on GitHub

Add your thoughts, a screenshot or a useful link.

Markdown & basic HTML
Paste or drop images · URLs on their own line become previews0 / 10,000
Sign in with GitHub to commentYour draft stays in this browser tab.