Audizine - An Automotive Enthusiast Community

Results 1 to 8 of 8
  1. #1
    Established Member Two Rings Ice_2k's Avatar
    Join Date
    May 12 2008
    AZ Member #
    28668
    Location
    Bucharest, Romania

    Exclamation DIY: Wireless screen mirroring & audio/video streaming from iPhone/iPod/iPad to MMI

    Guest-only advertisement. Register or Log In now!
    Hey guys,

    This topic will contain the steps I went through to get my iPhone screen mirrored to the MMI without plugging a cable into the phone. This also means that audio/video streaming is supported (e.g. starting a youtube video on the phone and then "casting" it to the MMI).

    Prerequisite: your car must have the Audi Music Interface (AMI) option.

    Main parts needed:
    • Wireless router (optional: having a 4G-enabled router means you'll also get an internet hotspot in the car)
    • Apple TV 3rd gen (4th gen is also possible to use and would have much more features as it has its own AppStore but I wasn't sure about the result when I started looking into this and didn't want to spend the extra money for it; i got the 3rd gen used for 70$)
    • AMI to RCA cable
    • HDMI to analog video converter
    • HDMI-HDMI cable


    No, let's break it down:

    The wireless router: this has the main purpose of creating a WiFi network for both the phone and Apple TV to connect to, so they can talk to each other. My main idea was to skip the router and just have the Apple TV connect to the iPhone's hotspot but this turned out not to be a viable option because the iPhone itself is not connected to the WiFi network it creates.
    An added bonus of this is that by using a 4G-enabled router (or, as I did, a router with a USB port into which a 4G stick can be inserted), the car will get its very own internet hotspot, which is kinda cool.

    The router, the 4G USB stick and the cable I use to charge my phone while streaming from it (I'm keeping it in the armrest):

    FullSizeRender 5.jpg


    The Apple TV: This needs a bit of work, because the Apple TV is normally meant to be powered from a wall socket (110V/220V AC) and we need to get it to run on DC at much lower voltage. To do this, I did a few things:
    1. Installed a normal 12V car charger with double USB output (one for the Apple TV, one for the HDMI to analog converter) in my glove compartment. I had this wired directly to the car to its own fuse in a shop as there is no 12V socket in the glove compartment. The purpose of this charger is to get the voltage from the 12-14V the car gives down to a more manageable 5V, which, if using a quality charger, should be stabilised voltage.
    2. I opened up the Apple TV and replaced its power source with a small chip that further lowers the voltage from 5V to the 3.3V its internals require. See bottom of this article for details on how to do that.


    After you got all of this done, it's just a matter of linking and configuring everything:
    • Apple TV and HDMI to analog converter get power from the car charger in the glove compartment
    • (4G-Enabled) WiFi router gets power from the 12V socket in the armrest (another 12V car charger required here, recommending also one with double USB output to also accommodate charging the iPhone while streaming)
    • Link HDMI to analog converter to Apple TV with HDMI-HDMI cable
    • Connect both iPhone and Apple TV to the WiFi router.


    There are two ways of getting the audio & video from the iPhone to the MMI:
    1. AirPlay mirroring - this mirrors the entire iPhone screen and its audio output to the MMI, regardless of what's on the screen. This is great for stuff like navigation apps. What I usually do is start the navigation app (Google Maps, Waze, whatever), then open the Music app, Shuffle All and go back to the navigation app. This gets you both navigation and music through the MMI, just as if you were using the car's built-in navigation system.
    2. Audio & Video streaming - this is a much better way of playing movies as it uses a protocol that knows how to buffer data and all that good stuff. A bad connection in this scenario will just pause the video while buffering as opposed to simply skipping frames and jerky audio as you would get if using the normal live screen mirroring. Most apps support this kind of streaming and it's also built-in to the default video player in iOS. Apps that I tested and found to work fine are Youtube, Vimeo, HBO GO, other live TV apps from my country which are not really relevant for the US and so on. To start streaming, start the video normally on your iPhone and then look for the AirPlay icon - example


    Now, for the fun part. Modifying the Apple TV to accept 5V DC power input

    Needed parts & tools:
    • Apple TV (duh)
    • The chip that actually gets the voltage down to 3.3V. I used the LM1084 regulator in its 3.3V version. This is guaranteed to output 3.3V stabilized.
    • An USB connector. I actually ended up using the USB female side of an USB cable I had laying around because I wasn't patient enough to wait another day to buy a normal connector :)
    • Small & big screwdrivers
    • Soldering iron
    • Voltmeter


    FullSizeRender 6.jpg IMG_6128.jpg


    Step 1, opening the Apple TV.
    Insert a small flathead screwdriver between the rubber bottom and the plastic side somewhere between the center of the rear side and the UTP connector. Once you get it to popup a little bit, insert a bigger screwdriver and rotate it to widen the gap. Then, take out the small one and continue on until you get the entire bottom part to pop out. The thing is reasonably strong, don't worry too much about breaking something but take your time nevertheless.
    IMG_6129.jpg IMG_6130.jpg


    Continuing in next post as there's a 5-image limit per post...

  2. #2
    Established Member Two Rings Ice_2k's Avatar
    Join Date
    May 12 2008
    AZ Member #
    28668
    Location
    Bucharest, Romania

    IMG_6131.jpg


    Step 2, taking out the Apple TV's AC power source

    • Unscrew the two little screws holding the connector in place

      IMG_6132.jpg
    • The body of the power source is taped to the top of the Apple TV. Slowly peel it off and unplug it from the Apple TV's electronics.

      IMG_6133.jpg
    • The power source's output connector has 8 wires. Looking at it from the top (as it was plugged into the electronics), the first 3 wires (towards the power source) are the plus, the next 3 are the minus (mass) and the last two are not used. This can be easily checked by plugging the power source into a wall socket and measuring the voltage on its output connector.

      IMG_6134.jpg
    • The first 3 wires must be soldered together and the next 3 as well. The last two should just be isolated.

      IMG_6135.jpg


    Continuing in next post as there's a 5-image limit per post...

  3. #3
    Established Member Two Rings Ice_2k's Avatar
    Join Date
    May 12 2008
    AZ Member #
    28668
    Location
    Bucharest, Romania

    • Expose the wires of the USB wire (or the USB connector if you went the right way instead of the lazy one, like me). The wires should be color coded (red for plus, black for minus/mass) but it wouldn't hurt to plug it into an USB port and check the voltage to make sure you're getting the right wires.
    • Looking at the LM1084 from above with the writing on it facing upwards, the right leg is the plus of the input (the plus from our USB connector), the left one is the minus/mass which will be common to both input and output and the middle one is the output. We will be inputting 5V between right and left and getting out 3.3V between middle and left.

      IMG_6136.jpg IMG_6139.jpg
    • Attach the output of the LM1084 to the connector we got from the Apple TV's source

      IMG_6140.jpg
    • Use some double sided tape to secure the LM1084 in place. You can also use an aluminium radiator if you'd like but I found that the voltage drop is low enough for the LM1084's built-in radiator to be sufficient.

      IMG_6142.jpg


    Apple TV powered by my iPad USB's charger

    IMG_6144.jpg

  4. #4
    Established Member Two Rings Ice_2k's Avatar
    Join Date
    May 12 2008
    AZ Member #
    28668
    Location
    Bucharest, Romania

    Final step, admire your result :)


    IMG_6149.jpg
















  5. #5
    Active Member Two Rings
    Join Date
    Jun 29 2014
    AZ Member #
    260168

    Great work! Can You record short video from car open to basic usage? I'm curious how much clicking is needed before it will be associated and video switched on MMi itself.

  6. #6
    Established Member Two Rings Ice_2k's Avatar
    Join Date
    May 12 2008
    AZ Member #
    28668
    Location
    Bucharest, Romania

    Yes, I will. There's not much to do, just give it about a minute a half for the Apple TV and router to boot up, then switch MMI Media Source to External Video Input (or always keep it like this and watch the Apple logo on the mmi while the tv boots). Then, just open the app on the iPhone that you want to use (Youtube, Waze, some media player etc) and hit the airplay button. There's not much to it really.
    Anyway, I'll make the video for sure.

  7. #7
    Established Member Two Rings Ice_2k's Avatar
    Join Date
    May 12 2008
    AZ Member #
    28668
    Location
    Bucharest, Romania

    Quote Originally Posted by awo View Post
    Great work! Can You record short video from car open to basic usage? I'm curious how much clicking is needed before it will be associated and video switched on MMi itself.
    https://www.youtube.com/watch?v=QRa31Bm0AEQ

  8. #8
    Registered Member One Ring
    Join Date
    Sep 24 2017
    AZ Member #
    407405
    Location
    Portland Oregon USA

    Router

    Absolutely great post! I plan on giving this a shot this week. The question I have for you is if I have the 3G MMI which is capable of setting up it’s own wireless network then would I need the router? Curious as to why you chose to go with the router. Thanks!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


    © 2001-2025 Audizine, Audizine.com, and Driverzines.com
    Audizine is an independently owned and operated automotive enthusiast community and news website.
    Audi and the Audi logo(s) are copyright/trademark Audi AG. Audizine is not endorsed by or affiliated with Audi AG.