car dash tablet

Android Tablet in Car Dash – Volkswagen

Putting  a tablet in car dash.This project was on my mind for a long time.Somehow I couldn’t find any free time to build this project. But now I have done it and I’ll tell you how.

My car is a VW Polo (2014 ) and don’t have any bluetooth connectivity with smartphones or so. And also it doesn’t have any GPS Navigation applications. So my purpose was to put a tablet instead of the useless car radio. With an Android tablet I was going to have Google Maps, Spotify ,Yandex , FM radio or lets say every android app you can imagine.This is the answer of “why should I put a tablet in my car.” Lets begin.

The parts that I need were :

amplifier

An amplifier.Because my car’s radio includes an amp and when I took out stock car radio I also removed the amplifier in it.canbus shield

A canbus shield is necessary to be able to read can-bus commands from canbus line.Can bus line includes some of the car informations. I used this shield for detecting wheel button commands like Volume Up, Mute and Volume Down buttons. Behind the car radio there are two can bus cables. One of them is Canbus – HIGH and the other is Canbus-LOW. This cables must be connected to green sockets on SeeedStudio canbus shield.

arduino mega

And an Arduino Mega. Arduino mega is responsible for parsing canbus data and send them to Android tablet. Sending data to Android tablet is some really complicated work because at first I decided to use an USB Host Shield and I have done all my work according to that.But it turns out USB Host shield and Canbus shield cannot work simultaneously because both of them using SPI to communicate with the Arduino over same pin.I tried to change the pin which is used by USB Host shield but it didn’t work.So I removed USB Host Shield and used a bluetooth module to communicate Android tablet.

panel adapter

This is a panel adapter for my car and my car’s model.I put Android tablet in this adapter.It looks fine.

After gathering these items the final system is like this :

complete system

This system looks complicated but this is how multimedia player works. Lets continue with the programming.My favorite part.

Using Seeed canbus shield you can sniff you car’s canbus data. Can bus is a communication system which every packet has an id and its payload. It can be difficult to find related id with the wheel button clicks. You might want to use a serial com analyzer. But I was lucky.After a couple of attempts I have found the necessary ids related with the wheel button clicks.it was “0xbf”. Below there is a part of arduino code to identify button clicks.

You can find arduino project on github : https://github.com/clkasd/vwcardasharduino

The info which is gathered from canbus transferred to Android tablet via bluetooth. And on the Android tablet there is a little app which is responsible for example, reducing volume when the wheel vol- button is clicked.And a menu activity to open other apps.You can find Android project from here : https://github.com/clkasd/vwCarDashAndroid

Watch full process on youtube :

30 thoughts on “Android Tablet in Car Dash – Volkswagen”

  1. So…How about a compiled APK to download? There are name mistakes in your build.gradle and when compiled and downloaded, your app shows up, but the Turkish words for “connecting to internet” are always present on a screen overlay and we are not able to clear it…even though there is verified connection.

    1. Hey , let me help you.
      First ,I don’t get any name mistakes in my gradle. But I will double check as soon as I can.
      Second , the dialog which shows up onscreen is about connecting to Bluetooth link. It says just “connecting”. As I stated at the complete system image above arduino sends its data over Bluetooth.(hc-06). So the “connecting” box is about that. It tries to connect a Bluetooth chip which name is HC-06. If you look at Bluetooth base class you will see.

      The design is specifically for Samsung a5 tablet. If you install another device probably it won’t look good.

  2. Awesome work! I have a similar project and I’ve tried and sought various solutions for reverse camera. Can you help me with this?

    1. Thanks. I think your best option for reverse camera is using it like an IP camera. The only proper way for streaming video from arduino or raspberry is transferring it via wireless LAN. Then connect your tablet to same LAN. Stream it from its IP.

  3. Direksiyondan kontrol için hangi parçaları almak gerekli bu sistemi bende aracıma uygulamak istiyorum ve türk olarak bunu yapan bulabildim tek kişisiniz.

  4. Arduino be Bluetooth modülü sipariş ettim fakat can bus modülü stokda kalmamış ürünler geldi zaman tekrardan sizinle iletişime geçicem

  5. Aykut Bey, bu sistemi bende aracıma yapmayı düşünüyorum. Bir süredir internette araştırma yaptım bazı bilgiler edindim. Ancak sizin proje daha güzel olmuş elinize sağlık. Aracım Fiat Egea, araç yeni olduğu için internette ne türkçe ne ingilizce kaynak bulamadım. Geçen hafta teyibi söküp baktığımda arkasındaki girişte CAN yazısını görünce araştırmaya başladım. Sonunda bana uygun sizin projenize denk geldim. Ancak bazı konularda eksiklerim var. Vaktiniz olduğunda yardımcı olabilirseniz sevinirim. Teşekkürler iyi çalışmalar.

    1. Tabi , yorum olarak paylaşın herkes faydalansın.Ne gibi problemler yaşıyorsunuz ? Yardımcı olmamı istediğiniz konu nedir ?

  6. Can Bus Shield, arduino ve bluetooth biribirleri arasındaki bağlantı, araca bağlantı (kablolar) ve tuşların tanıtılması konuları

    1. Canbus shield arduino ile üst üste oturuyor. bluetooth u da arduino ya bağlamak için internette biraz araştırma yapın derim.Çünkü o ayrı bir konu. Hatta şöyle yapalım ben bu post’un türkçesini de yazdım. Oraya arduino kısmının kart çizimini ekleyeyim siz de daha net anlarsınız.

    1. Yukarıda bir tane resim var.Bütün sistem olarak. Ona daha dikkatli bakmalısın. Bütün kablo bağlantılarını yazdım. Özet olarak şöyle benim arabamda 12 adet kablo var bunlardan ikisi 12V + ve – diğer 8 tanesi hoparlör kabloları ve 2 tanesi de can.12V kablolarını güç almak için kullanacaksın. Diğer 8 tanesi direk amfiye bağlanacak 2 tane de CAN için var onlar da CANBUS shield daki yeşil porta bağlanacak.

  7. Aykut Bey verdiğiniz bilgiler yararlı oldu. Bluetooth bağlantısını araştırmaya devam. Teşekkür ederim . Kolay gelsin

  8. Aykut Bey bir sorum daha olacak, tabletin ses çıkışını anfiye direk mi bağladınız yoksa arada deck çevirici var mı?

    1. Deck cevirici kullanmadım.Gerçi o nedir onu da bilmiyorum.Amfi ile tablet arasında rca denilen kabloları bağladım bir de bu parazit kesici var ground loop isolator diye geçiyor o bağlı

  9. I m trying to install a tablet on my car and using your guide…what is the arduino Bluetooth shield for? is there a way you can help me with my project? I’ve purchased the arduino Mega and the CAN BUS Shield to get started, what elese do I need?

    Thanks in advance.

Leave a Reply

Your email address will not be published. Required fields are marked *