Pragmatism in code

Waxing lyrical about life the universe and everything software related since lunchtime 2006.

P38 Touch screen media player - Part 2


Following on from P38 Touch screen media player - Part 1 the Raspi touch screen arrived a week or so ago and I've been itching to see if it fits. I did a quick offer-up when it arrived and it looked as though it might be a bit small, so I've been keen to find out.

Tonight I removed the old screen and installed the new one. Unfortunately my suspicions were correct - the new screen is not tall enough and so leaves a gap at the top / bottom. The issue is simply that screen aspect ratios have changed since the P38 was a current model. The old 4:3 aspect ratio has now been superceded by 16:9, or wide screen / letterbox aspect. The result is that it is like looking at a widescreen movie on an old TV - you get a black stripe at the top and bottom of the screen - or in this case a gap.

Continue reading
110 Hits

P38 Touch screen media player - Part 1

P38 Sat Nav

I always wanted the sat nav unit for my P38, but being an optional extra that wasn't originally supplied with my car I had to make do with a cubby hole instead. I did consider installing one a few times, but the cost of the unit and the fact that it is now 20 year old tech with outdated maps and bitmapped graphics just wasn't worth the effort, even if it did mean I could hack in a reversing camera. So a recent stumble across a cheap sat nav head unit whilst looking for a new drivers door lock seemed like an opportunity not to be missed. The sat nav unit is missing the box of tricks that contains the actual brains of the unit, but as I am not planning to set it up in its original configuration, that is unimportant.

My plans for this unit are to junk the internals and replace the screen with a small colour touch screen that interfaces to a RaspberryPi running some form of media player. I currently use my iPhone to play tunes via a bluetooth-FM adaptor. Previous to this I used the blackbox CD - iPod adaptor but now that the connectors have changed that's not an option any more. If the media player can also provide some additional functions such as Sat-Nav, Phone controls and maybe even a reversing camera, that'd be great, but they're not essential.

So the next steps are to wait for the unit to get here so that I can determine what size touch screen will work. Touch screens are cheap and plentiful from aliexpress just need to know what size. The touchscreen will need a HDMI input or adaptor to be able to interface with the Raspi, some also come with a dedicated composite input for a camera that is automatically selected when the input is detected. I already have a Raspi unit and from a quick google it seems like Xbian is a common choice for the operating software so will take a look at that too. The tricky part will be figuring out how to get it to interface with the audio system. I suspect that the easiest way to do this is to hack the black box iPod adaptor.

More to follow...

253 Hits