V Link HAT - SuBerPL/v-link GitHub Wiki

This page should give an overview of the capabilities of the HAT so you can use it to it's full potential.

Features

The V-Link HAT was developed out of necessity because similar products were either unavailable or lacked essential features. It includes all the functions needed to communicate with your car.

  • Smart Ignition Logic for safe shutdown which draws virtually no current in the OFF state
  • Dual CAN Interface for High- and Low-Speed CAN
  • LIN Bus Interface, usually used for comfort ECUs
  • ADC Interface to connect analog sensors
  • Serial Interface to communicate with serial devices like the Volvo RTI display

Setup

Connecting V-Link to the car is straight forward. The terminals provide all connections you need to make. The connector is of the type Molex MiniFit Jr.

Overview

Here you can see how the setup would be implemented into a Volvo P1 (C30 / S40 / V50).

INSTALLATION

Pinout

Below you can see the pinout.

HAT SCHEMATIC

Connections

In the case of P1 Volvos you can connect the HAT to the CEM pins for power and CAN.

EWD SCHEMATIC (Borrowed from the original Volvo Electronic Wiring Diagrams)

The connections below are the bare minimum for the app to function properly:

| Connection  | CEM Connector | Pin | HAT     |
| ----------- | ------------- | --- | ------- |
| CAN-H HS    | B             | 11  | CAN 1 H |
| CAN-L HS    | B             | 12  | CAN 1 L |
| GND         | A             | 28  | GND     |
| IGN         | A             | 17  | IGN     |
| 12V         | E             | 21  | VBAT    |

Note for Raspberry Pi 3 users:

The Raspberry Pi 3 has only two UART ports. To use the RTI functionality, you need to place a jumper between GPIO4 and GPIO14, shorting them together. This will not damage your GPIO pins, and the signal will arrive at the terminal of the HAT.

Overlays

The HAT requires custom DeviceTree Overlays, which can be found here. When using the installer, these files will be downloaded automatically. If setting up everything manually, copy them over to this location:

/boot/firmware/overlays