LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-02-2004, 05:10 PM   #1
Hiper
Member
 
Registered: Aug 2003
Location: Portugal
Distribution: Slackware 10.0
Posts: 100

Rep: Reputation: 15
turning old pc into car player (HW & SW questions)


Hi

I had this crazy idea about turning old hardware into a car music player, and i already have some old HW to make this project:

Motherboard with Pentium133 or Cyrix 166
32MB EDO RAM
1.6GB HD
10MB ethernet car
16bits soundcard

And I'm thinking about buying a CD-ROM drive and perhaps a soundcard that makes less noise

I'm fine with compiling kernels, i can do some programming, scripting, and such but i'd rather not reinvent the wheel :wink:

Description:
The OS will be GNU/Linux (surprise surprise )

I'm thinking about a ext2 partition for the OS, and something else for the partitions that stores the configurations and music.

For input i'm thinking about taking apart some old keyboard and use the existing electronics and making my own keys and also use the soundcard's game port, which gives me 4 buttons and 2 analog axes (great for volume control!)

Visual Output is most likely to be limited to 8 LEDS connected to the printer port and the 3 LEDS on the keyboard.

Sound output should be the music and some beeps and stuff.

and no X of course, so all programs will have to be CLI based, and i will not have a console or anything besides LEDS to watch

This system should be capable of playing mp3, ogg from both HD and cd-rom and also play normal audio cd's.
It should be capable of copying the ogg and mp3 cds to HD.

Now the questions:
1 -should i use the p133 or cyrix 166?
2 -do you think the HD and cd-rom player can work well on a car? (i do intend to provide some isolation from the car's vibrations)
3 -should i use some FS that does aggressive caching? which one would be best?
4 -do you think it's possible with this HW to have speech synthesizing/recognition? With what software?
5 -if i have a cd mounted, how do i eject it using the drive eject button?
6 -To copy music from computer to car, i'm thinking about setting up some light ftp server, what do you think? what server is best suited for this?
7 -How do i make sound volume proportional to some joystick axis?

stuff i've come up with so far, please comment:
I also want to start CD's automatically after i insert then. so far i've only found
http://freshmeat.net/projects/cdde/.
it's a daemon that calls an arbitrary command when a cd of some type is inserted. Is it the only way of doing this?

for the software, i've found Music Player Daemon http://musicpd.org
It's easily controlled by console, can play mp3, ogg and some other formats, it can do crossover and volume control, but doesn't do fade i/out, anyone knows a way of doing that?
It also doesn't play audio CDs, what is the most simple program to play audio cds?

I'm the quest for the fastest boot time possible, i've found Software Suspend http://softwaresuspend.berlios.de
Has anyone tried it before? Do you think the speed gain is worth the trouble?
Are there other ways to speed up booting ?

Any other comments or sugestions are welcome

Thanks in advance

Last edited by Hiper; 11-02-2004 at 05:12 PM.
 
Old 11-02-2004, 05:55 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Only one question. How will you get 110V / 220V power
to the ps of the computer inside the car? If you don't get
power, none of the rest of that stuff matters...but then
again, maybe this is simple and I've missed something.
Or is the car sitting in the garage without a motor, and
you'll use and extension cord?
 
Old 11-02-2004, 06:15 PM   #3
Hiper
Member
 
Registered: Aug 2003
Location: Portugal
Distribution: Slackware 10.0
Posts: 100

Original Poster
Rep: Reputation: 15
Hi

There are 3 solutions that i know of to get power from the car battery:

buying a DC->AC converter and plugging a standard AT power supply to it (i think this is inefficient(?) and there is the fan noise issue)
buying a DC->DC converter
making a DC->DC converter ( there are schematics on the internet)

Either way, there should be no voltage peaks and power should'nt fail during ignition.
Also normal PC drives require 5v and 12v (i'm not sure about laptops)
 
Old 11-03-2004, 02:23 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
You can get complete barebones systems that run off 12V see here that are used in mobile applications.
CDROM should not be a problem as far as vibrations are concerned. The hard drive I would mount in a carrier using springs. Mount it using 8 springs in opposing positions near each corner.

Last edited by TigerOC; 11-03-2004 at 02:30 AM.
 
Old 11-03-2004, 06:15 AM   #5
Hiper
Member
 
Registered: Aug 2003
Location: Portugal
Distribution: Slackware 10.0
Posts: 100

Original Poster
Rep: Reputation: 15
Thanks for the input

Those mini-itx boards are quite attractive for this kind of project, but my budget is low so i'll stick to the old HW

But that HD mounting seems like a nice idea!
 
Old 11-27-2004, 12:00 AM   #6
djrevelation
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Rep: Reputation: 0
Okay anybody know where i can get one of these LCD screens that i need. Premade. Yes yes, make fun of me, but my skills with a soldering iron are non existant. Another question is, once i get this thing plugged into my parallel port (thats how it looks like you do it according to a few sites i've looked at) how do i 'tell' it what to display. Is it gonna require some CRAZY shell scripting perhaps? Then also somebody wanna tell me exactly how to do the keymapping thing. I can get a keypad for dirt, but how do i 'tell' the comuter 'hey when i hit this key, go into that directory, if i hit it again play the song that you are displaying on the screen' 'this button means up' etc, carp like that.
 
Old 11-27-2004, 10:41 AM   #7
Hiper
Member
 
Registered: Aug 2003
Location: Portugal
Distribution: Slackware 10.0
Posts: 100

Original Poster
Rep: Reputation: 15
parallel communication is possible but requires lots of wires and wire distance can become a problem

Found this on a quick search:
http://www.seetron.com/slcds.htm
Many more should be out there

For car application, you will want one with backlight or something like that.

As for controlling them, i suppose just sendind some stuff to /dev/ttySX using a script or something should be enough

As for keypad, control will be largely dependent on what software you will be using.

And don't be afraid of the soldering iron
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Car MP3 player using linux NoUse4ANick Linux - General 8 11-10-2005 09:59 PM
Small Linux distro for car mp3 player? HitmanIP7 Linux - Distributions 2 07-29-2004 12:53 PM
is it possible to convert .wav files to cda so i can play it in my car cd player? 627_627 Linux - Newbie 9 07-27-2004 09:45 AM
Linux mp3 player / car audio phillhw Linux - General 2 09-27-2001 03:49 AM
car mp3 player with TFT display? JustinHoMi Linux - General 5 05-22-2001 01:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration