GOLFMK8
GOLFMK7
GOLFMK6
GOLFMKV

Virtual Dashboard

aivs

New member
Location
Russia
Hi, my name is Vitaliy, I'm engineer.
This project about CAN BUS hacking and dashboard development.
fe7irqll9cqks9ntuou0tric8ga.jpeg

I was wondering how electronics work in my car Skoda Octavia A5 and that led me to explore the CAN-BUS. VW Golf V and Skoda Octavia based on one platform, so everything should work on VW Golf V.

To see what commands are in the CAN-BUS, I built a sniffer based on Arduino UNO and diagnostic cable VCDS.
iwirti7k3pcbuswb6oauiuw-eva.jpeg

VCDS sends a request to the sensors, Arduino UNO with special sketch arduino-canhacker sniffs messages and passes them to the program
CANHacker V2. Thus, I define CAN commands to retrieve sensor values.
mmfmx8m3ztnaihp71vr3k59tqg4.png

After several months of research, I made a list of CAN-BUS commands:
Code:
// Doors
714 03 22 22 0D 55 55 55 55
77E 05 62 22 0D 55 65 AA AA - all doors closed
77E 05 62 22 0D 00 65 AA AA - all doors opened
77E 05 62 22 0D 54 65 AA AA - driver opened
77E 05 62 22 0D 51 65 AA AA - passanger opened
77E 05 62 22 0D 50 65 AA AA - driver and passanger opened
77E 05 62 22 0D 45 65 AA AA - left opened
77E 05 62 22 0D 15 65 AA AA - right opened
77E 05 62 22 0D 44 65 AA AA - driver and left opened
77E 05 62 22 0D 40 65 AA AA - driver, passanger, left opened
01010101 = 0x55 (all closed)
0 bit - driver
2 bit - passanger
4 bit - left
6 bit - right

// Brake
714 03 22 22 05 55 55 55 55
77E 05 62 22 05 21 AA AA AA - pressed
77E 05 62 22 05 20 AA AA AA - not pressed

// Outdoor temperature
714 03 22 22 0С 55 55 55 55
77E 04 62 22 0C 55 AA AA AA - -7.5 °С
77E 04 62 22 0C 65 AA AA AA - 0.5 101 °С
77E 04 62 22 0C 66 AA AA AA - 1 = 102 °С
77E 04 62 22 0C 68 AA AA AA - 2 = 104 °С

// Showed outdoor temperature
714 03 22 10 14 55 55 55 55
77E 04 62 10 14 84 AA AA AA - 16 °С

// Range
714 03 22 22 94 55 55 55 55
77E 05 62 22 94 00 8E AA AA - 142 km

// Fuel
714 03 22 22 06 55 55 55 55
77E 04 62 22 06 2C AA AA AA - 44 l
77E 04 62 22 06 16 AA AA AA - 22 l

// Coolant
714 03 22 F4 05 55 55 55 55
77E 04 62 F4 05 85 AA AA AA - 52.5 °С
77E 04 62 F4 05 87 AA AA AA - 54 °С
77E 04 62 F4 05 С5 AA AA AA - 100.5 °С

// RPM
714 03 22 F4 0C 55 55 55 55
77E 05 62 F4 0C 0B C6 AA AA - 753.5; 0BC6 = 3014/4 = 753.5
77E 05 62 F4 0C 0B DC AA AA - 759; 0BDC = 3036
77E 05 62 F4 0C 0B E8 AA AA - 762; 0BE8 = 3048
77E 05 62 F4 0C 1C 32 AA AA - 1804.5

// Motor oil
714 03 22 20 2F 55 55 55 55
77E 04 62 20 2F 36 AA AA AA - -4 °С
77E 04 62 20 2F 67 AA AA AA - 45 °С
77E 04 62 20 2F 68 AA AA AA - 46 °С

// Temperature inside 
746 03 22 26 13 55 55 55 55
7B0 05 62 26 13 00 5B AA AA - 9.1, 91 == 0x5B
7B0 05 62 26 13 00 5C AA AA - 9.2 °С
7B0 05 62 26 13 00 5D AA AA - 9.3 °С

// Time
714 03 22 22 16 55 55 55 55
77E 05 62 22 16 11 1E AA AA - 17:30

// Buttons on steering wheel
714 03 22 22 1B 55 55 55 55
77E 05 62 22 1B 80 AA AA AA - not pressed
77E 05 62 22 1B 81 AA AA AA - pressed up
77E 05 62 22 1B 84 AA AA AA - pressed down

// Average consumption
714 03 22 22 99 55 55 55 55
77E 03 62 22 99 00 91 AA AA - 14.5l/100km

// Distance
714 03 22 22 03 55 55 55 55
77E 05 62 22 03 24 С0 AA AA - 94080 km; 0x24С0 * 10
I created the virtual dashboard based on Raspberry Pi, it connects to the CAN bus via OBD2 and shows the sensors value. Source codes can be found on github https://github.com/aivs/blackCockpit.
psyu6f3edmkydrq_by_pr4jvpl8.jpeg

The device I installed in place of the glove compartment on the dashboard.
bvvsvumntnb_od7_htopcx9a-5s.jpeg

Virtual Dashboard installed and running.
_c16ru4zndoiexgitm-crgfxgv8.jpeg

Then I decided that it would be great to create a mobile application virtual cockpit that many people can use. A cheap ELM327 Wi-Fi diagnostic adapter is used to communicate with the car. ELM327 requests sensor values via CAN-BUS and returns them to the phone via wi-fi.
ywpyai55__cjzruemregssq7-p8.png

VAG Virtual Cockpit 1.0 displays the following parameters:
1. Which door is open
2. Speed
3. RPM
4. Oil temperature
5. Coolant temperature
6. Fuel in the tank in liters
7. Range in kilometers
8. Average consumption
9. Time in the machine
10. Odometer
11. Outside temperature
1.png

2.png

To work only need ELM327 Wi-Fi adapter. VAG Virtual Cockpit tested with:
- Skoda Octavia A5
- Skoda Yeti Skoda
- Octavia A7 (not all parameters shows)
It should work with VW Golf MKV and many other VAG models (Volkswagen, Skoda, Seat, Audi)

At this moment available VAG Virtual Cockpit for iPhone/iPad. Android version in development.
If you are interested and want to support the project, here is the link to the AppStore.

I will gladly help and answer any questions. Thanks!

Video how it works on youtube
 
Last edited:
Top