Arduino-based Sample Rate Indicator for USB to I2S interfaces

Most of us nowadays are using USB to I2S interfaces to "feed" our DACs with music. Most of these interfaces have a way of letting us know of the type of signal they are sending to the DAC (PCM or DSD) and the signal's sampling rate via supporting a number of LEDs, corresponding to the signal types and sampling rates.

A while back at avclub.gr I pitched the idea that we build a more universal sampling rate indicator, one that would display the sampling rate on a small screen and be compatible with most of the USB interfaces out there.

It would be open source, based on low cost Arduino hardware and be easy to build.

The Arduino would be galvanically isolated from the USB interface so as to minimise interference.

With these basic specs in mind, I proposed an Arduino Nano with an OLED 0.96" or 1.3" screen. I proceeded to write the relevant code, aiming to support most of the popular USB interfaces like the Amanero Combo384, the WaveIO, the DIYINHK XMOS based interfaces and the JLSounds I2SoverUSB interface.

Along the way it was decided to add support for basic IR control, such as power on/off and basic source selection.

This was the end result, still in the breadboard stage:

IMG_9489.jpg


We decided to design a small PCB that would ease construction, since the isolators were QSOP-16 parts (only available at this footprint unfortunatelly). I did the circuit design and lemon did the PCB design work. We ended up with this circuit:

USB2I2S-schematic-0.8b.png


And this PCB:

PCB_from_fab.jpg


This is the indicator in action, connected to an Amanero:

https://www.youtube.com/watch?v=Xxqe_1sWpkg

You can find the Arduino code at the bottom of the page, here: Universal USB to I2S Interface Indicator | Dimdim's Blog
(sorry - for some technical reason I can't give a working direct link to the file)

A lot more info (BoM etc.) on the circuit and PCB can be found here: Universal USB to I2S Interface Indicator PCB | Dimdim's Blog

It is relatively easy for me to support more USB interfaces, as long as they have the necessary I/O and documentation. I welcome requests. 🙂
 
Good evening DIMDIM,
I write from Italy. In this moment of COVID lockdown I am dedicating myself to the DAC project on JLSOUNDS boards (see picture).
Your Sample Rate Indicator for USB to I2S interfaces is very interesting for me!Unfortunately I do not have equipment to solder smd components...
Would it be possible to commission you a ready-made and tested card for I2SoverUSB Jlsounds?

I would like to make a complete chassis DAC and the screen wiyh the frequency would be very nice!
An externally hosted image should be here but it was not working when we last tested it.

Thanks a lot for your answer.
BR