Page 1 of 1

My project

Posted: Fri May 03, 2013 7:14 pm
by stumpje
Hello guys!

I'm going to work on a project. It is a box that plays music controlled by my mobile phone.

Here is the concept:
  • The box is made out of wood. dimensions about 40x30x60cm (could be more)
  • The box contains speakers. I think i'm going to use some car speakers.
  • The music is stored on a usb stick with 32gb memory and connected to the Pi.
  • I will use my phone to add songs to a playlist for box (via WiFi direct or bluetooth).
  • Maybe a little LCD screen with some info on it
  • Buttons to adjust volume
  • In the sides of the box -> female power connector, possibility to add speakers (female jack plug)
  • The raspberry pi is connected to a 5v battery
  • The speakers are connected to a 12v battery
  • Lights for decoration (on/off by extra button)
  • Maybe some more
So. This is my first project for a Pi.
What do I need for this? I have:
  • WiFi dongle (from dealextreme)
  • Wiring and buttons
  • Pi
  • car speakers
  • 5v and 12v battery
  • LCD screen (from dealextreme)
Any tips?

Re: My project

Posted: Sat May 04, 2013 6:18 am
by obcd
To drive passive car speakers, you will need an amplifier as well. Maybe you have that but forgot to mention it.
Software volume control on the analog out of the Pi reduces the bitdepth. Due to that, distortion will increase. You might test things out and connect your Pi to an amplifier to figure out if the distortion is acceptable.
Philips used to have IIC chips for television sets that had full volume and tone control and could work with a minimum of external components. Maybe it's something you could use for your volume control.

Re: My project

Posted: Sun May 05, 2013 9:29 am
by stumpje
obcd wrote:To drive passive car speakers, you will need an amplifier as well. Maybe you have that but forgot to mention it.
Software volume control on the analog out of the Pi reduces the bitdepth. Due to that, distortion will increase. You might test things out and connect your Pi to an amplifier to figure out if the distortion is acceptable.
Philips used to have IIC chips for television sets that had full volume and tone control and could work with a minimum of external components. Maybe it's something you could use for your volume control.
Thanks for the tips and yes I've forgot. I will look into it.

Re: My project

Posted: Wed May 08, 2013 12:31 pm
by stumpje
Does someone know what software i should use for the project?

Re: My project

Posted: Thu May 09, 2013 7:53 am
by ghans
MPD (Music Player daemon)
LCD4Linux
Python and WiringPi


ghans

Re: My project

Posted: Thu May 09, 2013 12:24 pm
by stumpje
Thanks man!

Re: My project

Posted: Thu May 09, 2013 5:42 pm
by ghans
Looking at it , i believe it would be foolish to start from
scratch ... when so many tutorials and code snippets
are around.

Slightly related , just to show what you're up against :

http://www.raspberrypi.org/phpBB3/viewt ... 38&t=37094

Or if you have a DLNA - capable NAS :
http://www.raspberrypi.org/phpBB3/viewt ... 38&t=35302

An addition to my first post:

http://sourceforge.net/projects/rompr/


ghans