Musicbox about to go live

I hooked my musicbox up in my car last night, just temporarily to test it with the el cheapo DC->AC power inverter that I bought... and it runs!!  Even with the car off.  It doesn’t survive ignition, however, but I didn’t expect it to; at ignition, the car’s "12 volt" power line dips to more like 10 or even 9 volts.  So, that resets the unit.  But no big deal, and even the DC->DC power supply that I would have built would suffer from that problem.

So... woohoo!  This guy is ready to rock.  I wrote some code to randomize the music, so now when I press the "\" key, it plays a randomly-chosen album (out of the ~300 on the hard drive).  And when I press the "/" key, it creates a playlist of 100 randomly-chosen songs from all albums.  It’s so sweet.

I found out that I can send the audio signal into my head unit via the CD changer plug [which I’m not using (obviously, now  : )  ], so that makes life easier, because I can use the head unit’s volume control to control the musicbox’s volume.  All I need to do is buy the $18 cable from Kenwood, which just "converts" the 13-pin DIN CD changer plug into 2 RCA plugs.  Which means, of course, that 2 of those 13 pins are the left and right audio channels, one is the audio ground, and 1 or 2 are used to tell the head unit that there’s a CD changer present.  And that means... I don’t need no steekin’ $18 cable, I can hack it myself.  Go engineering!

Looking at the current competition in the car mp3 market, we have:

The Sony MEX-1HD.  10 gigabyte hard drive.  So going with an average of 75 megabytes per album, you can fit 133 albums into this guy.  But you can’t just copy them from your existing mp3 collection.  You have to rip each CD through the head unit onto its internal hard drive.  At 8x speed (= insanely slow).  And the display is tiny and cluttered.  For $1500.  Well, at least it’s cool looking.

Then there’s the Neo Car Jukebox.  This thing is pretty cool.  It has an internal hard drive too, and you can choose the size: 20 gig for $380, 40 for $440, and 80 for $500.  But it doesn’t mount in your dash like a normal stereo; instead it mounts under a seat like an amp, and it has a wired remote display / controller that you stick on the dash somewhere.  So that’s sort of tacky and weird, and it’s a small display too.

For both of those, you have to scroll through your music collection to find the band you want to listen to.  Scrolling on a display with 3 or 4 lines is a painful experience.  I think this is the biggest strength of my design.  Although you can scroll it just like those others, you can also go directly to the band you want just by typing 2 or 3 letters of the band’s name.  Type b e and you’re at Beastie Boys.

Most people’s initial reaction to this is "typing while driving???  that is so dangerous!!"  Well, it’s not typing as in typing your tax return.  It’s hitting 3 keys, for goodness’ sakes.  You need to have your eyes off the road for much longer in order to scroll through 100 or 200 or 300 bands, than to hit 3 keys.

Having a keyboard in your car also seems sorta annoying... I wasn’t sure how to get around this until I happened across this Gyration keyboard one day.  It’s small and thin and light, it’s wireless (radio) so you don’t have to point it or mess with wires, and it’s slick looking because it’s black.

And my display is big -- 4x40 characters -- and it fits right in the dash like a head unit.  So as far as looks, my setup is looking pretty nice.  And it was way cheaper than the Sony unit above, and even a little cheaper than the Neo.  $100 for the keyboard (which came with a mouse that I didn’t want, and a mouse charger, so it should be much cheaper), $120 for a 40 gigabyte hard drive, about $70 for an old computer, $30 for the LCD screen, and $0 for all the free software that I used/wrote for it.  So just over $300, and probably more like $270 once Gyration starts selling the keyboard separately from the mouse and charger.

Oh, one last thing... and this completely blows everything else out of the water... once I manage to set up wireless networking in Linux, my musicbox will have mobile wireless internet access  : )  Now, I won’t be web-browsing too much on a 4x40 screen (although some pages like stock scripts and news tickers... and come to think of it, blogs... would be perfectly do-able) but email and instant messaging will surely be in full effect.

Posted by Anthony on 9 replies

Comments:

01. Apr 3, 2003 at 10:37am by Rolly:

I’m glad to see you’re getting this done.  What a cool project.  So does the computer stay in your car?  Where do you put it?

02. Apr 3, 2003 at 2:17pm by Mom:

.....hmmmmmm. Honey, is this all part of the very costly engineering/computer science college degree curriculum that you have been working so hard at?????  Thought so ;~>

03. Apr 3, 2003 at 2:37pm by Mom:

I know you learned alot creating this project and also had fun doing it.  I just heard today that "if you enjoy your job you never have to work a day in your life".  I wish that for you.  I think you are on your way to that goal.  lvu, always !

04. Apr 3, 2003 at 2:49pm by Anthony:

Yeah the computer will stay in the car, in the hatch.  It’s really not much of a computer, though... first of all because it’s old (a Pentium ONE, 233MHz)... but also because it’s just the motherboard, ram, processor, and hard drive.  (Ok, and sound card.)  There’s no CDrom, no floppy, no modem, no monitor, no mouse.  So having it in a computer case is pretty much a waste of space in my hatch.  I’d like to fabricate some kind of smaller enclosure for it, but I’ve never done anything like that before so it’d take some planning and some time.

[ Note to self: figure out a way to keep mom off website  : )  ]

No mom, I wish I could say that I was spending my time doing this instead of school work, but I’ve hardly worked on this project at all.  It’s taken 10 months to complete, when it’s probably only a 4 week project.  I hadn’t touched it all semester until last week.

05. Apr 3, 2003 at 11:46pm by nick:

get some pics, fool

06. Apr 6, 2003 at 9:31pm by Andy:

Since a couple of years ago, I’ve had the dream of putting a computer in my car to play MP3s. I installed 4 new speakers and a 4 channel amp in my old car, but I didn’t have a computer to use. My two main problems were finding a 4x40 backlit LCD at a reasonable price, and getting a computer for this.  As luck would have it, when running network cables at a customers house, I noticed an older computer collecting dust. I inquired, and they gave it to me; it was junk to them.

I had favored the CAJUN over any other implementation, until now. I had decided to see if I could come up with any new leads on a 4x40 LCD and stumbled upon your page mentioning the Seiko M4024. I saw the details of your project and was instantly impressed. You have enough detail to help me through the part that are new to me, and you regularly update your site. I’m going to think this all over for a few days, and then, time permitting, install slackware on my machine and get this set up just as you have.

As nick said, pictures would be great. As I work on my project, I plan on documenting it completely (pictures, notes, etc.).

--
http://dynamicbits.com

07. Apr 7, 2003 at 12:10am by Anthony:

Don’t encourage Nick; he’s my brother  : )

I’m glad you like my musicbox.  I actually just got finished putting all the photos together and updating the musicbox pages, after having used it for quite a while this weekend.  I’m really psyched about it now that it’s in the car, and everything’s going smoothly so far.

I just checked out that CAJUN project; that looks incredibly complex.  Do they have any photos of devices actually running it?  I couldn’t find any on the site.  It’d be interesting to play around with it.  On the one page, they were talking about how to speed it up, and mentioned reducing the number of processes that Apache uses??  Who runs Apache on a car mp3 player??

Anyway, I’m certainly going to be tweaking my code in the next few weeks.  I need to learn about compiling the kernel so I can put the USB and sound drivers into there, since that’s supposed to speed up the boot time.  And I’ll continue the process of trying to clean up the code... I’m frustrated by the fact that it’s one big loop.  Of course, it needs to be, since it’s an event-driven system, but something about it just bothers me.  I guess I just want to make it simpler.  But in any event, it works fantastically on my 233mmx system, so it’s not so bad  : )

Keep in touch if you need any help with my code -- I’d be glad to help and happy to hear your thoughts on it.

08. Apr 7, 2003 at 2:43pm by Andy:

The CAJUN uses Apache for a lot of configuring the unit either at a local console, or remotely. I do agree with you that it seems complex.

The CAJUN photos sections has a few pictures.
MP3car.com has hundreds of examples from different people. However, not all of the examples use the CAJUN software, or even Linux.

Here are a few of the car MP3 players that stood out for one reason or another:
http://www.mp3car.com/usersites/arby/main.html
http://www.dynamoeffects.com/impee3/
http://www.hollenbaugh.net/dale/mp3/index.html

All this talk is getting me excited for the work I have yet to do on my car and the computer. I’m not sure if I’m going to be able to wait for my (3 week) summer break as I had been planning.

--
http://dynamicbits.com

09. Apr 7, 2003 at 6:47pm by Anthony:

I’m glad they’re actually using Apache for the project; I was under the impression they just had it miscellaneously running.

I looked through the photos section, but not into the "very old CAJUN 3" section, which I now see is the only place they have actual photos of the LCDs running.  All the other "photos" (all recent ones) are just computer screenshots of the browser-based config, or pictures of a computer monitor displaying text that’s formatted for the LCD.  Really, I just want to see what their installation looks like.

I’ve looked through a lot of the mp3car.com stuff before, and most of it seemed to be Windows and Winamp based.  I wasn’t at all interested in that.  The startup time alone makes it sub-desirable, although this guy apparently got it down to 31 seconds by using a special Intel BIOS.  So his system is POSTing in 12 seconds, but Windows still takes 20 more... my system takes 20 for POST but only 10 for Linux.  If only I could get a faster BIOS for my (non-Intel) board  : (

But anyway I wanted something totally customizable, and running Winamp through a plugin on Windows is not that.  I already had a decent amount of Linux experience, and tons of Perl experience (i.e. my entire website), so I decided to go that way -- and I’m so glad that I did.

Reply to this message here:

Your name
Email
Website (optional)
Subject

HomeCreate PostArchivesLoginCMS by Encodable ]