Arduino Yún, Part 2

OK, I have had my Yún for 3 days now, so let’s get started.

First of all, pictures:

Yun_top_1

Yun_top_2

Yun_top_3

The heart of the Arduino core: the Atmel MEGA32U4 microcontroller. 32KB of Flash memory, 2,5KB of SRAM and 1KB of EEPROM, the usual I/O, essentially a Leonardo. Pretty classic stuff.
MEGA32U4

What is not visible in the pictures, is this:
Atheros_AR9331_2This is the Atheros AR9331 processor. It runs at 400MHz, has 16MB of Flash, 64MB of RAM and runs Linino, a Linux distribution based on OpenWRT.

Yun_bottom_1

Yun_bottom_2

Yun_bottom_3

Now, with 3 different reset switches! From left to right, for the Yun (Linux), the WiFi and the 32U4 (Arduino).
Reset_Buttons

I was wandering how fast “upload a sketch over WiFi” was, so I made a little video comparing it to the classic “upload over USB”:

Arduino Yún

arduino-yun-designboom01[1]

Now, this is interesting. An Arduino that has an on-board processor that runs Linux and supports Ethernet and WiFi.

It is essentially a Leonardo with an Atheros AR9331 running Linino, an OpenWRT distribution.

They talk to each other through what is called a Bridge library. There is also an official Guide that looks very comprehensive.

YunParts[1]

A lovely feature is Arduino programming over WiFi! 🙂

Naturally, I ordered one as soon as it became available (that is, today!) and should have it in a few days.

Stay tuned..

Buffalo Shield v.1.1 for TFT HiFiDuino

Following my previous post on TFT HiFiDuino v.1.00, this is what you need to know in order to build my Buffalo Shield.

First of all, here are the DipTrace files (schematic & PCB): Buffalo Shield v.1.1 for TFT HiFiDuino (schematic & PCB) (1389 downloads)

And here is the relevant build & wire guide: Buffalo Shield v.1.1g for TFT HiFiDuino (documentation) (1606 downloads)

This is what DipTrace thinks the board ought to look like:
Arduino_Shield_1.1_Render_07_c

And this is what it actually looks like:
Arduino_Shield_v.1.1_1_800x872

Close enough..

This shield features:
– Galvanic isolation for the I2C signals as well as 2 digital outputs (Arduino -> Buffalo) and 1 digital input (Buffalo -> Arduino).
– EEPROM chip (24LC256) either in SMT or DIP footprint.
– Backlight control for the TFT through a PWM-controlled transistor.
– Headers for two rotary encoders.
– Output for power relay (for remote on/off).
– Header for IR receiver.

This is the schematic for the shield:
Arduino_Shield_Schematic-0.91

And this is the resulting PCB:
Arduino_Shield_PCB_v1.1b

This is a description of the various headers:

IR: Use a standard 38KHz IR Receiver Module, like the TSOP4838.
1: Signal (Pin 9)
2: GND
3: 3.3V

RotaryEncoder1: Use any simple rotary encoder.
1: Left pin (Pin 7)
2: Right pin (Pin 6)
3: Selector pin 1 (Pin 5)
4: Middle Pin & Selector pin 2 (GND)

RotaryEncoder2: Use any simple rotary encoder.
1: Left pin (Pin A3)
2: Right pin (Pin A4)
3: Selector pin 1 (Pin A3)
4: Middle Pin & Selector pin 2 (GND)

I2C_In:
1: SDA
2: SCL
(note: this is the I2C connection to the Arduino. SDA should be connected to pin 20 and SCL to pin 21)

I2C_Bypass:
1: GND
2: SDA
3: SCL
(use this if / when an isolator IC (U2) is not used to send the I2C signal to the Buffalo)

Isolated_Outs:
1: Out 1 (Pin A2)
2: Out 2 (Pin A7)

TFT_power:
1: TFT Backlight LED (dimmed by Pin 8)
2, 3: 3.3V (for TFT power & pin RD)
4: GND

PowerInput:
1: GND
2: Vin (8V-12V)
(connect here the power supply to the Arduino)

PowerRelay:
1: GND
2: 3.3V out (Pin A0) in case of Due, 5V in case of MEGA
(connect here the power relay that powers on the DAC)

To_Buffalo:
1: Buffalo Vcc (3.3V)
2: SDA
3: Sidecar Control (Pin 3)
4: Lock LED input (Pin A1)
5: SCL
6: Buffalo GND

TFT HiFiDuino: Phase 1 complete!

It took quite a bit longer than I had expected but I am happy to report that Phase 1 of the TFT HiFiDuino project is complete.

v.1.00_screenshot_1_800x471

The objectives of Phase 1 were the following:
– Have full control over the parameters of the ES9018 chip. Essentially be able to write to all of the useful registers.
– Be able to have full IR remote control functionality.
– Be compatible with both the MEGA as well as the Due Arduino boards.
– Be able to switch between all 8 of the supported s/pdif inputs, as well as between I2S sources (USB in my case).
– Develop an Arduino shield that would simplify the wiring of the thing as much as possible as well as provide galvanic isolation between the Arduino and the DAC board.

All of these objectives have been accomplished, so here is v.1.00 of the code: TFT HiFiDuino v.1.00 (510 downloads) (Update: there is a new version available! Click here for the latest version.)

If you happen to come across a bug, please let me know by posting a comment below.
Feel free to use it whichever way you see fit, modify it, redistribute it, whatever, as long as you do not profit from it.

Requirements:
UTFT Library
– Fonts (included in the ZIP)

I will also make available the schematics & PCB for the shield, although it is not really necessary for operation of the controller.
Here is a preview:
Arduino_Shield_v.1.1_1_800x872

Arduino_Shield_v.1.1_2_800x630

August music digest..

This post will be kind of an August digest affair. I’ll try to include most of my findings. I have covered almost all of these tracks (and many many more) on the 4 mixes that I put out this month (Deep in the Summer, @ the Beach Bar Vol. 1, Vol. 2, Vol. 3) but still I believe that they deserve special mentions. Let’s get started.

We begin with the new EP from ColeCo, Thrillhouse Forever. It includes 4 tracks, all of them downloadable for free from Thrillhouse’s Facebook page.



Moving on to Karmon, he also just put out a new EP, and it includes 3 new tracks: Bluesky, Circus and No Illusion.

OK, this might be just a tad too commercial for this blog, but whatever.. it’s an aquired taste. 😛 Ben Pearce – What I Might Do (Club Edit):

Next, some Dr. Dre ripoff that is addicting as f%$k. Claptone – Wrong:

Next up, Edu Imbernon & Triumph – Veranoski (Henry Saiz Remix).
OK, it’s a bit techno / tech-housey, but still pretty haunting (not to mention awesome!).

Back to deep house.. the lovely John Monkman feat Liz Cass – Fractured Fate (Original Mix):

Keeping to the same style, the excellent Kaiserdisco – Night and Day (Original Mix):

Took me a while to figure this one out, but better late than never.. Daniel Fernandes – After All (Original Mix):

Same goes for this one. I absolutely LOVE this one!!!! Karmon feat. Terry Shand – Take My Hand (Original Mix):

Karmon has been quite busy.. This one is just as excellent.. NTFO & Karmon – Beating Heart feat. Stee Downes (Original Mix):

Again, just pure fun! Going Deeper & Newbie Nerdz – Feeling (Original Mix):

I absolutely love this one as well.. DSF – Private Thoughts (Original Mix):

Moving on… very sensual.. Dimfeel & AnnA Washington – Meet Love (Original Mix):

This is just Duke Dumont, being an awesome remixer, as always.. (OK, the original is not too bad either..) HAIM – Falling (Duke Dumont Remix):

Not too bad of a remix.. WANKELMUT & EMMA LOUISE – My Head Is A Jungle:

From the same guy that gave us this a year ago.. Asaf Avidan – One day / Reckoning Song (Wankelmut Remix):

Next up, Stefan Biniak feat Stine Grove – Tears:

..and (relatively) new stuff from Betoko. This is quite addictive. Betoko & Louie Fresco feat. Fritz Helder – Late At Night:

..plus new from Jean Claude Ades & Sharam Jey – Happy Mondays (Original Mix):

Hot Natured are putting out a new studio album (I believe tomorrow?) and new stuff is just pouring out of it. This is the first track to come out of it: Hot Natured – Isis (Magic Carpet Ride)

Plus:

and:

It looks like the album is gonna be kickass!

Moving away from the mainstream, this is a little gem I came across. REFLEX – Together:

Next up, a great remix by Hot Since 82, Shadow Child – So High (Hot Since 82 Remix):

Wow, this post came out quite a bit longer that I had anticipated. What can I say, it was a great August!