Demo esp32 esphome i2s audio media player

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 10

  • @junaidhussain5485
    @junaidhussain5485 Год назад +1

    this is pretty neat. with an i2s mic this could become an effective smart door bell solution, ofc by using it with the esp32 cam module.

    • @easthulk99
      @easthulk99  Год назад

      yup.. you are right. but still cannot make the mic work

  • @nuno.picado
    @nuno.picado 5 месяцев назад +1

    Very nice.
    Can I ask what hardware you are using with the ESP? I mean the amplifier and the mic.
    Have you since managed to get the mic to work?

    • @easthulk99
      @easthulk99  5 месяцев назад +1

      hi.. for the amplifier i used max98357a as in the video timed 0.16 second. for the mic i still unable to make it work. i tried with esp32 dev and esp32-s3 board. the mic i used inmp441 and sph0645

  • @gunnaralv
    @gunnaralv Год назад +1

    Hi. What exact ESP32 board are you using. What do they write on the ESP32 Module?
    Is it Wroom? S3? Etc...

  • @safer7140
    @safer7140 Год назад +1

    Can you share the complete code? thanks

    • @easthulk99
      @easthulk99  Год назад +1

      i2s_audio:
      - id: i2s_out
      i2s_lrclk_pin: GPIO26
      i2s_bclk_pin: GPIO27
      - id: i2s_in
      i2s_lrclk_pin: GPIO33
      i2s_bclk_pin: GPIO19
      media_player:
      - platform: i2s_audio
      id: media_out
      name: Media Player Mic1satu
      dac_type: external
      i2s_audio_id: i2s_out
      i2s_dout_pin: GPIO14
      mode: mono
      microphone:
      - platform: i2s_audio
      id: echo_microphone1
      i2s_din_pin: GPIO23
      i2s_audio_id: i2s_in
      adc_type: external
      pdm: false
      voice_assistant:
      microphone: echo_microphone1
      binary_sensor:
      - platform: status
      name: Status
      - platform: gpio
      pin:
      number: GPIO00
      inverted: true
      mode:
      input: true
      pullup: true
      name: Boot Switch Mic1
      internal: true
      on_press:
      - voice_assistant.start:
      on_release:
      - voice_assistant.stop:
      how evwe i did not manage to make the mic work....

    • @denis2381
      @denis2381 10 месяцев назад

      hi can you share the code without mic please? i just cant get media player to work and i have no idea what i am doing wrong :/
      @@easthulk99

    • @denis2381
      @denis2381 10 месяцев назад

      when i wire my amp and speaker it seems to not boot somehow... i also cant change settings in esphome because it doesnt reach device.. however, i would really need help to set it up correctly, can you share please? @@easthulk99