DOCUMENTATION

Hardware Test

The Hardware-Test script will allow you to test the V-Link HAT and if everything is working as intended.

Preparation #


To use the script you need to setup a few things:

  • Place the jumpers next to the CAN modules to terminate the CAN Bus with 120 Ohm.
  • Connect CAN1H to CAN2H and CAN1L to CAN2L
  • Connect a device to the LIN terminal pin (if possible)
  • Connect the RTI serial to the RTI terminal pin (if possible)
  • Connect a PWM fan to the designated header
  • Power the Raspberry through a normal power supply, not through the HAT

Running the Script #


Go to the installation folder of V-Link and run the following commands:

source venv/bin/activate
python Hardware-Test.py

The result should look like this:

[ V-LINK Hardware Test v1.0 ]

CANBus:
    CAN1: Connected and working
    CAN2: Connected and working
LINBus:
    Frame: 0x00
RTI:
    Status: Messages sent successfully
ADC:
    A0: 4.096 V
    A1: 0.529 V
    A2: 0.526 V
    A3: 0.530 V
FAN:
    RPM: 270 RPM
IGNITION:
    State: LOW

Notes #


  • When a device is connected to LIN it should print the LIN Frames that the script is receiving.
  • When the RTI unit is connected, the screen should be raised.
  • When connecting 12V to the IGN terminal pin, the ignition state should switch to “HIGH”
  • The ADC section will only show voltages when the interface is working correctly. No need to attach a sensor.
Updated on September 8, 2025

© 2025 Boosted Moose

This project is an independent initiative and has no affiliation with Volvo.

Car Love <3