TymEK49 / RTI_control

Controll RTI screen using arduino
17 stars 2 forks source link

RTI Control

Standat disclaimer notice I am not taking any resposibility for bricked arduino, damaged RTI or any other damaged thing in your car. Always remember to cover metal pieces from arduino to avoid any electric damage.

I'm happy to present to you my updated code for taking control over Volvo RTI satnav screen. screen1 Head unit on photo is from facebook group Legend Volvo XC90 CAR AUDIO

This mod should work on any P2 Volvo RTI screen (like xc90, xc70, s80 etc). You can connect your navigation screen to any analog video source, like android heaunits, miracast, reverse camera etc.

!video

Code Functions:

What's new?

I decoded the OE Volvo IR Remote (30657371-1) and set up to control the screen. Also, I added remembering the last state of on/off, brightness and hotkeys.

How to use the remote?

How to use the USB serial commands?

Parts, tools, skills needed

Installation

If you are upgrading your arduino from previos version to current you have to add one wire between RTI pin 5 and RX on arduino. Also, take a look at new USB commands.

Compile and upload

Download rti_control_with_remote.ino (https://github.com/TymEK49/RTI_control/blob/main/rti_control_with_remote.ino) compile and upload it to your arduino. If you are not familiar with arduino IDE don't worry. just download the Arduino IDE for your computer (https://docs.arduino.cc/software/ide-v1) then folow first 7 steps from official guide 'Using the offline IDE 1.x.x' - https://docs.arduino.cc/learn/starting-guide/the-arduino-software-ide. Then navigate to File > Open > select rti_control_with_remote.ino whoch you downloaded and select upload. To verify if everything is uloaded correctly open 'Serial monitor' (icon in up-right corner) select 'baud 2400' and see if some code is running.

Troubleshooting:

I got some errors uploading, what I have to do?

If you are using Arduino Nano propably you have another processor selected. Go to Tools > Processor and select option with 'older bootloader'

Getting to RTI

This process is for XC90.

Click to open gallery Remove the grid around the rti screen. tip: Do not try to pry with a screwdriver or anything from above. You will damage the material around the navigation, it's too fragile. It is better to remove the airflow below and push the rti cover out from the ![01](https://github.com/TymEK49/RTI_control/blob/main/pictures/installation/01.jpg) ![02](https://github.com/TymEK49/RTI_control/blob/main/pictures/installation/02.jpg) Disconnect cable from hazard lights ![03](https://github.com/TymEK49/RTI_control/blob/main/pictures/installation/03.jpg) Push RTI cover from below ![04](https://github.com/TymEK49/RTI_control/blob/main/pictures/installation/04.jpg) Unscrew 5 torx20 and disconnect GRAY cable from RTI (BLUE is power). ![RTI](https://github.com/TymEK49/RTI_control/blob/main/pictures/RTI_connectors.png)

Wiring

Prepare cables like on scheme below

wiring

My wires:

Arduino cables: 09 just add here third cable for remote control!

Video cables: 10

You can also connect GND from Arduino to GND Video.

IMPORTANT! Remember to cover arduino body from any metal of your car! Use some plastic case or even isolation tape!

05a My new setup

05b This is from previous installtion, please rember to add cable betwen RX and PIN 5 on RTI.

06 On this photo serial from remote controll cable is missing, please rember to plug in pin 5 on RTI. Also, you can see that I forgot to solder GND cables to ech other, so I just used metal frame as GND for arduino.

If you are installing this mod for Legend Android Head Unit, here is the moment to connect everything to USB hub and hide it.

07

08

Remember to check if everything works before

OPTIONAL - sending commands from android

You don't have to install it to make RTI work, it's optional. GUI app in planns. For now I recommend to download this app and load this configuration RTI_serial_usb_terminal_cfg.txt (https://github.com/TymEK49/RTI_control/blob/main/RTI_serial_usb_terminal_cfg.txt)

screen05

You will got everything set.

Now press connect button screen07 and see the matrix in terminal 😁

Buttons 'Enter key' and 'Back key' will save current brightness to hotkeys. Rest USB commands see in chapter 'How to use the USB serial commands'.

Thanks

I would like to say thank you to those people:

This code is free to use but I'll be glad if you buy me coffee or beer 😁

revolut revolut.de/tymotedz18