Raspberry Pi Touch Screen Car Computer




Have you ever envied your friends' sweet touch screen systems in their car? Do you look at the dash of your old and decrepit 1992 Isuzu Rodeo and dream of having a slick computer system in your car? Well, your in luck. This Instructable will be your guide on building a system that is low cost and easy to build; it doesn't even require special tools.

The goal of this Instructable is to create a easy-to-build car computer based on the Raspberry Pi. It does not require special tools and very little knowledge of the Raspberry Pi. I chose not to use advanced tools like 3D printers or laser cutters because, while many do have access to these machines, I have been turned off of projects in the past for using such "out of reach" resources.

The CarPC runs off of a Raspberry Pi Model B running Xbian, a version of XBMC made for the Pi. The touch screen is resistive which, while not ideal, keeps cost down and is easily available through Amazon. It has the capacity to play music, watch videos, look at pictures, play games, and much more.


Raspberry Pi Model B

Tontec 7 inch LCD Touch Screen 720x480

Power supplies for both Pi and Screen

Car charger for Pi

SD card

Car stereo (can be stock)

30 feet of wiring fit for your stereo

USB drive

Clothes hanger

Soldering Iron

Gorilla Glue


Various odds and ends mentioned within the Instructable.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Gather Your Materials for Assembly

No, this isn't real programming...

Here is what I used:

Raspberry Pi Model B (Not the model B+, I used it originally and could not get the touchscreen to function properly.)

Tontec 7" LCD Touch Screen Display

USB Keyboard OR computer that can SSH into Pi

Both AC and DC Pi Power supply (5v 1amp)

LCD Power supply (12v 2 amps DC)

Step 2: Assemble the Screen

This is fairly simple but there is still room for error.

First, grab the LCD screen and the LCD control board. (They are both labeled in the previous step.)

Then, plug the ribbon cable from the screen into the control board with the same orientation as pictured. Make sure to unlock the black tabs first and to lock them after inserting the ribbon. (Screen and board should both lay flat facing up.)

Now, plug the button board for the screen into the control board. It uses the flat white cable to do so.

Now, connect the HDMI cable from the Pi into the the LCD control board.

Lastly, plug in the DC power into the power port when ready to power on.

Step 3: Installing and Attaching the Touch Panel to the Screen

So, here is a strangely simple bit of the process. Most people would use special adhesive strips made for touchscreens for this process, I decided that I didn't want to wait for shipping so I used scotch tape. It surprisingly worked very well.

To do so, lay the touch panel flat atop the LCD screen. Make sure the touch control ribbon is on topside and that the corners are square.

Next, administer tape along the edges of the touch screen in a manner that attaches it to the the LCD module. There should be no tape along the front side of the touch screen, only on the sides.

Flatten the tape to make it less noticeable, there should be no wrinkles.

Use more tape to reinforce the tape already supporting the touch panel.

Once the screen is solid and looks nice, you should be done.

Now, attach the ribbon cable from the touch panel to the red-white-green-black cable. Attach that cable to the appropriate port of the touch control board.

Finally, attach the white end of the supplied USB cable to the board. That USB will then go into the Pi.

Step 4: Set Up the Raspberry Pi

This one can be a tricky one as it is different depending on the type of computer one does it on, whether it be Windows 7, 8, Mac, or Linux. Rather than cluttering this Instructable with easily obtainable knowledge, here is a link to a tutorial from the Raspberry Pi team themselves.

The image needed is Xbian, which can be downloaded here.

On the hardware side of things, a Pi compatible power supply is needed (5v, 1 amp or more), an 8gb SD card or greater, and an HDMI cable.

Once the SD card is inserted, the screen plugged in through HDMI, and the power turned on, you should see progress appear on the LCD screen. It will take a bit too load the first time but a setup screen will eventually appear with XBMC in the background. You are now finished with this step.

Step 5: Configure the Touch Screen

The next step involves entering the terminal and typing things. This may seem daunting to some and others feel like the terminal is only for 1337 hackers. These are both false expectations as it is really quite simple as long as you follow instructions. I would highly recommend to SSH for this next step, as it saves a considerable amount of time, although it is not necessary. SSH'ing is the act of wirelessly tapping into your Pi through your home computer; therefore it must be connected to the same network as your computer.

You must have the Pi connected to internet for this, most easily through ethernet.

If you are going to SSH, follow this tutorial to get started.

If you aren't going to SSH, plug in a keyboard and access the terminal by selecting the "exit" option.

Sign into the Pi. Username is "xbian" and Password is "raspberry".

Anything in brackets you type into the console; do not include the brackets.

type [sudo stop xbmc]

and then [wget https://github.com/brantje/xbian-touch/raw/master...

after that crazy looking code goes by, type [sudo sh install.sh]

Now follow the on screen instructions, you will have to calibrate the touch screen.

Once done, type [sudo reboot]

If you have issues, refer to this, it may help to perform the manual version (I chose the easier automatic version at the bottom of the page). It is the source of this wonderful method. Thanks Markamc!

Step 6: Congrats, Your Touch Screen Works (Hopefully)! Time to Put It in the Car!

At this time, your touch panel should be operational. There may be issues as Xbian updates or just the finickiness of the Pi platform.

Now it is time to install it in the car.

This step is obviously different depending on the vehicle. I installed it in a 2009 Ford Ranger, which luckily has a large stock OEM stereo. Some cars have smaller stereos and will require different methods of mounting.

To continue, one must remove the radio. For mine, I removed two screws located above the climate control. I also made my own radio pullers with a coat hangar. Simply stick these bent clothes hangers into the "pull holes" and apply pressure outwards to bend the constraints, thus letting the radio to be freely pulled from the car.

Step 7: Moving the Radio to the Back.

Here is the hardest part as it is different for every car and I am also going to assume you have soldering experience.

You must place the stock stereo in another part of the vehicle. The glove box would be easiest and could possibly not require extending the harness; however my radio was too large for that option. I placed it behind a rear jump seat within my extended cab.

It is necessary to keep the stereo as the Pi still connects to it through auxiliary ports and it is used as an amplifier. I also didn't bother extending of AM/FM, as I never use it.

The radio harness must be cut, spliced and extended to allow the radio to be placed in another part of the vehicle.

I used a fair amount of wiring for this, so make sure you have enough. Measure twice, solder once.

With your newly extended wiring harness(es), route them to your secret hiding spot for the stereo. This can be through the carpet or through side panels or however your vehicle will allow it.

Step 8: Supply Power

So now is the second hardest part. (or it could be easy, depending on how you want to do it.)

To power the LCD screen, obtain a DC power cable that fits into the port of the LCD board by either use a spare DC power cable or cutting the cable from your LCD power supply cable. Thin you must use wire strippers and strip the cable down and splice it with the wires running through the back of the cigarette lighter. These do not need to be soldered connections, but it is recommended. I couldn't safely get a soldering iron back into the hole so I opted to use cable joiners. This will probably not be permanent.

For the Pi, I used a car DC power supply, as a I wanted to shut it off completely to prevent killing the battery. (The LCD automatically shuts down and turns on when no signal is present.)

Step 9: Mount the Screen, Shove It All In.

Screen mounting will obviously differ from car to car. For my Ford Ranger, the fit is so snug the majority of the support is to prevent it from falling forward, not back into the dash. Therefore, I used spare foam board I had laying around and super glued them behind the bezel. (The foam is extra strength stuff I use to build RC airplanes)

I also used a mixture of glue and duct tape to attach the screen to the foam and the bezel. This was a cheap and easy solution to keep it in there and it still holds up.

In order to remove the screen for maintenance, the bezel is completely removable.

While this may seem like a poor method of mounting, I wanted this to be a project anyone can make with the tools in their garage; however, in the future I would most likely order a 3D printed frame for the LCD.

Be sure to hook up the audio cable to the auxiliary port of the stereo. This is how the audio gets from the Pi to the speakers. (I forgot to do this, had to take off the bezel.)


So, now you are done with the the Instructable. Congrats!

There are some things that are important with this Instructable:

I am not going to teach you how to use XBMC. That could be a whole new instructable in itself.

The Pi will go into sleep mode if it is left idle; this is fine for the most part. Shut it down safely when being left for long periods of time through the software, do not unplug the Pi while it is on. To turn it on, unplug and plug in.

A splitter can be used to add bluetooth, more usbs, and gamepads.

Games can be added as well.

Thanks for reading!

(Note: The video does not showcase music due to copyright infringment)

Glovebox Gadget Challenge

Second Prize in the
Glovebox Gadget Challenge

Tech Contest

Participated in the
Tech Contest

Microcontroller Contest

Participated in the
Microcontroller Contest

2 People Made This Project!


  • Made with Math Contest

    Made with Math Contest
  • Multi-Discipline Contest

    Multi-Discipline Contest
  • Robotics Contest

    Robotics Contest

103 Discussions


Question 4 months ago on Step 8

Did you have am/fm radio with the pi? I know you used the aux cable to run to the original radio, but that radio isn't accessible once you're done. So were you able to use the am/fm through the pi? Also can this be set up to control the heating and air in my car? It's an old car so the controls are pretty basic. I would need about 7 12vdc outputs.


Question 1 year ago

So... if you turn off your car ignition, the Pi just dies instantly?


3 years ago

Is it possible to install GPS , Music System and Camera all together in this ?

2 replies

Reply 3 years ago

The music system is already there, and the GPS and camera in-car pi has been done. I just saw it on another site right before I came here. I also saw another one which integrated the ODB-II port so he could get real-time data from the engines computer. That being said, I haven't seen one yet that integrated all of these features. Not that it doesn't exist, I just haven't found it yet after the first 3 results on Google. (I'm interested in doing very much the same thing)


4 years ago on Introduction

oook i have a question
i was planning to do this on my car but i would like to add a rear screen and put some sweet emulators on this for others to play on long trips
you think it would be feasable?

4 replies

Reply 2 years ago

Use tablet and vnc into the rasberry pi ! I think this should work !


Reply 4 years ago

It would probabaly be best to do it with a second pi. Im not sure how you would run both an emulator on one screen and XMBC on another, the Pi only has 512mb of RAM so keep that in mind. Just spend the extra 35 bucks for another buy and wire it in the back.


Reply 2 years ago

Jasper project or PiAUI integration can be done to achieve it.


3 years ago

I've gone down a 'different' road. I've set up a Raspberry Pi media sever (minidlna) and isc-dhcp-server with a very small USB powered WiFi access point that I got for £2 and an old 320 GB USB drive all in the boot (trunk). The power is via a 5V 3A UBEC (model aircraft power supply) that can handle up to 26V input. The 'front end' is a 7" android tablet (£25), running Kodi (with CarPC-touch_carbon skin. A bit of XML editing was needed to get this installed) and Maps.Me (offline maps!) for navigation that plugs into the car stereo via an Aux input. This allows me to manage media content from my desktop PC to the car via Wi-Fi and when not in use, the tablet's in my pocket. There's nothing visible to steal

1 reply

Reply 3 years ago

Why use the Pi AND the tablet? Isn't that a bit redundant? And how much space does the data for the offline maps take up?


3 years ago

How did you hook this up to your car speaker wiring? Did you hook it up to an amp? If so how... LOL It looks great!!

1 reply

Reply 3 years ago

From what I gathered, he used the audio out on the pi and ran a cable from there to the aux in on the old head unit, which he relocated elsewhere in the vehicle. Thats about the best way to go if $$$ is a primary concern. Myself, I would probably use an amp of some sort. Either a standard car audio amp or a smaller, integrated type amplifier. I can't remember what that type is called, but I see them used regularly in MAME arcade cabs.


3 years ago

i have also do this with new techniques see how easy to connect a new system in car its amazing experience http://goo.gl/eSFMgQ

2 replies

Reply 3 years ago

:) I literally laughed out loud. then cried at the ripoff