I would like to share an update regarding the media player using I2S. I have created I2S player using esp32 devkit v1 (you can find the pin out details from here. along with UDA1334A DAC successfully. I have used the same pin out as shared by Domaray and referred to this thread with respect to esp32 devkit I2S yaml. It is working fine with the mentioned DAC.
Sharing my yaml for anyone interested to build with esp32devkit v1 and UDA1334A DAC.
esphome:
name: esp32dvkitbamp
friendly_name: esp32dvkitbamp
platform: ESP32
board: esp32dev
captive_portal:
web_server:
port: 80
i2s_audio:
- id: i2s_out
i2s_lrclk_pin: GPIO26 #WSEL on 1334A
i2s_bclk_pin: GPIO27 #BCLK on 1334A
media_player:
- platform: i2s_audio
name: ESPHome I2S Media Player
dac_type: external
i2s_audio_id: i2s_out
i2s_dout_pin: GPIO25 #DIN on 1334A
mode: stereo
sensor:
- platform: wifi_signal
name: "WiFi Signal"
update_interval: 5min
- platform: uptime
name: "Uptime"
update_interval: 5min
- platform: internal_temperature
name: "Internal Temperature"
text_sensor:
- platform: wifi_info
ip_address:
name: IP Address
ssid:
name: SSID
mac_address:
name: MAC