Help with Ai-Thinker ESP32-A1S Audio Kit

Posts: 1
Joined: Tue Mar 01, 2016 5:44 pm

Help with Ai-Thinker ESP32-A1S Audio Kit

Postby adrianrb » Fri Feb 14, 2020 5:20 pm

Hi all!
First THANK YOU for ESP32, IDF and ADF... Fantastic work!
I´ve this board (v2.2 - 2 mics - not 4), and managed to make it work OK from mics (stereo mode: left mic -> left speaker/earphone; right mic -> right speaker/earphone).
But no way to make LINEIN input work... never!
Changed audio_hal_codec_mode_t to AUDIO_HAL_CODEC_MODE_LINE_IN and nothing happens.
Any ideas?


User avatar
Posts: 49
Joined: Sun Nov 03, 2019 1:33 pm

Re: Help with Ai-Thinker ESP32-A1S Audio Kit

Postby shabtronic » Sat Feb 15, 2020 8:44 pm

probably the mixer line-in routing isn't setup properly.

You'll need to read the AC101 codec data sheet and bodge in some functionality to do that.

I'd would code this up - but I no longer have my A1S boards for a short while :(

Seeed has some example AC101 code - maybe it'll help you roll some code? ... er/ac101.c

Who is online

Users browsing this forum: Baidu [Spider] and 9 guests