Author Archives: Dimdim
Smurfs in a Bubble @ MoMix
Image
Deep in House Vol. 3
This is a pretty special mix. It’s a love-it-or-hate it deal. It covers such a wide range of emotions. It’s one of my favorites so far.
Deep in House Vol. 3 (December 2013) by Dimitris Dimitrakoudis on Mixcloud
Tracklist:
1. Yasmine Hamdan - Deny (Holmes Price Remix)
2. Perseus - Shadow of the Beast
3. Zimmer - Galapagos
4. The Source ft. Candi Staton - You Got The Love (Gorge Soera & Trigger N' Slide Bootleg)
5. Delusion feat Monna - Fight For Love (Dapa Deep Remix)
6. Stefan Biniak Ft. Stine Grove - Tears (Original Mix)
7. Nhan Solo - Perfect Plan (Original Mix)
8. Chris Malinchak - Call My Name
9. Ryan Dupree - I Remember (Original Mix)
10. Pink Floyd - Another Brick In The Wall (Vintage Culture Remix)
11. Amber Jolene - Everyday
12. Miguel Migs - Moving Sound (Together Dub)
13. Kotelett - Sailling Sister
14. Manos, Felyx - Indie Game (Original Mix)
15. Hot Since 82 - Shadows (feat. Alex Mills)
16. Inner Rebels - Make Me Feel (Patrick Podage Remix)
17. Phil Collins - In The Air Tonight (Vintage Culture Remix)
18. Dimfeel & Anna Washington - Meet Love (Original Mix)
19. Julio Bashmore feat. Jessie Ware - Peppermint
Instagram Image
Image
@ Zafiro, Galatsi..
Mainly Mainstream Vol. 1
This is the Christmas Edition!
It’s a mix of some new and exciting stuff (from Perseus, Colette, Cassie and more) plus a ton of commercial hits from the past year. All House, of course. I really enjoyed making this one. Enjoy!
Mainly Mainstream Vol. 1 (December 2013) by Dimitris Dimitrakoudis on Mixcloud
The TFT HiFiDuino Chronicles: 21 months in the making..
Since the very beginning of my Buffalo III project, I had decided that I would use an Arduino to perform all of the control functions (source selection, volume control, setting of parameters, etc.).
At first I thought that I would just do basic interfacing, that is control the Buffalo by interfacing with the built-in controller. After taking a closer look at HiFiDuino’s work it became apparent to me that direct I2C interfacing was the way to go. Since I wanted to use a better display than the one used in HiFiDuino, I shopped around for a nice color TFT screen. I bought one from Adafruit and got busy. After a few hours of figuring stuff out and coding I got to this point:
The date was March 3, 2012.
On that day I started a thread at avclub.gr announcing my Buffalo controller.
At this point since a number of people had expressed interest in the project I thought it a good idea to look for a less expensive TFT, sourced through Ebay rather than Adafruit. $50 for a 2.8″ TFT is indeed a bit steep. I came across this little gem:
At $20 the price was right, but it was not compatible with Adafruit’s display library so I searched for a compatible library. I came across Harl Henning’s UTFT library which appeared to be exactly what I needed. It was compatible with a large number of TFTs, including the ones that I had on hand. I took care of some signalling issues (the new TFT needed 3.3V signalling but the Arduino Mega is 5V) and proceeded to adapting the code to the UTFT library.
At that time I discovered that HiFiDuino had also just discovered the UTFT library and was planning to use it as well. That was a nice surprise. He had got a hold of a 3.2″ 400×240 TFT which was also available on Ebay so I also ordered one and decided to standardize on that. The date was April 15, 2012. It was Easter.
While waiting for the 3.2″ TFT, I continued my work on adapting the code to the UTFT library. After having tried various fonts, including making a few of my own, I settled on these:
By the end of April the 3.2″ TFT had arrived and I confirmed that it worked. This is what it looked like with no code changes (they would be necessary since I wanted to make use of the total screen real estate).
At that time the weather got pretty warm so I froze all DIY activities for the summer. The DAC was not really finished but it was functional at the time so I was in no rush.
It was not until late November that I resumed the project. The new Arduino Due was becoming available in stores and I was anxious to see whether the improvement in speed would actually translate to real world improvement in Buffalo response times. Before the end of November I had received the Due.
Since the Due was built using 3.3V logic, it was now easier to interface with the 3.2″ TFT and also the I2C lines would no longer need level change to the 3.3V that the Buffalo liked.
At this time I realized that there where 2 obstacles that I had to overcome:
1) The UTFT library was not compatible with the Due.
2) The Due did not have any on-board EEPROM so I could not save my code settings.
The first problem was solved 10 days later when a couple of lovely people at arduino.cc took it upon themselves to make changes to the UTFT library so as to support the Due. The hacked version of the library worked like a charm. I was very impressed with how little time it took these guys to adapt the library.
The second problem I tackled on my own, by adding a 24LC256 EEPROM chip to the design and adapting the code.
This is when I first came up with the idea of designing a custom shield for the controller. It would accommodate the 24LC256 as well as the necessary parts for electrical isolation between the Arduino and the Buffalo.
By mid January I had made sure that my code ran equally well on the Due as well as on the Mega, so I thought that I would produce a short video demonstrating the difference in processing power. That video has since gotten more than 2.000 views per month. Here it is:
By the end of February I had proceeded with polishing the code and had a rough draft of the shield.
About a month later I had a (nearly) working prototype of my new shield:
At that time, once again, the weather got too good for DIY so I suspended the project until September.
While I was on summer leave I got a little bored so I resumed the project. It moved along pretty fast, and soon I had a final version of the shield:
..and a v.1.00 of the code:
I proceeded to release the actual code and schematics for the shield on September 3 & 7 respectively, as well as some basic instructions on building it.
The next step was to make the code more Buffalo-III SE friendly, since most people buying Buffalos were going for the SE. I had one last request: to give the option of always-on, in other word to make it possible to bypass the “on/off” portion of the code. That was pretty easy to implement. At last, I made a few aesthetic changes. The end result was v1.06b, released at December 11, and it looked like this:
(the above screens are from the Buffalo-III SE version of the code)
And that’s it so far.
Buffalo Shield revision for B3SE
As I said, I will release a new revision of the Buffalo shield that will have better support for the B3SE.
Since that will probably take some time, in the meanwhile, this is what B3SE (or 32s or II) owners should do to their shields in order to support the B3SE:
The idea is to connect the photosensor side of one of the optoisolators directly to the IP_S header on the B3SE. In order to do that, you will have to cut one trace on the PCB and solder directly onto one of the optoisolator’s pins. That’s pretty much it.
On the new revision of the shield there will be a jumper where you have to cut the trace plus an extra pin so that you don’t have to solder onto the isolator’s pin.
TFT HiFiDuino v1.06
Here is version 1.06 of the code:
TFT_HiFiDuino_v1.06b.zip (7544 downloads )
(11/12/2013: Update to v1.06b. Reason: minor bugfix) (Note: As always, the code on this page may not be the current one, i.e. there may be a newer version available. The latest version is always up at the project’s official page.)
The main difference is the support of Buffalo 3SE as well as an “always on” feature that bypasses the remote on/off sections of the code.
Here is the official change log:
– 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..
A new revision of the shield is to follow (for improved B3SE compatibility).
3.2″ TFT connection to Arduino Due (UPDATE!!)
In this post I talked about the 3.2″ 240×400 TFT and how it can be connected to a MEGA or Due.
Since then I realised that I might have made things a bit more difficult than they need to be, so I decided to give it another go, this time making a (relatively) foolproof guide. So here goes.
The finished assembly should look something like this:
What you need:
– An old 40 pin IDE cable. If you can’t get your hands on a ready-made IDE cable, you will need to find some 40 pin ribbon cable and a 40 pin connector (you can find it as “IDC40 IDE FEMALE CONNECTOR”) so you can roll your own. You will also need a small vise to press the connector.
– A 2×13 (or larger) pin header.
– A 1×4 (or larger) pin header.
– Some heat-shrink tubing.
– A soldering iron, etc.
We will be connecting only the wires necessary for operating the TFT as a display, so no SD card reader or touchscreen. You should keep that in mind.
Also, this cable only works with the Due, since it uses 3.3V logic. In order for it to work with the MEGA, 10K resistors should be connected in series with all the signal cables (except of course for the Vcc, LED-A and GND lines).
Let’s begin.
You start by cutting your IDE cable to the necessary length (or in case you’re making your cable from scratch, using as much ribbon cable as you need). The connectors on most IDE cables have one of the pin holes blocked, so you should use a small drill to open it up.
The pin numbering always starts from the red wire, so it goes like this:
I prefer to cut off the unnecessary wires. This way there is less clutter, plus it is harder to get confused. Once the unnecessary wires have been cut off, we are left with this:
So this is one side of the cable. On the other side we will solder on to these:
They are two pin headers. The 1×4 one is for LED backlight, Vcc power, RD and ground respectively. That corresponds to these pins:
Finally, we have the 2×11 pin header. We need to make these connections:
The numbers are obviously pin numbers that correspond to the 40-pin ribbon cable. It should be pretty easy to get them right.
You should use heat-shrink tubing in order to insulate the connections, as well as improve the mechanical properties of the connections.
You will notice that the header is missing two pins (on the far right). That is done on purpose, to make it easier to align with the Due’s connector:
And here is the finished cable, connected to the TFT as well as the Due. Note that it’s up to you to connect the 1×4 header whichever way you can.
Notice that the ribbon cable is coming out of the IDC connector and going to the right, and not to the left. Should you connect it the wrong way, it is very likely that the TFT will be damaged, so be carefull!
You should also solder/jumper these pads (J1) on the back of the TFT:
We have to do this since we are already powering the TFT with 3.3V. This way the local regulator will be bypassed.
That’s it! Good luck..