RTI - SuBerPL/v-link GitHub Wiki
V-Link is capable of controlling the mechanism of the Volvo P1 OEM RTI unit. The RTI requires a 5V serial input to drive the mechanism and open the screen.
To connect the RTI, you will need to connect Pin 4 on the RTI to GPIO 4 on the Pi. Be aware that directly connecting the RTI could damage your GPIO pin. You will need an additional voltage level converter to raise the signal from the GPIO to 5V. The V-Link HAT has this integrated, so you only need to connect Pin 4 to the RTI pin on the HAT.
JSON File Configuration
The json file is preconfigured and available at /v-link/backend/lin.json
. You don't really need to make any changes here except you are using a different model or serial port.
{
"type": "interface",
"name": "rti",
"interface": {
"type": "serial",
"channel": "/dev/ttyAMA1",
"baudrate": 2400
},
"timing": {
"timeout": 0.1
},
"commands": {
"modes": {
"rgb": "0x40",
"pal": "0x45",
"ntsc": "0x4C",
"off": "0x46"
},
"brightness": ["0x20", "0x61", "0x62", "0x23", "0x64", "0x25", "0x26", "0x67", "0x68", "0x29", "0x2A", "0x2C", "0x6B", "0x6D", "0x6E", "0x2F"]
},
"messages": {
}
}
interface
- The serial port on the Raspberry
timing
- Not used
commands
- Available commands to send to the screen. By default, the P1 RTI takes a command for the mode and the brightness.
messages
- Not used