You can download the latest image from the link on the top right corner of this blog(username:'pi', password:'a').
The main features are:
Hardware:
- Raspberry PI model B(256MB ram): ~35$
- 7 inch display with touchscreen for car rear view camera, from eBay(touchscreen is connected to one USB port): 80$
- HDMI male to HDMI male cable(golden plated):20$
- 8GB SDHC class 6 card: 20$
- 12V(500mA) AC to DC adapter for powering the display
- 5V(1A) microUSB AC to DC converter for powering the PI
- ST22 SkyTraq GPS Receiver Module: 25$
- Reverse Camera: 15$
[Operating System]
- Raspbian Wheezy 9.February.2013
- Custom kernel 3.6.11
- eGalax touch screen module
- si470x usb radio module
- snd-usb-audio module
[Media Center]
- omxplayer
- XBMC 12.2 Frodo
- media formats supported: listed here
- sources with objects build on 27.July.2013
- skin: CarPC-touch(download current version)
- system shutdown button(safely stop xbmc and safely halt)
- reload skin button
- switch to camera view button
- modified spectrum analyzer(OpenGL with no rotation)
- eGalax touch screen calibrated
- eGalax touch screen click&drag fix
- black rectangle behind XBMC removed
- patch to add getMousePosition feature to xbmcgui module(used to redirect clicks from the Navigation skin page to X11 using xdotool)
[Navigation]
- Navit build from source
- Zoom In, Zoom Out buttons
- Click sent from XBMC to X11 (Navit Window)
GPS Setup
1. Connect GPS module to UART TX, UART RX, GND and 3.3V or on a usb port.
2. If you are using an UART GPS module, as I did, use this tutorial or any other to setup UART communication.
3. Connect GPS to gpsd:
sudo apt-get install gpsd
gpsd /dev/ttyAMA0
Adding maps to Navit
In order to add new maps to Navit, there is a simple process. First, go to Navit Planet Extractor and download your desired area file(this will be a .bin file).
After this, transfer the file to your Raspberry PI in the folder /home/pi/navit_export/build/navit/maps/. Here, you should also update the existing .xml file and add another entry for your new map. My .xml file is looking like this:
<map type="binfile" data="$NAVIT_SHAREDIR/maps/osm_bbox_11.3,47.9,11.7,48.2.bin" />You can rename your .bin files for easier management
<map type="binfile" data="$NAVIT_SHAREDIR/maps/osm_bbox_20.3,43.5,29.9,48.4.bin" />
Car Modding
I had to relocate my original Radio/CD player in the trunk and keep it set on aux input source. This included buying about 60m of wires and also harness:
1. Metra 71-9003 Bmw Mini Factory Radio OEM Wire Harness
2. Scosche VW03B 2002+ Vw Audi BMW Radio Stereo Harness
front without OEM Radio/CD player
trunk with relocated OEM Radio/CD player
Mounted Raspberry PI in the armrest
Safety:- The wires are 2mm in diameter with good insulation, resistant at temperature variations
- I have added fuses(1.5A for the radio, 1A for Raspberry PI, 1A for display, 0.1A for reverse camera trigger, 0.1A for reverse camera video signal)
Bugs:
- sound pops(will soon disappear by using this hdmi to hdmi and audio splitter)
- Navigation is behind Video Player -> Navigation isn't visible while playing videos(this isn't a big issue)