Equipment list and estimated cost (total ~$160):
- CanaKit Raspberyy Pi Basic Kit (Pi, Case, Power Supply) - $46.95
- 2 x 7 in TFT Color LCD Screens - $30/ea.
- 8GB Class 10 SD Card - $7.60
- RCA Splitter - $6
- Edimax EW-7811Un 150M 11n Wi-Fi USB Adapter - $10
- 2 x 12 V power adapter (for screens) - $5/ea.
- BESTEK 200w power inverter for car - $23
- 2 x RCA video cables - already owned
- USB powered hard drive - already owned
I know DVD players with two screens are cheaper and probably have better video resolution. The advantages here are that we don't have to be reaching back and load new DVDs throughout the trip, we don't have to bring a binder of DVDs with us, and most of all it was a fun project.
After I got Xbian installed on the Pi, I had to figure out how to get the phone to control it. I didn't want to have to bring a wireless router with me and create a mini-network. I came across a post that explains how to make the Edimax nano usb adapter an access point (Xbian recognizes the device automatically). Then, you just have to have your phone connect to the access point to control it.
Essentially, run the following commands:
- apt-get install bridge-utils hostapd
- wget http://www.daveconroy.com/wp3/wp-content/uploads/2013/07/hostapd.zip
- unzip hostapd.zip
- sudo mv /usr/sbin/hostapd /usr/sbin/hostapd.bak
- sudo mv hostapd /usr/sbin/hostapd.edimax
- sudo ln -sf /usr/sbin/hostapd.edimax /usr/sbin/hostapd
- sudo chown root.root /usr/sbin/hostapd
- sudo chmod 755 /usr/sbin/hostapd
Place the following in /etc/hostapd/hostapd.conf:
interface=wlan0Reboot and uncomment the following line in the /etc/default/hostapd file:
DAEMON_CONF="/etc/hostapd/hostapd.conf"I didn't want to bridge the wireless and wired network interfaces (which is what the above-linked tutorial shows), I just wanted a wireless access point, so the following was all I needed in the /etc/network/interfaces file:
iface lo inet loopback
iface eth0 inet dhcp
iface wlan0 inet static
The Yatse remote ended up working best for me.
Adding the HDD so I could browse the movies on it from my phone was a little tricky. On the Pi, under Videos > Files, the HDD likely shows up there and you can select movies from the file structure, but that won't display the files on your phone. If you want to control it from the front passenger seat, you'll need to select "Add Videos" instead of your HDD, and then select the folder containing the Movies. Then in Yatse, that Folder should show up under Files/Playlists in the Left slide-out menu.