porting project with WROOM and PCM5102 to ESP32 A1S ES8388 #20
-
I have an operational Arduino sketch (https://github.com/copych/AcidBox) that uses a WROOM module and PCM5102 DAC that I would like to use with the ESP32 A1S and omit the PCM5102. I have the audiokit board V2.2 with ES8388. I've installed the Arduino Audio Driver and put in the setup: LOGLEVEL_AUDIODRIVER = AudioDriverInfo; I commented out the sketch's existing initialization so as not to conflict with the Arduino Audio Driver. I'm using the headphone out jack to a powered speaker, which worked when I tried the sine generator example using audiotools. The sketch compiles and uploads, but I'm getting no output. The readme file says "After setting up the codec, you can use the I2S functionality provided by your microcontroller" so I am only assuming to leave the rest of the sketch intact, though obviously, I'm missing something. Anyone have any ideas? If anyone decides to try it, it's important that the config.h has enabled: #define JUKEBOX |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Did you get any error messages ? I was using the same scenario with Mozzi... |
Beta Was this translation helpful? Give feedback.
-
I think the first step should be to find out what board you have ! This will give you the right I2S pins to use Try this audiotools sketch to check if it is working. I don't know what you refer to with AudioBoardESP32.h |
Beta Was this translation helpful? Give feedback.
Did you get any error messages ?
I guess you forgot to define the i2s pins.
I was using the same scenario with Mozzi...