thaaraak / ESP32-A1S-Tayloe

18 stars 4 forks source link

ESP32-A1S variants need different pin configs #1

Open mpmarks opened 1 year ago

mpmarks commented 1 year ago

Hi Ian. I'm an Aussie now living in Texas. I remember Dick Smith electronics. I really enjoyed your youtube videos. I had some of your Tayloe boards made with OSH Park and have started populating them and developing my version of the firmware. My chips are labelled ESP32-A1S 2974. By experiment using the arduino-audiokit library I found that the pin configuration for the audio codec for these chips is: I2C : SDA 18, SCL 23 WS: 25 BCK: 5 I2S out: 26 I2S in: 35 I mention this in case someone else builds the board and has trouble using the firmware. Its annoying that there are so many variants of these interesting and useful chips. 73s de KV1D

thaaraak commented 1 year ago

Hey there Maurice - thank you for the kind words. I moved from Texas a year back up to New Hampshire. Thank you for the pin updates - I'll definitely keep those around. How did you find the pin config? The documentation is spotty at best!

I actually worked at Dick Smith in Tighes Hill in Newcastle while I was at University in 1984-1987. DSE was already making the transition then away from electronic components to consumer electronics. Sad to see it go

Regards and 73s ian

On Sat, Apr 29, 2023 at 12:39 PM mpmarks @.***> wrote:

Hi Ian. I'm an Aussie now living in Texas. I remember Dick Smith electronics. I really enjoyed your youtube videos. I had some of your Tayloe boards made with OSH Park and have started populating them and developing my version of the firmware. My chips are labelled ESP32-A1S

  1. By experiment using the arduino-audiokit library I found that the pin configuration for the audio codec for these chips is: I2C : SDA 18, SCL 23 WS: 25 BCK: 5 I2S out: 26 I2S in: 35 I mention this in case someone else builds the board and has trouble using the firmware. Its annoying that there are so many variants of these interesting and useful chips. 73s de KV1D

— Reply to this email directly, view it on GitHub https://github.com/thaaraak/ESP32-A1S-Tayloe/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOMGMVZ6SNT6UXIHH554XJ3XDU74JANCNFSM6AAAAAAXQKHXX4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

mpmarks commented 1 year ago

I found that the I2C pins for the codec just didn't connect (with an I2C scan) but a google search showed someone using 18,23 instead of 32,33 so I tried that combination. It connected with the codec but still no I2S output. Phil Schatzmann's fabulous github repositories include arduino-audiokit that supports a number of possible ESP32 audio boards. By experiment I found that board #1 or #7 have the right pin configuration to get the I2S working. At least generating a test tone output. Hope this is helpful.