Android Auto is a protocol developed by Google to allow mobile devices to be controlled by a car head unit. This means you can use Google Maps navigation, play music, get notifications of important happenings, all from your car dashboard. The official page has more [android.com/auto](http://www.android.com/auto/).
Here we are going to show you how we put together an Android Auto demonstration box, this is so Novoda can use it to help our clients write apps for awesome automobile experiences. Inspiration was from the original demo units that where demonstrated at Google I/O this year. You cannot purchase them as an item and we figured, we want one!
This post was originally going to be cookbook style. However after creating our demonstration box we have learnt the same recipe doesn’t work for everybody. Whilst creating our box Google came out with their [own DIY how-to](http://www.instructables.com/id/Android-Auto-Portable-Dev-Box-DIY/). This was too late for us and reading it now looks like it makes a lot of assumptions. So here we will outline the steps you need to take, but really detailed specifics are not necessary as these will vary depending on the shop / country / unit system you adhere to.
The idea is to have a car head unit powered off the mains running Android Auto and connected to our mobile phone via a USB cable. The whole system will be mounted inside of a builders toolbox, this lets us transport it safely and acts as a nice harness to encompass everything … sounds simple enough, right? Lets do it.
## Gather the parts
There are a few ways to set out your stand, we opted for a light up switch for the power, this actually made the build slightly more complicated as we had to work out how to connect three wires instead of the regular two on a simple switch. We also opted for a big (10 amp) power converter, this was on the recommendation that the Pioneer headunit ran at about ±5.2 amps. While a smaller one should work fine, we opted to stay on the safe side.
* 1 x [Toolbox](http://www.diy.com/departments/bq-plastic-tool-box-292mm-635mm/66295_BQ.prd)
* 1 x [Acrylic sheet](http://www.signmaterialsdirect.com/)
* 1 x [Android Auto headunit](http://www.halfords.com/technology/car-audio/dab-radios-car-stereos/pioneer-avh-x8700bt-car-stereo-with-apple-carplay-and-android-auto)
* 1 x [Headunit-to-wires connecter](http://www.halfords.com/technology/car-audio/stereo-fitting-accessories/autoleads-iso-car-audio-connector-pc3-08)
* 2 x [Speakers](http://www.maplin.co.uk/p/maplin-4-inch-102cm-coaxial-2-way-80-watt-car-speakers-l20at)
* 2 x [Switches (power & handbrake)](http://www.maplin.co.uk/p/maplin-4-inch-102cm-coaxial-2-way-80-watt-car-speakers-l20athttp://www.maplin.co.uk/p/spst-illuminated-toggle-switch-red-n29bj)
* 1 x [Cigarette power converter](http://www.halfords.com/motoring-travel/tools-diy/fuses-electricals-fixings/halfords-fused-cigarette-lighter-plug-5-amp)
* 1 x [Power converter](http://www.amazon.co.uk/gp/product/B00PUNIEI2)
* 2 x Hinges
* 2 x Brackets
* 1 x [Sticky-back velcro strap](http://www.diy.com/departments/bq-tape-w19mm-l3cm/262295_BQ.prd)
Then you need a load of [wire](http://www.halfords.com/technology/car-audio/sound-system-accessories/proflex-6mm-10awg-red-power-cable-5m) to connect the power up (our speakers came with audio wire). Here we also opted for thicker wire than was probably necessary but it allowed greater flexibility to pull and bend. The downside was when we wanted to put two wires onto one switch, the twisted pair was very thick and so it was hard to thread through other clamps.
## Gather the tools
We used so many tools! This was not predicted before the build was started. I would recommend to make sure you have a full compliment or know someone who has such things as, wire strippers, pliers, tweezer pliers, bremmle drill, file, hand drill, wire tape and wire connectors.
We also used a laser cutter at [DoES Liverpool hacker space](http://doesliverpool.com/) to cut out the acrylic sheet, engraving the Novoda logo and the bugdroids you can see on the finished product. Watch out when creating CAD (computer aided design) designs they may look wonderful on your own computer but when transferred to the actual laser cutter it’s a whole different ballgame. This is because CAD files uses weigh-points to distinguish where to cut and each version of the software (including across mac / windows) have a different perception of how weigh-points work. Many hours spent back and forth here.
## Understand the wiring
Side note: The handbrake (parking brake for you Americans) on a car determines whether you can type text and do other functions on a car headunit. When the handbrake is on, the head unit assumes the car is stationary and so allows keyboard input. Since we are not a car we will be attaching the handbrake to a switch.
Electronics are not our forte I must say. However let me try and explain. Car batteries have ground ( – ) and live ( + ), connecting a device with these gives you power. Switches with built in LED’s need this circuit also. The cigarette power converter has two wires ground and live. The power of the Pioneer head unit has power and ground. The handbrake only needs ground.
Therefore to turn our demo unit on and off, one of our switches has ground from the power supply and ground from the head unit into the ground terminal. It then has live from the power supply into its power terminal and live from the headunit into the accessory (acc) terminal. This allows the light to come on on the switch as we turn the head unit on.
For the handbrake to complete that circuit you have to connect the power supply ground to the green handbrake cable. Unfortunately we couldn’t work out how to get the light to come on when the handbrake was on without shorting out the whole box, so there is no light on the handbrake.
Audio wiring is simpler: it’s plus to plus, minus to minus. Make sure you keep as much audio cable bundled up in a cable tie so as to later avoid cable entanglement hell.
## Measure it all
“Measure twice cut once” is the mantra. I recommend measuring four or five times!
Here we first measure the size of the box so we could order the correct size acrylic perspex for the top. Pro tip: if you’re doing this on a CAD machine, allow extra space on all sides for a margin of error because it’s actually really hard to know exactly where the laser cutter is pointing. Our speakers were four inches in diameter so we traced two circles for them either side of the head unit. This was ordered as a custom piece of perspex from Sign Materials Direct.
Measure your headunit—note that these come in a caddy designed for you to easily fit it into your car, this can be removed before you measure. Another thing to measure is the amount of cable you will need, we added extra slack as we were not sure whereabouts in the box the switches and battery would sit compared to each other.
Something we didn’t do but should have: measure where the hinges, headunit braces and speakers are going to go and add these to your CAD designs. This stops you going back later on and having to drill the plastic (each time hoping you don’t crack it).
## Connect the bits
Connecting it all together allowed us to test the full system before we put it into the box. Connecting the switches allowed us to test the handbrake was working. If you go onto Google maps when the car is in motion you will not be able to search via the keyboard.
## Design fascia
We added some flair to the fascia by engraving Android logos and also positioning the switches in between the “O”s of our company logo.
## Install into fascia
Using nuts and bolts we attached the speakers to the perspex, then the head unit with brackets, nuts and bolts to the perspex. The switches already had a screw mechanism that fit nicely through our holes. Thing to note here: the Pioneer head unit comes with its own plastic surround. You can use this to hide any ‘mishaps’ from your cutting. One thing to keep in mind is that it has little nodules on it that you have to account for when cutting your rectangle (or you’ll need to file them out afterwards like we did—oops).
## Install into box
Adding the hinges is what you need to do here. Pro tip: remove the speakers and pioneer head unit from the perspex before you line up the hinges and attach them. This allows you make sure you have an flat surface to get the contact correct. We also had some sticky back velcro so that we could attach the power supply to the bottom of the box. Don’t forget to drill a hole out of the side so you can hide the power lead when displaying your amazing Android Auto demo unit.