

CONTINUE をクリックします。
New Device Setup をクリックしてデバイス作成ウィザードを開きます。
NEXT をクリックします。
ESP32S3 をクリックします。
SKIP をクリックして暗号化キーの設定をスキップします。
EDIT をクリックして YAML エディターを開き、デバイス設定をカスタマイズします。
esp32:
variant: esp32s3
flash_size: 8MB
cpu_frequency: 240MHz
framework:
type: esp-idf
sdkconfig_options:
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240: "y"
CONFIG_ESP32S3_DATA_CACHE_64KB: "y"
CONFIG_ESP32S3_DATA_CACHE_LINE_64B: "y"
psram:
mode: octal
speed: 80MHz
i2c:
- id: bsp_bus
sda:
number: GPIO45
ignore_strapping_warning: true
scl:
number: GPIO0
ignore_strapping_warning: true
scan: true
- id: ext_bus
sda: GPIO38
scl: GPIO39 i2s_audio:
- id: i2s_audio_bus
i2s_lrclk_pin: GPIO6
i2s_bclk_pin: GPIO8
audio_dac:
- platform: es8311
id: es8311_dac
i2c_id: ext_bus
bits_per_sample: 16bit
sample_rate: 48000
use_microphone: false
use_mclk: false
speaker:
- platform: i2s_audio
id: i2s_speaker
i2s_audio_id: i2s_audio_bus
i2s_dout_pin: GPIO5
dac_type: external
audio_dac: es8311_dac
sample_rate: 48000
channel: left media_player:
- platform: speaker
name: "${friendly_name}"
id: speaker_media_player
volume_min: 0.5
volume_max: 0.8
announcement_pipeline:
speaker: i2s_speaker
format: FLAC
sample_rate: 48000
num_channels: 1 spi:
clk_pin: GPIO15
mosi_pin: GPIO21
font:
- file: "gfonts://Roboto"
id: font_medium
size: 14 pi4ioe5v6408 コンポーネントを追加
switch コンポーネントを追加
pi4ioe5v6408:
- id: pi4ioe5v6408_hub
i2c_id: ext_bus
address: 0x43
switch:
- platform: gpio
name: "Speaker Enable"
id: speaker_enable
pin:
pi4ioe5v6408: pi4ioe5v6408_hub
number: 0
mode:
output: true
icon: "mdi:volume-high"
restore_mode: RESTORE_DEFAULT_ON lp5562:
id: lp5562_led
i2c_id: bsp_bus
use_internal_clk: true
white_current: 17.5
output:
- platform: lp5562
id: lp5562_white_channel
lp5562_id: lp5562_led
channel: white
light:
- platform: monochromatic
name: "LCD Backlight"
id: lcd_backlight
output: lp5562_white_channel
icon: "mdi:television"
restore_mode: RESTORE_DEFAULT_ON
display:
- platform: mipi_spi
id: atoms3r_lcd
model: ST7789V
dc_pin: GPIO42
reset_pin: GPIO48
cs_pin: GPIO14
data_rate: 40MHz
update_interval: 1s
dimensions:
height: 128
width: 128
offset_width: 2
offset_height: 1
invert_colors: true
rotation: 180°
lambda: |-
it.fill(Color::BLACK);
it.print(
it.get_width() / 2,
it.get_height() / 2,
id(font_medium),
Color::WHITE,
TextAlign::CENTER,
"Audio-3.5 Base"
); YAML 設定の編集後、右上の SAVE をクリックし、次に INSTALL をクリックします。
ポップアップダイアログで Manual Download を選択します。
Download をクリックし、Factory format (Previously Modern) を選択してファームウェアファイルをローカルに保存します。
CONNECT をクリックします。
INSTALL をクリックします。
設定 > デバイスとサービス に移動してインテグレーション管理ページを開きます。
検出済み エリアでオンラインのデバイスを見つけ、設定 をクリックしてプロンプトに従って追加を完了します。
