-
Notifications
You must be signed in to change notification settings - Fork 15
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
Getting started issues with ai esp32 audio kit 2.2 #23
Comments
Apparently the v2.2 can have I2C on different pins... Ai-Thinker-Open/ESP32-A1S-AudioKit#26 (comment) because of two versions of the ESP32 module...
That does makes the write failed goes away, but still no audio output, wondering if I2S is routed differently, or the headphones are on a different setting than "amp" out ? EDIT (again), tried with dac_config: model=ES8388,bck=27,ws=25,do=26,sda=33,scl=32,i2c=16 |
Got the artifact from the latest master CI build (feat MA12070p driver, after that the builds fails) Selected the board "AI-Thinker Audio board (A1S ES8388)" again and now it works ? idk what have changed between the two builds but well... Remain things are:
|
Hi, thanks for trying this out! The A1S chip is honestly a mess - I was able to count 3 different versions of those chips with different DAC (AC101 or ES8388) and even different I2S pinouts. I have looked into the chip you most likely are using, and seems like it requires two extra registers (0x30 and 0x31) to have the volume written to in order to make it work. I have pushed the changes on newest master, will try to fix the build issue. Line-in support will come soon (currently planning t release along with multiroom and UI redesign). It will route all the audio from the aux in port, apply internal DSP and output on DAC. Thanks for trying out euphonium btw! Feel free to reach out to me on |
Build fail resolved, corrupt cache issue. The line-in support will come around the time when im able to assemble my board with MA12070P and WM8782 ADC. All part should be easily sourceable :) |
Ahah yes from what I have gathered in various links it's a mess, and it's even from a genuine board... I have fetch the latest artifact and I can confirm that the headphones jack works ! But audio volume has no effect. To plan if possible would be to be able to toggle headphones or amp output (like using both or only one of the two) Thanks for planning line-in! |
The toggle could be done via GPIO_NUM_39 as far as i know (https://github.com/pschatzmann/arduino-audiokit has got it working). it's on my todo, if @feelfreelinux is not faster then me... |
i have an ai thinker board v2.2 3478 with ESP32-A1S v2974 |
I have a V2.2 with v2974 but setting volume on the headphone seems to have no effect. |
sorry for late reply. |
Do you mind sharing your binaries? I also have a v2974 board but I do not manage to get this to work? Also, did you change DIP settings on the board? |
i think i haven't change the dips, its: on on on off off i only set the preset for the board under: "System configuration" > "Hardware" to "AI-Thinker [...] ES8388" and "apply changes" |
Hello,
Just got an Ai ESP32 Audio Kit V2.2 and flashed it with latest tarball from the releases but I have some issue.
No matter what board I use in the selector, nothing got out, CSPOT does connect but same, nothing out.
Any ideas to debug thoses issues ?
EDIT, logs when setting to board ai thinker AC101:
same write failed with ES8388 ai tinker board.
According to https://github.com/Ai-Thinker-Open/ESP32-A1S-AudioKit#hardware my A1S has a ES8388
The text was updated successfully, but these errors were encountered: