HerrBeef / RTI_control

Controll RTI screen using arduino

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  • changing screen mode (rgb, pal, ntsc, off)
  • changing brightness
  • changing screen modes and brightness via OE remote
  • changing screen modes and brightness via Serial USB commands
  • saving last states to EEPROM

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?

  • up - on (ntsc)
  • down - off
  • left - dim the screen
  • right - brighten the screen
  • enter - brightness hotkey (by default full)
  • back - brightness hotkey (by default 20%)

How to use the USB serial commands?

  • n - ntsc mode (this is default ON option)
  • p - pal mode
  • r - rgb mode (this one OE satnav is using)
  • o - off
  • 0 - brightness 0 (darkest screen)
  • 1 - brightness 1
  • 2 - brightness 2
  • ...
  • 9 - brightness 9
  • a - brightness 10
  • b - brighntess 11
  • ...
  • f - brightness 15 (brightest screen)
  • + - save current brightness as hotkey ENTER
  • - - save current brightness as hotkey BACK
  • x - RTI will stay on, but will be off in next boot (this one is for android app development)

Parts, tools, skills needed

  • arduino (It doesn't really matter which arduino you choose. It doesn't have to be original either. I recommend the cheapest arduino/seeeduino nano you can find.)
  • RCA plug (can be with screws for easier installation) or rca cable you can cut and solder
  • some dupont wires (standart cables)
  • plastic case or isolation tape to protect arduino and your car from damage
  • USB to AV adapter - I know adapters on processor family MS91XX works
  • (optional) arduino screw shield (its easier to connect cables)
  • (optional but recommended) soldering iron - it's bteer to solder wires to make connection stronger. Remember - this is analog video signal and can be easly distorted.

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

02

Disconnect cable from hazard lights

03

Push RTI cover from below

04

Unscrew 5 torx20 and disconnect GRAY cable from RTI (BLUE is power).

RTI

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.

  • connect arduino TX to RTI 4 pin
  • connect arduino RX to RTI 5 pin
  • connect AV output to RTI 10 pin
  • connect arduino GND and AV ground to RTI 7 pin (if you have troubles to connect GND to arduino and AV video output at the same time, you can use RTI metal frame as GND for arduino 😉)

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:

  • Piotr Kapica for initial code to start RTI, schemas and knowledge
  • Sylwester Turski for helping me to manage delays in remote signal
  • Liam Sears for tests and ideas
  • Alen Osmanovic for tests
  • Roman Majdiš for tests and ideas
  • Rurik Wolfe for updated RTI connector scheme

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

revolut revolut.de/tymotedz18

About

Controll RTI screen using arduino


Languages

Language:C++ 100.0%