Success story : porting project from Raspberry

Post Reply
fpp
Posts: 46
Joined: Thu Jul 31, 2014 3:00 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Success story : porting project from Raspberry

Unread post by fpp » Wed Sep 17, 2014 5:24 am

I am pleased to report that the migration of my existing project from a Raspberry Pi to the Odroid W is a success.

Actually it was much smoother than I expected, giving that it involved quite a lot of wire soldering (no headers), which is not one of my strong skills...

The project was to create a portable, good-quality digital audio source, with storage, user interface, decoding, and a line-out for a portable amplifier.

The original version involves a Raspberry Pi model A, a custom Hifiberry DAC, a 2"2 320x240 colour LCD (non-touch), and a keypad.

The specially made DAC communicates with the Raspberry through the P5 header, using I2S (8 wires).

The LCD is driven by an SPI board (ILI9341) plus some GPIO controls (also 8 wires).

The original keypad was a 4x4 matrix with only 2 rows/3 columns used (5 wires).

The single USB port is used with a Trendnet Wifi dongle for ssh access during admin & setup, then with a dongle for an "air mouse" that acts as a remote for the player.

The custom UI is written in Python with Pygame. You can see it in action here :
http://vimeo.com/92256265

The first version works well, but is quite bulky, due to the size of the Raspberry, the way the DAC fits under it, and the extra space taken by the various headers and Dupont connectors.

Despite my efforts I could only fit it inside a fairly thick case, seen here :
http://www.tellementnomade.org/forum/vi ... 40#p230179

Also, despite its size it is portable but not autonomous, it depends on an external USB power source.


When I heard about the Odroid W I immediately knew I could make a better version with it !
First make it smaller, then maybe add a battery, make it self-powered and mobile.

For the first step I added exactly the same DAC and LCD to the W.
The keypad was a simpler 4-button board, wired as a 2x2 array (4 wires).

So 40 solder points were required for the wires, plus the USB and stereo jack sockets...

After that I just transferred the existing microSD card from the Raspberry to the Odroid, and to my great amazement... it booted and started playing music right from the start :-)

For a while I was afraid I'd received a defective board, as the USB port did not always work, and there were some spontaneous reboots... but then I suspected my soldering might be at fault, so I redid all four points, and after that performance was just as reliable as on the Raspi :-)

So in my experience the hardware compatibility between the W and the Raspi A has been quite flawless, and the result is incredibly compact.

Actually I now have too many options for encasing it, and I can't choose :-)

This makes it even more sad that the W has to be discontinued in its present form, because it is a very worthy little board with a lot of added value.
I'm going to order another one while it's still time so I can experiment more :-)

fpp
Posts: 46
Joined: Thu Jul 31, 2014 3:00 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Success story : porting project from Raspberry

Unread post by fpp » Thu Sep 18, 2014 3:41 am

TL;DR, maybe ? :-)

LiquidAcid
Posts: 1093
Joined: Fri Oct 11, 2013 11:07 pm
languages_spoken: english
ODROIDs: X2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Success story : porting project from Raspberry

Unread post by LiquidAcid » Thu Sep 18, 2014 4:46 am

STFU, maybe? ;)

gripped
Posts: 691
Joined: Tue May 21, 2013 11:34 pm
languages_spoken: english
ODROIDs: U2 XU U3 XU3
Has thanked: 0
Been thanked: 0
Contact:

Re: Success story : porting project from Raspberry

Unread post by gripped » Thu Sep 18, 2014 5:14 am

LiquidAcid wrote:STFU, maybe? ;)
You didn't realise that was the OP replying ?
Otherwise STFU seems a tad rude.
Or maybe I'm missing the joke ?

@fpp
Interesting project. Thanks for sharing. :)

LiquidAcid
Posts: 1093
Joined: Fri Oct 11, 2013 11:07 pm
languages_spoken: english
ODROIDs: X2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Success story : porting project from Raspberry

Unread post by LiquidAcid » Thu Sep 18, 2014 5:37 am

Maybe I should clarify. The STFU goes to the tl;dr demanding crowd, and not to the OP. That this abbreviation even exists is a pretty sorry state, since it shows that people are not willing to focus their time on something. Following a longer conversation, reading and analysing a longer text, etc., people are less and less capable of doing this. Don't let these people tell you that this is a good development, because it definitely is not. Therefore: STFU to all of you who think "tl;dr".

fpp
Posts: 46
Joined: Thu Jul 31, 2014 3:00 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Success story : porting project from Raspberry

Unread post by fpp » Thu Sep 18, 2014 6:12 am

Well, either way those two additional words got a lot more attention than the large post before... :-)*

gripped
Posts: 691
Joined: Tue May 21, 2013 11:34 pm
languages_spoken: english
ODROIDs: U2 XU U3 XU3
Has thanked: 0
Been thanked: 0
Contact:

Re: Success story : porting project from Raspberry

Unread post by gripped » Thu Sep 18, 2014 8:31 am

LiquidAcid wrote:Maybe I should clarify. The STFU goes to the tl;dr demanding crowd, and not to the OP. That this abbreviation even exists is a pretty sorry state, since it shows that people are not willing to focus their time on something. Following a longer conversation, reading and analysing a longer text, etc., people are less and less capable of doing this. Don't let these people tell you that this is a good development, because it definitely is not. Therefore: STFU to all of you who think "tl;dr".
"tl;dr" (only kidding ;) )

Fair enough, And I do agree with your sentiment. Once explained !
These days it seems everything has to fit in a 'tweet' or it's tl;dr.

SpearUK
Posts: 15
Joined: Thu Jul 31, 2014 10:10 pm
languages_spoken: english
ODROIDs: ODROID-W
Has thanked: 0
Been thanked: 0
Contact:

Re: Success story : porting project from Raspberry

Unread post by SpearUK » Wed Sep 24, 2014 9:44 pm

Nice project. Thanks for introducing me to pygame seems a great way to get a small custom display working without X.

fpp
Posts: 46
Joined: Thu Jul 31, 2014 3:00 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Success story : porting project from Raspberry

Unread post by fpp » Thu Sep 25, 2014 2:33 am

Thanks ! Everything you need to know to get one of those small, cheap SPI LCDs working on the raspi/W can be found by starting from here :
http://marcosgildavid.blogspot.fr/2014/ ... ng-on.html

Then in Pygame it is just a matter of setting an environment variable at the start of the script to make it use the framebuffer for that display...

fpp
Posts: 46
Joined: Thu Jul 31, 2014 3:00 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Success story : porting project from Raspberry

Unread post by fpp » Thu Sep 25, 2014 4:43 am

I just realized that when I wrote the first post I hadn't yet taken pictures of the new Odroid W setup, so here it is :
dapi31.jpg
dapi31.jpg (196 KiB) Viewed 3727 times
I hadn't realized either that this forum supports local attachments, so I'll add inline pics in that first post too...

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 1 guest