Plenty of cars and aftermarket head units from the last decade support Android Auto, but many of them require a USB connection to work.There are commercial wireless adapters, but they start at around $30; some cost significantly more.Add How-To Geek on Google Add as Preferred Source Follow on Google Discover I built a cheaper alternative using an old Raspberry Pi Zero 2 W—which cost $15—and an open-source project.
The entire thing took less than an hour and worked perfectly.How does a Pi Zero 2 W enable wireless Android Auto? The Pi becomes an intermediary In order to enable wireless Android Auto, you effectively turn the Pi Zero 2 W into an intermediary by flashing an open-source project called WirelessAndroidAutoDongle.WirelessAndroidAutoDongle is basically a tiny, purpose-built Linux image that contains a kernel, Wi-Fi and Bluetooth drivers, and a bit of software to handle relaying information between your phone and your Android Auto head unit.
In practice, all you need to do is connect your Pi to your head unit via USB and your phone over Bluetooth Wi-Fi.It can then send Android Auto's data back and forth as needed.A few Pis don't work I'm using a Pi Zero 2 W because I had a spare on hand, but you aren't limited to that.
WirelessAndroidAutoDongle works with: Raspberry Pi Zero W Raspberry Pi Zero 2 W Raspberry Pi 3 A+ Raspberry Pi 4 Even if I'd had my choice of Pis for this project, I'd still have opted for the Pi Zero 2 W.It is small, consumes relatively little power, and isn't expensive.When you can find it in stock, the Pi Zero 2 W still costs $15, and you only need an 8GB microSD card.
Related Buying a Raspberry Pi in 2026? You'd better have a very good reason It's hard to recommend most models right now.Posts 1 By Tim Brookes The Pi Zero W would also work, but I'd be concerned about a CPU bottleneck in some situations.The Pi 3 A+ and the Pi 4 are both large, power-hungry, and "overkill" for this project.
Building a Pi-based wireless Android Auto dongle Make sure to use the right USB port on a Pi Zero 2 W Close To begin, you'll need a supported Raspberry Pi, a microSD card, and a microUSB cable that supports data (for a Pi Zero or Zero 2 W.) If you try to use a charge-only cable, this will not work.The Pi needs to be able to communicate with the head unit using USB.Begin by downloading the image from the WirelessAndroidAutoDongle release page.
The image comes compressed as an XZ file, so you'll need to decompress it first if you're using anything other than Raspberry Pi Imager.With the image extracted, open up the Raspberry Pi Imager (or the software of your choice), select the Pi you're using, and then select Use custom at the bottom of the list of images.Use the browser to point to the image file you just extracted, then follow the steps.
Once you've finished burning the image, you can open up the microSD card and edit aawgd.conf to change your Wi-Fi country code.Now, pop the microSD card into the Pi you're using and bring it, your phone, and a microUSB cable to your car.Connecting your Pi and your phone to your car You only need to pair once Close Once you're in your car, plug the microUSB cable into the centermost microUSB port of the Pi Zero 2 W.
If you look carefully on the silkscreen (the writing on the PCB), the microUSB port you want to use is labeled USB.That port is the one that can handle data and allows your Pi to connect using USB On-The-Go (USB-OTG).USB-OTG allows your Pi to act like a device that has been connected rather than a separate computer.
Then, pair your phone with the Pi over first.The Bluetooth connection you're looking for will be named something like "WirelessAADongle-####," where the hashtags are replaced by letters and numbers.It may also appear as AndroidAuto-Dongle.
Once paired over Bluetooth, your phone will automatically connect to the Pi's Wi-Fi network and Android Auto will appear on the head unit.If you get a "Looking for Android Auto" message, I'd recommend swapping the cable first.If you try to connect to the Wi-Fi network and are prompted for a password, that means you need to retry the Bluetooth connection again.
My current setup sits on the dash, but you could also stow a Pi Zero 2 W the head unit (if it has a USB connector back there) or in your center console.A Pi makes a reliable Android Auto dongle Much to my surprise, the Pi Zero 2 W dongle worked perfectly for the entire time I tested it.In total, I turned my car (and the Pi) on and off more than 20 times.
It worked correctly every single time, and without much delay either.In fact, Android Auto appeared immediately once my head unit started up, which means that the Pi actually boots and connects faster than my car's head unit can start.I didn't notice any lag while navigating, listening to music, or using speech-to-text.
If you want wireless Android Auto and you have a spare Raspberry Pi Zero 2 W available, I'd strongly recommend trying it.It has been every bit as reliable as a commercial unit.
Read More