diff --git a/custom_components/esphome_designer/frontend/hardware/guition-esp32-s3-jc3248w535.yaml b/custom_components/esphome_designer/frontend/hardware/guition-esp32-s3-jc3248w535.yaml new file mode 100644 index 00000000..33095ea1 --- /dev/null +++ b/custom_components/esphome_designer/frontend/hardware/guition-esp32-s3-jc3248w535.yaml @@ -0,0 +1,97 @@ +# ============================================================================ +# ESPHome YAML - Generated by ESPHome Designer +# ============================================================================ +# TARGET DEVICE: Guition JC3248W535 +# - https://www.guition.com/icms/upload/fb081940d6fc11f09850077a33e1404f/FTPData/UEditor/file/2026121/1768961095054/JC3248W535%20Specifications-EN.pdf +# - Display Platform: axs15231 +# - PSRAM: Yes (octal, 80MHz) +# - Touchscreen: axs15231 (I2C) +# - Framework: ESP-IDF +# Name: Guition JC3248W535 +# Resolution: 320x480 +# Shape: rectangle +# ============================================================================ +# +# ============================================================================ +# +# SETUP INSTRUCTIONS: +# +# STEP 1: Copy the Material Design Icons font file +# - From this repo: resources/fonts/materialdesignicons-webfont.ttf +# - To ESPHome: /config/esphome/fonts/materialdesignicons-webfont.ttf +# (Create the fonts folder if it doesn't exist) +# +# STEP 2: Create a new device in ESPHome +# - Click "New Device" +# - Name: your-device-name +# - Select: ESP32-S3 +# - Framework: ESP-IDF (Required for this device) +# +# STEP 3: PASTE this snippet into your device YAML +# - Paste this snippet at the end of your configuration. +# - System sections (esphome, esp32, psram, etc.) are auto-commented +# to avoid conflicts with your existing setup. +# +# ============================================================================ +substitutions: + name: "guiton-jc3248w535-esp32" + friendly_name: 'Guition JC3248W535 ESP32-3.5" ' + device_description: "Guition JC3248W353 ESP32-3.5-inch resistor touch 320x480" + project_name: "Nokius.ESPHomeDesigner_Guition_JC3248W535_320x480" + project_version: "1.0.0" + +esphome: + friendly_name: $friendly_name + name: $name + project: + name: "${project_name}" + version: "${project_version}" + +esp32: + board: esp32dev + 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 + +spi: + - type: quad + clk_pin: 47 + data_pins: [21, 48, 40, 39] + +output: + - id: gpio_backlight_pwm + platform: ledc + pin: 1 + +light: + - id: backlight + name: Backlight + platform: monochromatic + output: gpio_backlight_pwm + restore_mode: ALWAYS_ON + icon: mdi:lightbulb-on + +i2c: + sda: 4 + scl: 8 + frequency: 400kHz + +touchscreen: + - id: my_touchscreen + platform: axs15231 + +display: + - id: my_display + platform: mipi_spi + model: JC3248W535 + data_rate: 40MHz + update_interval: 0s + auto_clear_enabled: false + lambda: |- + # __LAMBDA_PLACEHOLDER__