stumpje
Posts: 14
Joined: Fri May 03, 2013 6:08 pm

My project

Fri May 03, 2013 7:14 pm

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?

obcd
Posts: 917
Joined: Sun Jul 29, 2012 9:06 pm

Re: My project

Sat May 04, 2013 6:18 am

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.

stumpje
Posts: 14
Joined: Fri May 03, 2013 6:08 pm

Re: My project

Sun May 05, 2013 9:29 am

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.

stumpje
Posts: 14
Joined: Fri May 03, 2013 6:08 pm

Re: My project

Wed May 08, 2013 12:31 pm

Does someone know what software i should use for the project?

ghans
Posts: 7876
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: My project

Thu May 09, 2013 7:53 am

MPD (Music Player daemon)
LCD4Linux
Python and WiringPi


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

stumpje
Posts: 14
Joined: Fri May 03, 2013 6:08 pm

Re: My project

Thu May 09, 2013 12:24 pm

Thanks man!

ghans
Posts: 7876
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: My project

Thu May 09, 2013 5:42 pm

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
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

Return to “Troubleshooting”