Sunday, July 5, 2009

Kicking & Screaming

A visit to the local PCWorld has resulted in the acquistion of a number of items of a technical nature that should bring the creaking old Acer within sight of modernity.

I have purchased;
  • Belkin USB 2.0 notebook card (F4U008ea)
  • Belkin Wireless G USB Network Adapter (F5D7050)
  • Belkin Bluetooth USB Adapter (F8T013xx1)
  • Sandisk Cruzer Micro 8GB Thumbdrive

The idea behind this is to give the venerable old machine a pair of USB 2.0 ports via pcicma. This card replaces the old wifi pcicma card I had in there, hence the usb network adaptor. The bluetooth stick is to try to get my phone (Nokia N95 8GB) working for hands-free and internet dial-up on the move. Finally, the 8GB thumbdrive is to augment the 10GB internal hard drive to to store music and other media files for testing.

The USB card worked straight away on insertion. The Wireless USB stick required a download of the most up to date drivers from Belkin as the supplied CD simply would not install.

The Bluetooth stick was more problematic. I installed the drivers etc. and while the laptop could see the phone in the shell, Centrafuse refused to play ball, resulting in a useless uninformative error when I tried to add the handset under phone settings.

Some research on Centrafuse forums revealed that this particular model adpater did not appear to be supported in version 2. It appears that Centrafuse installas it's own Bluetooth interface software (known as a stack) from a third party provider - BlueSoleil. The problem was that this software did not support Belkin F8T01x series dongles.

Further investigation, however, revealed a workaround that modifies some text files to make the software aware of the dongle. I love the internet!

After applying this, Centrafuse recognised the phone and allowed me dial out and receive calls hands free. I'm using the laptop build in mic. and speakers for testing and sound quality is poor enough (with a significant delay). This is something of a known issue however and can be rectified by using a specific external sound card, (more info here and here). Future versions of the software promise better integration. I think the jury is still out on this.

I loaded some .AAC files from iTunes onto my memory stick and registered it as a music path in Centrafuse. It refused to play them, indicating I'd need some third party software. Checking the software specs again, I saw it plays .flac out of the box. This is good as .flac is the format I have all my music in on the multi-zone SqueezeServer whole house audio setup I've built (a whole other blog!). I loaded up some .flac files and hey presto, Centrafuse does something useful.

Well, at least now, I can do stuff with Centrafuse. It plays music, connects to my phone via bluetooth for hands free calling and works with my wifi card to provide internet access.

Next step: get the handset working as a modem for internet access out and about.





Centrafuse features

So, with Centrafuse installed, I can get a good idea of how the UI would work. One of the nice things I've discovered is that the software can bring some additional functionality to the party.

One thing it features is OBD, the ability to interface with a standardised vehicle diagnostics port to display engine management and other information. A little research reveals that Toyota has a proprietary diagnostics interface used in some Hilux up until 2006 (M-OBD). The almost universal OBD-II protocol was added in this year. As my HiLux is 2006 it's touch and go as to whether it has the required interface.

A quick removal of the panel under the steering wheel reveals a 16-port connector that I must presume is OBD-II (M-OBD connectors were loocated in the engine compartment, I think).

But at the moment, Centrafuse does not do much. I have no music on the Acer, no bluetooth for phone connection, no GPS receiver, no OBD interface. Essentially it's a pretty UI that does nothing. Yet.

HiLux Resources

In searching the InterWeb, I've come across a few good HiLux resources;

www.newhilux.net
A site dedicated to the Mk6 HiLux. Based in Australia with a discernible Australian bias, it's nevertheless a remarkable community where there are answers to everything and some very serious HiLux modding going on. (I discovered 2 ways to disable the annoying beep when the driver door is open and keys are in the ignition).

Tacoma Manuals & Schematics
Downloads of full service manuals and wiring schematics for 05/06 Toyota Tacoma, the version of the HiLux sold in the USA. Could come in useful, or maybe not. This history of HiLux vs Tacoma would seem to indicate they are two quite different vehicles. The password is pdftown.com

Toyota Owners Club
The HiLux section of the toyota owners club.

Saturday, July 4, 2009

Baby Steps

So, a decision to base the iLux on M$ Windows made things a bit easier. I tinker. As mentioned earlier, I've been into HTPCs for the past few years, building and rebuilding DVD playing, whole house audio systems for speed and silence. I also build PCs for work so I have a few bits and pieces lying around. You could say.

More online research led me to identify two main approaches to the CPU element; a custom built or off the shelf mini-itx based system or a laptop based system. My ambition is the mini-itx solution as there are advantages; the box is small and can be hidden away, I could build it myself, the system power can be directly attached to the motherboard via in-car d negating the requirement for power bricks, transformers etc.

However, I don't have a mini-itx system to hand but do have an old, old Acer Travelmate 212T so iLux version 1.0 will be laptop based.

Now, when I say this is old, I mean OLD. The manufacture date is 29/9.01 and there is a Windows ME licence sticker on the bottom. It's a Celeron 800MHz cpu with 312MB RAM and a 10GB hard drive. It has USB 1.0 only and no wifi. The battery is missing.

But it boots. It currently has Windows 2000 installed and that runs OK. This is my starting point. The idea is that I'll use this essentially free laptop to experiment with software, hardware, interfaces etc. Once I get everything working to my satisfaction, I can then splash out on a nifty tiny machine. Until then, it'll be an acer under the seat.

In addition, I have a 12v inverter I purchased from Maplins some time ago. Rather than go down the route of a dedicated dc-dc power unit wired in to the car, I'm happy to run the laptop from that using the existing power brick. It's inefficient I know and I won't have fancy smancy auto-shutdown and startup with ignition etc. but really, in these early stages, it's all about the software, functionality, UI and ease of use. Once that end is sorted, the integration is stage 2.

Now, with a CPu (of sorts) in place, it's time to start looking at software. Very quickly, through both mp3car.com and general googling, it becomes apparent that a commercial product called Centrafuse seems to be the leader. Yes, there are lots of free alternatives out there but this one seems to have a solid reputation. And there's a 30 day trial.

On downloading and installing to the Win2K Acer, the program fails to start. A little research unearths the fact that Win2K is not supported. Oh well. Several hours later, the little Acer is groaning under the weight of Windows XP Pro SP2 and centrafuse boots. Hurray!




Platform Selection

Knowing very little about carputers (as pcs in vehicles are affectionately known), I had a lot of learning to do. My objective was to build a system that would have the following functionality;
  • CD Playback
  • FLAC Playback
  • DVD Playback
  • Video file playback
  • FM Radio
  • GPS Navigation System
  • Hands free telephone integration
  • Internet Access for Web and E-mail
  • Video input for in-car camera monitoring
  • Touchscreen Interface
  • Wireless networking
  • Highly integrated hardware (out of sight)
To achieve this, I had a vague idea that I'd need to focus my research on the following areas;
  • CPU
  • Power
  • Touchscreen
  • Storage
  • Peripherals
Being a Mac fan and user, the obvious choice for me was a Mac Mini. Google searches soon revealed a few useful resources;

MacVroom - a site dedicated to Mac based carputers
123MacMini - a site dealing with all aspects of the mac mini
mp3car.com - a lively community based carputer site

To my disappointment, it soon became clear that in order to meet the project objectives, a Mac was not going to cut it. While frontrow would be an excellent music/dvd/photo interface, there were many elements that were just not mature enough on the platform:

The only GPS navigation system to speak of is RouteBuddy and while it appears to function based on the demo download, the UI is not condusive to a low resolution touchscreen implementation. What a lot of people do is run boot camp or Parallels/VMWare Fusion on their mac mini and run one of the many available windows navigation solutions. This to me is an inelegant solution.

The other limited choice area is in hands free phone integration. This is usually done via Bluetooth and the only really mature application I came across for the mac is BluePhoneElite2. The demo of this worked very well on my MAcBook Pro and connected with my Nokia N95 8GB seamlessly, transferring contacts, call history etc. perfectly. However, the UI is again not all that suitable for touchscreen control having multiple small windows etc. In addition, it runs as a separate application so I'd need to be switching back and forth between front row, windows and BluePhoneElite2 - not an ideal situation.

Finally, the Mac section of the forums at mp3car.com is littered with half-finished mac carputer UI projects that either don't work, are no longer supported or require end-user compilation.

It was becoming clear that I'd not be using a Mac Mini in the iLux - just as well as I don't have one and it would really have pushed the project budget to buy one. The iLux will have a Microsoft heart.







Project iLux

In October 2008 I purchased a Toyota Hilux. Actually, a 2006 Hilux Vigo 3.0 crew cab, originally imported from Thailand but acquired by me from McConnon Motors. It replaced a Peugeot 306 that had served it's time well but was just too small for use for work (lugging video equipment around) and scouts (lugging camping gear around).

I was pleased. The HiLux is a fine pickup. The Vigo spec. is nice with leather interior, a/c and a few other luxuries you wouldn't normally expect in a pick-up. Mine has an aftermarket reversing sensor and a Nokia bluetooth kit for hands free calls.

I was aware on purchase that the imported Vigo model, while far exceeding typical Irish poverty spec. equivalents, might have a few problems. First, the chassis is not galvanised like European models and so is prone to premature rust. Secondly, as Thailand is a fairly hot part of the world, heaters are not fitted as standard, a/c only. On import, aftermarket heaters are added but are often not quite up to the job.

Having driven the car for a few months, it became clear that the heating issue was an issue. While there is a rotary heating dial running from hot to cold around about 270 degrees of travel, this control is effectively an on/off switch. Heat is either on at its full extent or off. Except on the coldest days, this is a problem as I found myself constantly adjusting the heating.

In addition, two mysterious rocker switches are present on the dash. It took a while for me to figure out that these control the a/c and, when engaged, the cold air gets colder. Hmm.

As a, (mostly), happy new owner of a Lux, I set about searching the internet for resources on the car. I had, in fact, came across the HiLux Pickup Owners Club website prior to my purchase during my research phase and it was through this site that I came across Adam from Samson Vehicle Services Ltd. They are based in Kent and specialise in 4x4 customisations with a particular focus on the HiLux. In discussing the heating problem online, I discovered Adam offered an upgrade service whereby he would swap out the problematic heater for a full uk spec. a/c and heater.

As it happened, and quite coincidentally, we were planning a family holiday to the UK and part of the itinerary involved a visit to my aunt who constantly reminds me has been living in Kent for 25 years and not once had a visit from her favourite nephew. A quick look at the AA routeplanner revealed that Samsons were located about 10 miles from where we would be staying. An opportunity too good to miss.

In looking at their website, it soon occurred to me that there might be a few other toys I could add to the car. They offer a cruise control add-on that looked attractive. However, the thing that caught my attention was the Pioneer Avic 700BT system. This is a cd/radio system with built in touch screen, GPS navigation system, usb support and, crucially, video input.

From time to time, I use the HiLux as a camera car, attaching video cameras and driving to obtain particular shots. I have a small video screen that I can rig up in the cabin to monitor the camera as it records but had previously considered the luxury of having a screen permanently in place that would save time and also provide additional gizmos. I had previously looked at the Kenwood DNX5220 but had discounted it on account of cost.

Now, however, I had an opportunity to get a similar unit installed while the factory fitted radio would be removed for the a/c conversion. That made sense.

Thinking on it a little more however, I had a brainwave. These all-in-one units were similar to computers in their functionality but were somewhat hampered in that the OS, firmware and feature set was restricted to manufacturer specification. Surely, it should be possible to put an actual computer in a car? I'd been here before having built a few home theater PCs that emulated the features of DVD player, PVR etc. but were a lot more flexible than those individual devices.

Some research was needed and the iLux concept was born.