Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WS32-ETH01 - VoiceAssistant #2717

Open
unknown1818 opened this issue May 12, 2024 · 3 comments
Open

WS32-ETH01 - VoiceAssistant #2717

unknown1818 opened this issue May 12, 2024 · 3 comments

Comments

@unknown1818
Copy link

unknown1818 commented May 12, 2024

Hi,

I have WS32-ETH01 board im trying to use it as VoiceAssistant throught PCM5102 DAC
This board support i2s audio?
Its working on esp32-wroom but not o eth01 module, the leds on eth port turn off and on for 2 sec when press play

My config:

i2s_audio:
  # DAC
- id: i2s_dac
  i2s_bclk_pin: GPIO15   #SCK Clock           -> BCK Master clock PCM5102
  i2s_lrclk_pin: GPIO14  #WS 0=Left 1=Right   -> LCK

  # Mikrofon
- id: i2s_microphone
  i2s_bclk_pin: GPIO4    #SCK Clock
  i2s_lrclk_pin: GPIO2   #WS 0=Left 1=Right


# Glosnik
media_player:
  - platform: i2s_audio
    id: glosnik
    i2s_audio_id: i2s_dac
    name: ${speaker_1}
    dac_type: external
    i2s_dout_pin: GPIO12  #SD Data -> DIN
    mode: mono
    on_pause:
      - media_player.stop

# Mikrofon
microphone:
  - platform: i2s_audio
    id: mikrofon
    i2s_audio_id: i2s_microphone
    adc_type: external
    i2s_din_pin: GPIO35   #SD Data
    pdm: false


voice_assistant:
  id: va
  microphone: mikrofon
  media_player: glosnik
@cocorne
Copy link

cocorne commented May 12, 2024

Wt32-ETH01 ???

@nagyrobi
Copy link
Member

Yeah... How nice it would be to have a wired option too.

@unknown1818
Copy link
Author

I think its not supported on that board.
Its better to use ESP32-WROOM and LAN8720 ETH Board
I will post tomorrow code for that combo.
I want to use always listen voiceassistant with wake word on wifi is not good idea cause its using too much wifi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants