Arduino for Buffalo II DAC
I’ve started writing the code for Arduino for the Buffalo II DAC. I am reusing the code I wrote for the Wolfson 8741 (TPA OPUS DAC), but I’ve decided to make some changes to make it easier for others to implement.
- Arduino UNO (Although any Arduino clone will work)
- “Standard” Hitachi-HD44780-compatible LCD (20×4). This device has native support from the Arduino standard installation. In my previous code, I used a serial LCD implementation from a single supplier with custom libraries. The “standard” LCD is available everywhere. I got mine from SureElectronics on ebay
- “El cheapo” rotary encoder, debounced with capacitors. More info here and here
- 5V to 3.3V level converter for the I2C lines. Even though it has been reported that the Saber DAC is 5V tolerant at the inputs of the I2C, I’m using the level converter just in case. More info here.
The initial release consists of basic volume control with a rotary encoder and display of volume level from -99db to 0db.
The code is available here: Arduino code for Buffalo II DAC. Copy the text and paste it into an Arduino blank sketch; verify the code and upload it into the Arduino board. There are many good tutorials on how to get started with Arduino. Here is one: http://www.ladyada.net/learn/arduino/