Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 28, 2016, 08:41:11 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Raspberry/Arduinoe/etc. - Choosing a device questions?  (Read 1688 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,264
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Raspberry/Arduinoe/etc. - Choosing a device questions?
« on: December 28, 2015, 01:24:55 PM »
I have a few mini-pc type project ideas, and I'm looking for advice on which ones would be best for which projects.. I hope some of you with experience can help point me in the right direction.

For one project the requirement is to be able to record and play audio files (mp3 preferably), through a speaker.

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 7,648
    • View Profile
    • The Blog of Deozaan
    • Read more about this member.
    • Donate to Member
Re: Raspberry/Arduinoe/etc. - Choosing a device questions?
« Reply #1 on: December 28, 2015, 02:08:22 PM »


wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 8,275
  • "In my dreams, I always do it right."
    • View Profile
    • Donate to Member
Re: Raspberry/Arduinoe/etc. - Choosing a device questions?
« Reply #2 on: December 28, 2015, 03:24:06 PM »
This might help:

http://www.donationc....msg393655#msg393655

Since mouser was the last post in that thread, I'd think that he'd seen it. ;) So I'd think he was asking about personal experience of DC'ers.

I hope some of you with experience can help point me in the right direction.

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,214
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Raspberry/Arduinoe/etc. - Choosing a device questions?
« Reply #3 on: December 28, 2015, 04:53:32 PM »
If you're looking to do audio, you'll want something beefy like a Raspberry Pi or BeagleBone. I've not actually checked this, but do see if Bass (un4seen.com) works on one of those distros as it will make your life infinitely easier.

An Arduino or comparable board isn't suitable for audio unless you have very minimal requirements, e.g. play a bell/buzzer or cheesy "tink tink" sounds. I've had my Arduino playing different songs, like the Empire's theme from Star Wars, but it's "tink tink" and every single note has to be programmed. Fun? Sure. Productive? Not so much.

But there are other boards out there that are much beefier than a Pi. They're also more expensive though.

What I'd recommend is having a browse around to see if there are any similar projects for what you want, or anything of comparable magnitude, e.g. CPU requirements, memory, speed, power consumption, etc. That will let you see what others have already done. If they have Youtube videos, all the better as you can then see the performance as well.

Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

40hz

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 11,763
    • View Profile
    • Donate to Member
Re: Raspberry/Arduinoe/etc. - Choosing a device questions?
« Reply #4 on: December 28, 2015, 05:51:50 PM »
The Arduino excels at projects that you want to interface to other hardware devices. In many respects it's like the old PIC  Microcontroller which it's largely replaced in the hobbyist/small prototype/maker communities. It's not that great from a general purpose computer perspective IMO. But as the base on which to build some really crafty and smart hardware devices, there's a lot to like.

The RaspberryPi is a decent enough general purpose microboard PC. It's beginning to show it's age a bit now that it's spawned a host of more powerful imitators such as the Beagleboard and the CuBox. But it's easy to use and well documented. It's probably the most forgiving and easy entry point to getting involved with these little computers. Good user community too. Reminds me of the old hacker community that grew up around the computers of my youth such as the KIM-1, VIC-20/C-64, TRS-80, and the old Atari and Acorn PCs. Lots of information and project ideas being freely shared. I thought I stepped into a time warp when I first ran into it.

The R-Pi should work for what you want to do based on your brief description. You can build a decent DVR or media center (i.e Kodi/XBMC) with the thing. And it'll handle HD. So I'm sure it'll have no problem handling a plain audio file.
« Last Edit: December 28, 2015, 05:58:27 PM by 40hz »

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,214
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Raspberry/Arduinoe/etc. - Choosing a device questions?
« Reply #5 on: December 28, 2015, 07:38:40 PM »
Open source watch? Yep.

http://oswatch.org/

Just an example of a nifty project that I tripped across since posting above.
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,406
    • View Profile
    • Donate to Member
Re: Raspberry/Arduinoe/etc. - Choosing a device questions?
« Reply #6 on: December 29, 2015, 03:17:23 AM »
Or, if you're in no hurry the C.H.I.P. computer can handle audio input/output and is cheap.

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 8,275
  • "In my dreams, I always do it right."
    • View Profile
    • Donate to Member
Re: Raspberry/Arduinoe/etc. - Choosing a device questions?
« Reply #7 on: December 29, 2015, 11:07:31 AM »
Or, if you're in no hurry the C.H.I.P. computer can handle audio input/output and is cheap.

Recommending CHIP over Onion?  Why is that?  Just curious...

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,406
    • View Profile
    • Donate to Member
Re: Raspberry/Arduinoe/etc. - Choosing a device questions?
« Reply #8 on: December 29, 2015, 09:04:42 PM »
Or, if you're in no hurry the C.H.I.P. computer can handle audio input/output and is cheap.

Recommending CHIP over Onion?  Why is that?  Just curious...

It's cheaper :)

Plus I haven't really looked at the audio input/output capabilities of the Onion whereas I knew that the C.H.I.P. had both with no extra hardware requirement.  To record a sound as a WAV file.  To play a sound, (WAV, OGG, MP3).

So really just a matter of seeing whether the C.H.I.P. can do the MP3 encoding on-the-fly when recording, (1GHz vs 400Mhz CPU in the Onion, 8 times the RAM, 4GB of onboard storage that can be used for buffering).  Depending on what the final recording qualities are to be, if it's for something that only requires a low bitrate, (like voice), then I would think it'll have no trouble.

It can also handle USB flash drives without requiring a hub since you can still connect a mouse/keyboard via Bluetooth.  Add a LiPo cell and you have battery backup if that's important.

I've got two C.H.I.P.s arriving sometime next year along with a HDMI adapter, something else to sit on the desk and gather dust  ;D
« Last Edit: December 29, 2015, 09:12:28 PM by 4wd »

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,214
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Raspberry/Arduinoe/etc. - Choosing a device questions?
« Reply #9 on: December 30, 2015, 10:27:47 AM »
Or, if you're in no hurry the C.H.I.P. computer can handle audio input/output and is cheap.

Just. Wow. That's incredible. It looks a lot easier to deal with than some of the other boards out there. The built in memory and preloaded Linux certainly go a long way.
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 8,275
  • "In my dreams, I always do it right."
    • View Profile
    • Donate to Member
Re: Raspberry/Arduinoe/etc. - Choosing a device questions?
« Reply #10 on: December 30, 2015, 11:01:04 AM »
Or, if you're in no hurry the C.H.I.P. computer can handle audio input/output and is cheap.

Recommending CHIP over Onion?  Why is that?  Just curious...

It's cheaper :)

Plus I haven't really looked at the audio input/output capabilities of the Onion whereas I knew that the C.H.I.P. had both with no extra hardware requirement.  To record a sound as a WAV file.  To play a sound, (WAV, OGG, MP3).

So really just a matter of seeing whether the C.H.I.P. can do the MP3 encoding on-the-fly when recording, (1GHz vs 400Mhz CPU in the Onion, 8 times the RAM, 4GB of onboard storage that can be used for buffering).  Depending on what the final recording qualities are to be, if it's for something that only requires a low bitrate, (like voice), then I would think it'll have no trouble.

It can also handle USB flash drives without requiring a hub since you can still connect a mouse/keyboard via Bluetooth.  Add a LiPo cell and you have battery backup if that's important.

I've got two C.H.I.P.s arriving sometime next year along with a HDMI adapter, something else to sit on the desk and gather dust  ;D

Ok... thanks for the breakout!  I was just wondering as I knew you'd used the onion.  Mine is still in my static bag.  I have a CHIP coming too, so was wondering your reason for the preference.  They've offered to ship me a new mini dock for the price of shipping... but their cart wouldn't handle the shipping.  *sigh*.  They've also said after being sent a picture, insert the needle here... but that didn't work.  I'm getting quite tired of the back and forth on it.  :(

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,406
    • View Profile
    • Donate to Member
Re: Raspberry/Arduinoe/etc. - Choosing a device questions?
« Reply #11 on: June 21, 2016, 06:29:14 AM »
They've offered to ship me a new mini dock for the price of shipping... but their cart wouldn't handle the shipping.  *sigh*.

P6214152.JPGRaspberry/Arduinoe/etc. - Choosing a device questions?

Yours if you want it, I don't have a use for it.

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 8,275
  • "In my dreams, I always do it right."
    • View Profile
    • Donate to Member
Re: Raspberry/Arduinoe/etc. - Choosing a device questions?
« Reply #12 on: June 21, 2016, 07:30:08 AM »
Wow! Thanks!  I'd given up... PM incoming!