
I have spent a few days designing a daughterboard for the pyboard with an I2S codec so that other users can play around with audio in MicroPython once it gets integrated. I am keeping the design simple and only using parts that I have used before, as I expect to make a relatively small number at first and I will be making them by hand. The boards will have 3.5mm stereo jacks for input and output; the audio codec is the SSM2604 from ADI, and the output amplifier is the TPA6130A2 which will allow the board to either directly drive headphones, or to drive a line-out to another amplifier. Both chips will be controlled via I2C.
The design is nearly completed; I am thinking of adding a small thumwheel potentiometer to connect to an ADC for gain control, and maybe an option to connect a pair of electret microphones instead of an audio line-in. There is a bit of room left on the board, and these options will add a minimal cost.
Anyone interested in this? I am planning to wrap up the design and submit it to OSH Park in the next day or so; I expect to be able to make and sell them for about $20 US (building by hand, so I won't be making much on the labor!) but it will be well worth it to me if it allows anyone else to play around with I2S.
Feel free to reply here or to PM me with any questions. I will post a board image and schematic shortly.
-Bryan