This is the home page for the TFT HiFiDuino Project.
Here you will find the latest available version of the code, along with the revision history and some notes on the code. This entire project is based on the HiFiDuino project. Had there not been for HiFiDuino, none of this would have been possible.
The current version of the code (v2.13): TFT_HiFiDuino_v2.xx (2291 downloads)
Here is a features list:
- Enable full control over the parameters of the ES9018 chip.
- Full IR remote control functionality. Supports a large range of remote manufacturers.
- Switch between all 8 of the supported s/pdif inputs, as well as between I2S sources (2 x USB in the current version).
- Save parameter settings for each input.
- Display incoming signal sampling rate and type.
- Minimal display mode as default. Goes into full display when changes are to be made to parameters.
- Full graphics support in the minimal display.
- Option of displaying white text & graphics on black background as well as the familiar “v2” look.
- Option to set 0db as default (power-on) volume for connection to a preamp.
- Remote power on/off functionality (or always on – configurable in the code).
- Compatible with Buffalo 3 and Buffalo 3 SE (plus the 32s and the Buffalo II). Just comment out the relevant statement.
Here is a short video of the code in action:
- UTFT Library
- UTFL_DLB library
- Adafruit MCP23008 library
- Arduino-IRremote-Due library
- RotaryEncoder library
- Fonts (included in the ZIP)
- Graphics (included in the ZIP)
Basic Hardware Requirements:
- Arduino Due
- 3.2″ TFT with resolution of 240 x 400, compatible with the UTFT library
- 24LC256 EEPROM chip
- Rotary Encoder
- IR Receiver
- Compatible IR remote control (Apple Remote or other)
I am including the necessary fonts and bitmaps in the ZIP. The fonts should go into your UTFT & UTFT_DLB directories, usually found in the Windows user’s Documents folders (for example, here: c:\Users\<user name>\Documents\Arduino\libraries\UTFT_DLB\).
The bitmaps should go into your sketch’s folder.
I have included in several places in the code SerialUSB output for debugging purposes. It is commented out in this release for performance purposes. However, it is very easy to re-enable for either debugging or viewing of the IR codes sent to the Arduino. You may use these IR codes to customize the code to support your remote by changing the relevant #define statements in the Remote control definitions section.
You should keep in mind that this code is designed to be used with the shield that I have developed for this purpose. The shield has its own page: Universal Signal Isolator Shield
However, the shield is not necessary if you are willing to hardwire in a few necessary components, like the 24LC256 EEPROM chip.
Here is the revision history:
- Added support for white text on black background. Added the necessary graphics.
- Changed the rotary encoder code. Now it works exactly as it should.
- Bugfixes (Exact SR not displaying, SR redrawing every 2 sec).
- Official release of v2 code!
- New graphics in limited display mode. Code size is now definitely over 256KB.
v1.20 22/12/14 :
- !! Very ALPHA !! now defaults to a limited display. Goes into full display when changes are made to parameters.
- Outputs debugging data to SerialUSB (optional – usualy commented out).
- Sidecar signalling changed from LOW->HIGH for B3 to support new switching circuit.
- Changed IR code to IRremote library. Now supports a lot more remote controls.
- Beta support for proportional fonts via UTFT_DLB library (add-on to UTFT).
- Added code to use MCP23008 to control misc devices.
- Added option to set 0db as default (power-on) volume.
- Compatible with Buffalo 3 and Buffalo 3 SE. Just comment out the relevant statement.
- Fixed “OS Filt” & “SR disp”.. They were not working correctly.
- Blue select boxes are gone.. they looked quite bad.
- Some other minor (mainly aesthetic) fixes.
- Buffalo IIISE edition. Just 3 inputs: S/PDIF + 2xUSB.
- Finished with aesthetics (new fonts, selection grid, etc). First official release.
- Changed all pins so as to be compatible with the new Buffalo Shield.
- Added IR codes for select, left, right. Everything now works on MEGA & Due! Display still buggy (no functional problems though).
- Changed the rot encoder code. Should be compatible with Due & Mega but only works on the MEGA for the time being.
- Added code to support rotary encoder on Due & added relevant option for selecting either MEGA or Due board (!! still not working!!).
- Fixed s/pdif frequency display.
- Fixed bug in volume control code. Now works as it is supposed to. 🙂
- Remote works very well.
- To do: TFT backlight control.
- Powerup and shutdown routines added (still need to configure IR code for power).
- Aesthetic changes.
- Adapted most of HiFiDuino’s enhancements to the code. Display is buggy.
- Now saves settings into 24LC256 EEPROM instead of built-in EEPROM (beta, seems to be working OK).
- Addition of USB input (9th). To do: set as default input.
- Now fully tested with I2S sources.
- Code cleanup, reordering of functions, etc.
- Now supports 240×400 instead of 240×320 TFT.
- Major revision. Now supports UTFT library for 240×320 TFT.
- Contains a few minor bugs but for the most part works.
- Includes support of source selection on Buffalo III boards.
- The Apple remote codes are changed to another device’s that I had handy.
- Has not been tested with I2S sources.
A full list of the code revisions and notes can be found here : http://www.dimdim.gr/category/arduino/tft-hifiduino-code/