Current version of the OpenAuto Pro is 12
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Audi MMI 2G High
#1
Hello! We would like to present you our solution that extends MMI 2G High infotainment in our Audi A8 D3 2005.

We added support for Android Auto, Phone Mirroring, reading and displaying OBD-II data, Bluetooth Hands-Free calling, Kodi, music player and many other features. System is based on the Raspberry PI 4 with 4GB RAM and OpenAuto Pro application. The same modifications can be done for any Audi equipped with MMI 2G High infotainment (A6, Q7, A5).

Car has not been equipped with a factory TV Tuner and F-BAS socket so the very first thing to do was mounting an LVDS Video adapter dedicated for the MMI 2G High system. However, factory TV tuner was not an option because we wanted to control OpenAuto Pro and Android Auto using the factory buttons panel. In case of displaying video from Raspberry PI using a factory TV tuner that would not be possible.

Installation of the LVDS Video adapter was quite easy - they are Plug & Play devices. It required removal of the glovebox. Then simply connect the factory LCD to the adapter and adapter itself to the MMI 2G head unit (adapter is kind of a proxy that allows switching video sources). Last thing was powering the adapter (+12V and GND).

Next we connected PIN16 from MMI 2G High head unit harness to the MAX3232 adapter - that is required to receive signals from buttons panel by the Raspberry PI. Buttons panel uses 12V logic levels which is way too much for the Raspberry PI. This is the reason why we used MAX3232 - to convert 12V logic to 3.3V logic.

Switching from the factory MMI 2G system to OpenAuto Pro is done by pressing the NAV button. Once any other “function” button on the panel like RADIO, CD, TEL, CAR is pressed then it will switch back to the factory MMI 2G system. Adapter that we used supports switching video sources using panel buttons. So both systems (OpenAuto Pro and MMI 2G) do not collide with each other. However, DVD disc with maps has to be ejected so you lose the ability to use factory navigation but Google Maps or Waze are way better and modern.

And that's all - clean setup without cutting any wires and drilling Smile.

We attached a simple schematic of how everything is connected in the car. To summarize - In order to use the factory buttons panel to control OpenAuto Pro/Android Auto you need to use LVDS Video adapter dedicated for the MMI 2G High. If you want to use a factory TV tuner then it will require you to mount some touch panel mounted on top of the factory LCD or an external keyboard in order to control OpenAuto Pro interface. Next we connected the buttons panel (PIN 16 of the MMI 2G head unit harness) to the Raspberry PI via MAX3232 converter. From the MAX3232 converter we connected a wire (TXD) to the LVDS video adapter for switching video source using buttons panel. Last thing was to connect the video signal from Raspberry PI to LVDS Video adapter.

How to configure MMI 2G buttons panel with OpenAuto Pro
Video
Video 2

   
   
   
   
   
   
   
   
   
   
   
Reply
#2
Hello BlueWave this looks amazing and I want to puchase and install Open Auto version 2.0. I have a 2006 Audi A8 with MMI 2G High. My question is about the following:

BlueWave Wrote:There are plenty of video input adapters for the MMI 2G High so we picked one and installed it in the Audi

Can you provide a link to the video input adapter you used in this implementation?


Would this one be a suitable option: https://car-solutions.com/en/video-inter...upport.php

Lastly, does Open Auto 2.0 support the use of a rear facing (backup) camera?


Thanks!
Reply
#3
Yes, it should be suitable. OpenAuto Pro 2.0 does not contain handling of reverse camera (it is planned for future releases). Nevertheless, video adapter that you mentioned includes support of reverse camera.
Reply
#4
Here is the list of hardware and software used in the project:



1. OpenAuto Pro 2.0



2. BWS Car power supply with ignition detection for automatic shutdown of the Raspberry PI



3. LVDS Video Adapter. Video adapter is connected between MMI 2G head unit and screen. It is needed for displaying video from Raspberry PI on the factory MMI 2G screen via Composite Video Source. Video adapter has also additional video input for the reverse camera. Factory TV tuner is not needed and also not recommended because project uses buttons panel to control Raspberry PI that interferes with the TV tuner controls.



4. Audio Adapter. This is optional step as audio input can be connected via AUX (if present) or high quality FM transceiver.



5. Raspberry PI 3B+, SD card, case, USB sound card, microphone and Bluetooth 4.0 dongle.



6. TTL logic converter to connect MMI 2G buttons panel to Raspberry PI



7. Others (wires, composite cable, DB9 socket, etc.)



Installation process took about 2 hours. The hardest part is connecting LVD Video adapter to the MMI 2G Head unit and one wire from the head unit harness to the logic converter (in order to read signals from buttons panel) - both steps require removal of the glove box. Audio adapter is connected to the CD Changer and MOST loop.



OpenAuto Pro 2.0 gives access to the Android Auto features like Google Maps, Music players (Spotify, Pandora, Google Music and others), voice commands, hands-free calling. There is also integration with Kodi Media Player for playing music from USB dongles. OpenAuto Pro 2.0 is equipped with MMI 2G skin in order to provide better integration with MMI controls and consistency with factory infotainment system. OpenAuto Pro 2.0, Android Auto and Kodi interfaces are controlled by MMI buttons panel.



Activation of the video signal from Raspberry PI is done by NAV button (video adapter that I have supports it). Video adapter is connected to the Raspberry PI 3 that forwards presses of MMI function buttons (Radio, CD, Car, Tel, etc.) to it - OpenAuto Pro 2.0 includes this feature. Press of the function button triggers video adapter to switch off and press of the NAV button switch it on again. Behind the video signal from Raspberry PI 3 MMI 2G displays navigation screen. In my case navigation screen is basically empty (there is no DVD with maps inserted) that allows to use MMI buttons with OpenAuto Pro without interfering MMI 2G system. When I switch to the Car, CD, Radio (or any other) menu, OpenAuto Pro 2.0 stops listening of the buttons panel until I go back to the Navigation screen.
Reply
#5
Hi, can you provide more info re. the "TTL logic converter". A link to a device you used would be helpful. Is this a CANBUS Interface? You say it connects to one wire - which wire? And does it connect to GPIO pins or via the video converter?



I am thinking of a CANBUS shield, tapping into CAN-H and CAN-L on the 'Convenience?' Bus to read the MMI control signals - is that your approach? i am assembling all the hardware components before setting up software and it appears input (MMI, Voice, Touch) is the biggest challenge in my case thx
Reply
#6
BlueWave Wrote:Yes, it should be suitable. OpenAuto Pro 2.0 does not contain handling of reverse camera (it is planned for future releases). Nevertheless, video adapter that you mentioned includes support of reverse camera.


Thanks for the reply! I found out the video adapter i reference won't support sound on its own so I'll be upgrading my MMI unit to one like this:

https://www.amazon.com/Audi-MMI-Control-...B071QYGHWM

Would I still need the "LVDS Video Adapter" or is this sufficient? This audi head unit has the FBAS for video and I'm told it can connect to the Pi via composite. I don't however know the wiring needed to connect them, any help on that would be appreciated. 


If I stil need the LVDS video adapter can you please provide a link to where it can be purchased.



Also, like Casey I'm lost on the following, please explain about the TTL Logic converter, what type is needed, where to buy and how to connect it for MMI 2G


BlueWave Wrote:6. TTL logic converter to connect MMI 2G buttons panel to Raspberry PI

I'd like to make sure i understand this before i purchase, thanks.
Reply
#7
caseyjay Wrote:Hi, can you provide more info re. the "TTL logic converter".  A link to a device you used would be helpful.  Is this a CANBUS Interface?  You say it connects to one wire - which wire?  And does it connect to GPIO pins or via the video converter?


I am thinking of a CANBUS shield, tapping into CAN-H and CAN-L on the 'Convenience?' Bus to read the MMI control signals - is that your approach?  i am assembling all the hardware components before setting up software and it appears input (MMI, Voice, Touch) is the biggest challenge in my case thx

In case of Audi MMI 2G there is used rs232 communication protocol. You have to use rsr232 to ttl adapter. It is very popular so just choose one which is available in your store.
Reply
#8
BlueWave Wrote:In case of Audi MMI 2G there is used rs232 communication protocol. You have to use rsr232 to ttl adapter. It is very popular so just choose one which is available in your store.

This looks like the same one that you used in your implementation:

https://www.amazon.com/SODIAL-MAX3232-Se...B00K67XD7Y


Please confirm. 
Also, can you provide some more information on how you completed these steps

BlueWave Wrote:connecting LVD Video adapter to the MMI 2G Head unit and one wire from the head unit harness to the logic converter (in order to read signals from buttons panel) 

It would be great if you could explain in detail with pictures thanks
Reply
#9
Yes, we used converter based on MAX3232 chip. Regarding connecting the Video Adapter it depends on adapter itself. Manufacturer of the video adapter should provide the instruction how to connect it. PIN16 of head unit harness is a TX from buttons panel that should be connected to the RX of MAX3232 converter.
Reply
#10
BlueWave Wrote:Yes, we used converter based on MAX3232 chip. Regarding connecting the Video Adapter it depends on adapter itself. Manufacturer of the video adapter should provide the instruction how to connect it. PIN16 of head unit harness is a TX from buttons panel that should be connected to the RX of MAX3232 converter.

I understand this is easy for you guys but for me this won't be simple. Can you please provide in detail with photos how Pin 16 must be connected to the MAX3232 converter?


Also, I still need you to confirm whether my MMI unit which has FBAS is all that is needed:


https://www.amazon.com/Audi-MMI-Control-...B071QYGHWM


Or if I still need the LVDS video converter you are using. If so, I need to know how to obtain it
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)