Announcement

Collapse
No announcement yet.

self contained Android/Linux double DIN OS-S/HW unit

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • self contained Android/Linux double DIN OS-S/HW unit

    It has been a few years since I have been active here. Back then I was working on a mac mini install. That project unfortunately had to be abondend. This time around my efforts seem to have been a bit more fruitful and I wanted to share my approach with the community. I have a fully working self contained double din unit running android os build from easily available hardware (manufacturer do provide source documentation). It has internet access (tethered via phone right now, working on build in solution), provides GPS (via bluetooth GPS unit right now, will be integrated via gsm module once software problem is resolved) , music via streaming and local files (no FM yet, pandaboard is a bit tricky as noted by salpula here in the OSH thread), touch screen functionality (resistive right now but can be exchanged to be capcitative) as well as user buttons for android / volume functions, and OBDII (via bluetooth). I had it out on a 5 hour road trip last week and it performed fine (appart from spotty cell reception for music streaming). There were a few criteria for me that needed to be fulfilled, and having a self contained unit was the number one priority. I want to go from this

    Click image for larger version

Name:	P1030370_small.JPG
Views:	1
Size:	583.5 KB
ID:	2308937

    to this

    Click image for larger version

Name:	P1030375_small.JPG
Views:	1
Size:	583.2 KB
ID:	2308938

    by just attaching an aftermarket radio adapter (no amp in the car)

    Click image for larger version

Name:	P1030374_small.JPG
Views:	1
Size:	638.5 KB
ID:	2308939


    I will post more details on my build in the next days.

    Here are some more pictures of the UI, navigation, streaming, and OBDII


    Click image for larger version

Name:	P1030385_small.JPG
Views:	1
Size:	353.6 KB
ID:	2308940Click image for larger version

Name:	IMG_0296_small.JPG
Views:	1
Size:	191.0 KB
ID:	2308943Click image for larger version

Name:	P1030387_small.JPG
Views:	1
Size:	284.1 KB
ID:	2308941Click image for larger version

Name:	IMG_0297_small.JPG
Views:	1
Size:	247.5 KB
ID:	2308942

  • #2
    android double din build details

    Ok, here are more details on my android open source build. Since the goal behind this build is total freedom from manufacturer restrictions, most all components are open source (I will highlight which are not, why not and how they easily can be replaced by opensource-hardware). This ensures that I can use and modify my carpc the way I want without having to first "jailbreak" or otherwise modify it in order to use the full potential of the device/hardware. And if I feel the need to modify any of the components all the information necessary to do so is available.

    Motherboard: Pandaboard
    It has a 1GHz dual-core CPU, USB host connector, bluetooth, and wifi. More detailed info is available on the pandaboard website (pandaboard.org).

    Expansionboard: Chipsee Pandaboard Expansion
    Provides a 7inch resistive touch screen (can be replaced by a capacitative one, connector are on board), user input buttons (useful for android), mini pci expansion slot (support for data, voice, and GPS), accelerometer+compass+gyro sensor (last two are provided with the board). Comes with prebuild Android version and newer version also comes with ubuntu.

    Voice/Data: pci card from a Sierra Wireless AirCard 881U
    Not opensource, but that would be asking too much. Right now I am tethered to my phone via wifi hotspot until I get the card included in the linux kernel.

    Audio: Philips TDA1524A pre-amplifier (the one I used is sold as Kit100 on the web) and amplifier STMicroelectronics TDA7850, and a power noise filter for the TDA7850
    The TDA7850 is available here in the store as prebuild unit: http://store.mp3car.com/TDA7850_Inte..._p/com-140.htm).
    The K100 pre-amplifier kit was modified for use with digital potentiometer (push-button version for volume, such as the intersil FN8205, and an i2c version with multi-potentiometer circuit for the tone control).

    Housing: Black Double Din Nano-ITX Carputer Enclosure
    This is one of the non-opensource components which is available in the mp3car store: http://store.mp3car.com/New_Black_Do...p/enc-041b.htm. The housing is a perfect fit for the Chipsee 7inch screen, leaving about 5mm for the button setup.

    Push-button setup: Tactile switches for volume, power, and android control
    Simple illuminated tactile switches are used for the volume and user control. In order to make them accessible from the front of the housing I used 4.8mm acrylic rods which you can find in any good hobby store. They can be shaped in any which way when applying heat with a heat-gun.

    Below is an inside view of the button setup:

    Click image for larger version

Name:	P1030392_1.JPG
Views:	1
Size:	57.1 KB
ID:	2283968Click image for larger version

Name:	P1030395_1.JPG
Views:	1
Size:	66.8 KB
ID:	2283969Click image for larger version

Name:	P1030396_1.JPG
Views:	1
Size:	74.0 KB
ID:	2283970


    Power: Pololu Pushbutton Power Switch and CarNetix CNX-P1900 powersupply
    The Pololu switch is connected to the ignition wire leading to the P1900 (which is available in the store here: http://store.mp3car.com/Carnetix_CNX..._p/pwr-010.htm) allowing control of the carpc in addition to the ignition state via a tactile switch. The P1900 is not opensource, however it provides the needed power output (5V for the pandaboard, and 18V for the pre-amp). If you wanted to truly opensource approach, just replace the P1900 with a 5V regulator, diode, and some capacitors on a breadboard to power the pandaboard. The pre-amp can be run at 12V if the 12V regulator is removed from the pcb board. However you will loose the cranking capability of the P1900 and its power management.

    All of this is tucked into the double din housing:

    Click image for larger version

Name:	P1030400_1.JPG
Views:	1
Size:	89.6 KB
ID:	2283971Click image for larger version

Name:	P1030405_1.JPG
Views:	1
Size:	77.2 KB
ID:	2283972Click image for larger version

Name:	P1030406_1.JPG
Views:	1
Size:	67.8 KB
ID:	2283973


    Right now I am in the process of setting up a website with a lot more details on the build, in particular the wiring and pcb board layout.

    Comment


    • #3
      this looks awesome!! I would love android in the car, just got one of these http://www.ebay.co.uk/itm/Google-HD-...item1c25d24783 but need to add drivers for gps, touchscreen and bluetooth etc but dont know the first thing about programming

      Comment


      • #4
        Excellent project Nordman!

        Awaiting more implementation details

        Comment


        • #5
          Thanks adzxjr, it took me quite a bit to get to this stage.

          I had a quick look at your device, and seems to be a nice little device for the car. Your best bet to get it going is to see if anyone was able to put their own version of android on it. That will allow you to build a kernel with all your modules. The fact that most of these devices are locked down was the reason for me to go with open source hardware. You don't have to break the device first to get it going. Also, drivers are available and usually there is enough of a crowd to move things forward.
          Last edited by nordman; 04-18-2012, 02:31 AM.

          Comment


          • #6
            Thanks DigitalVampire, enjoyed building it a lot.

            Right now I am focusing on building my own kernel. Want to get GSM and GPS working without tethered phone or bluetooth GPS. Also tried Android 4.0 (running 2.3 right now). It works on the big screen (HDMI out to desktop screen) but needs kernel patching for the small screen and touch interface.

            Will post updates as I go along.
            Last edited by nordman; 04-18-2012, 02:32 AM.

            Comment


            • #7
              Are you in PA? I don't know anywhere else with a Pomfret St :P

              Really awesome build, me and a friend were actually talking about doing EXACTLY this. It's really awesome that you've gone and done it, so we see that not only is it possible, but it's really seriously affordable. I'm hoping you didn't just disappear, and can post some more pictures/information or the website you were talking about putting your details on
              "stop with the REINSTALLS, what do you think we got some lame-o installer!!!" - mitchjs
              RevFE
              My Shop

              Comment


              • #8
                Originally posted by malcom2073 View Post
                Are you in PA? I don't know anywhere else with a Pomfret St :P

                Really awesome build, me and a friend were actually talking about doing EXACTLY this. It's really awesome that you've gone and done it, so we see that not only is it possible, but it's really seriously affordable. I'm hoping you didn't just disappear, and can post some more pictures/information or the website you were talking about putting your details on
                malcom2073:
                yes, I am in Central PA (did not know, though, that Pomfret St is that unique to pinpoint my location that easily ).

                Thanks, as I mentioned this is not my first attempt at a car computer. I learned a great deal from it and what needed to be changed to get a feasable solution that is practical as well as simple and of course works. And no, I did not disapper, just crippled by my inability to post (or it just takes 5+ days to go through posting approval, not able to find my last posts in this thread). Right now I am working in parallel on my website and the carpc. To give a small update I have android 4.0 (ICS) running with touch screen and accelerometer working (thanks to input from the guys at chipsee and linaro). My next focus is to get the pandaboard FM radio working (found some useful hints here: http://code.google.com/p/androidonplatform/).
                Most what I posted above should give you a good start, the only thing missing is the power layout and push button setup. I hope to get those things up on my website as soon as possible (just too focused to get the FM radio working, because the cell network is just not cutting it). And of course there is going to be options for android source/compiled image downloads (or a detailed HowTo).

                Comment


                • #9
                  I just joined this site and this is exactly what I was looking for. I'm interested in this setup as well. Tired of the limited software of my Pioneer and like the idea of having a Android interface (i've never messed with Android before), or something that would work nicely with Windows or Linux. I want GPS NAV built in, the ability to connect to my phones wifi hotspot for streaming / internet phone tools, Bluetooth, Voice control, a large capacity 2.5" hard drive (SSD) for storing media files/OS, , 7" touchscreen, all inside that double din case. I've built my own desktop pc's before so it seems like building the pc is easy enough, but I'm not a car wiring expert.I'm unfamiliar on how to hook it up to the car (power supply/fuses/etc)

                  Comment


                  • #10
                    Originally posted by murphdog View Post
                    I just joined this site and this is exactly what I was looking for. I'm interested in this setup as well. Tired of the limited software of my Pioneer and like the idea of having a Android interface (i've never messed with Android before), or something that would work nicely with Windows or Linux. I want GPS NAV built in, the ability to connect to my phones wifi hotspot for streaming / internet phone tools, Bluetooth, Voice control, a large capacity 2.5" hard drive (SSD) for storing media files/OS, , 7" touchscreen, all inside that double din case. I've built my own desktop pc's before so it seems like building the pc is easy enough, but I'm not a car wiring expert.I'm unfamiliar on how to hook it up to the car (power supply/fuses/etc)

                    I am looking to do something very similar. A few things I want to change are
                    1)No physical buttons, it will all be touch screen
                    2)Power up at each car start (no need to have a battery I think but this can be modified later)
                    3)Integrate with Ford Sync enough to work. This will be the hardest part. There is a PAC audio adapter that might work. The only issue I am trying to think out is how to map the volume buttons and track change buttons on my steering wheel to the buttons on the expansion board. I have sent an email to PAC hoping to get more info
                    4) Add GPS and possible cell data
                    5)Somehow combine the SYNC audio with the Pandaboard audio. My idea so far is to use the AUX in SYNC but that isnt an ideal solution

                    Any comments will be very helpful

                    Comment


                    • #11
                      as promissed a while back..... here are the layout schematics for power, audio, and buttons. Please double check the schematics, it worked for me but it might not for you. Double check everything before you hook it up to the car (it is not going to be my fault if you brake something).
                      Here it goes:

                      Power Layout

                      Click image for larger version

Name:	power_layout_v03.png
Views:	1
Size:	51.7 KB
ID:	2284361


                      Audio Layout

                      Click image for larger version

Name:	audio_layout_v02.png
Views:	1
Size:	39.3 KB
ID:	2284362


                      and last the Button Layout

                      Click image for larger version

Name:	button_layout_v01.png
Views:	1
Size:	30.7 KB
ID:	2284363



                      The next step is going to eliminate the Tone Control K100, the Carnetix Power Supply + Pololu PwS, and the ISL22511. Even though it was a good idea to use them at the begining (was a lot easier to get started) but now they are obsolete. The audio control is done via software in android 4.0 (don't need ISL22511 and K100 any more) and the Carnetix is just an overkill for the job. I am working on implementing the power circuitry from this SourceForge project. It has a battery option that would also put less stress on the car battery while the car is off and it would allow a setup with "instant on".

                      Comment


                      • #12

                        Comment


                        • #13
                          Questions about your Project

                          Hello Nordman:
                          Great project.
                          I have a couple of questions. For music you only use internet radio.
                          Have you tried attaching a usb drive with music?
                          Is it possible to play the music of an Ipod with your setup?

                          Thanks

                          Comment


                          • #14
                            thanks radalv,
                            to answer your question regarding connecting external media. I had not played around with it, I either used the sdcard to play music or used streaming. So I tried to connect my ipod (an old shuffel) and after using adb to manually mount it I was able to play songs of it. Which means yes you can but it involves some manual intervention (using a terminal app or script it might work without adb, but I did not try that). I am also not able to go through the music player to play songs. Below is a screen capture on how I was able to play songs. I also attached a screenshot of the console output when the ipod gets pluged in. When I tried the same with an iPhone only the photos showed up, no access to the music folder since it does not show up as a storage device.

                            Hope that helped.

                            Right now I am playing around with ICS on my unit. It works quite good, managed to get it into tablet mode to make use of the onscreen buttons. It is not perfect though, the settings menu does not work in tablet mode. Hope to post a few more details about all that and my attempt to design my own pcb board for the hardware buttons and the power supply (want to remove the CarNetix). Volume up works through the hardware buttons, for some reason the volume down is not, even though the settings are in the kernel config file.

                            By the way, the chipsee pandaboard expansion board is now available with a capacitive multi-touch screen.


                            Click image for larger version

Name:	screen_ics_ipodplay.png
Views:	1
Size:	75.9 KB
ID:	2284691

                            Click image for larger version

Name:	screen_adb_ipodmount.png
Views:	1
Size:	73.5 KB
ID:	2284692



                            Originally posted by radalv View Post
                            Hello Nordman:
                            Great project.
                            I have a couple of questions. For music you only use internet radio.
                            Have you tried attaching a usb drive with music?
                            Is it possible to play the music of an Ipod with your setup?

                            Thanks
                            Last edited by nordman; 09-17-2012, 02:31 AM.

                            Comment


                            • #15
                              i have been on a search far and wide for an actionable button press interface. i have gotten as far as being able to map the buttons as a keyboard in android, then set those buttons to the stock android media keys (vol up, down, play/pause, etc). what i have been unsuccessful so far in doing is being able to launch an app via a button press. there's a guy on xda that seemed to be successful in doing so via a shell script, but his post was a bit above my head.

                              needless to say, i'll be following your progress closely.

                              Comment

                              Working...
                              X