I have been working hard (or hardly working) on getting more add-on cards ready for the limelight
I have been focusing mainly on the ‘sound’ card
For now, the card will have a 3.5mm headset jack (TRSS) to get audio out and mic in. The chip I have found is pretty cheap and is clever enough to have an external mic too!!

Ideally the card needs a speaker too, but these ‘codec’ chips dont seem to come with built in amps for speakers all too often. While I was asking my artificially intelligent friend to trawl datasheets for a magical chip that can do it all, it did suggest that I could just use 2 chips. One codec chip for the headphones and the mic, and one DAC AMP for a speaker
I have actually used an I2C DAC AMP on the old TinyPi Pro, in the shape of MAX98357A. This includes a 3W class D amp, which is more than capable of making noise
One of the hardest thing I find with PCB design is actually picking the parts to use!! I literally spent 2 days trying to find a headset socket that had the mic connection, and had the right detect pin setup to work with the sample schematic, and is surface mount with small enough location pegs to work with the 0.8mm PCB needed on the add-on card
While I was talking on the Discord about sound, both Nilseuropa (Mr SolarOS) and Bytewelder (Mr Tactility) both said that the device would be so much better with proper i2s audio
Initially I was kinda against the idea.The whole project has been designed to maximize the number of i/o pins available in the add-on slot. Having 4 pins lost to audio when not everyone would want it wasnt in my plan
While i was thinking it over during other things, I had remembered that the new ESP32-S31 was available in the a similar footprint to the ESP32-S3 that I am currently using, but it has more pins!! This is the S3 footprint

And this is the S31 footprint!! You will see its similar on first sight

But if you squint a bit, you will see that there are 20 extra pins round those central gnd pads.
Now the current S3 module is over $5 for single QTY, and the S31 modules are available on Aliexpress for less than that!! They dont seem to be as easy to find with them being new, but it could be a pretty big upgrade for minimal cost increase
When the S31 was initially released, they did mention that it would come in the similar WROOM-1 footprint, so I had hoped it would be possible to switch the module for an easy boost, but some of the critical pins (like USB) have moved, so it is not so simple
So that means I could bump the S3 to S31 for minimal cost, giving more pins, also adding in audio, and gaining the new RISC goodies too
Yet more gains for CL-32, it just keeps getting better and better!! 🙂
Leave a Reply
You must be logged in to post a comment.