GOLFMK8
GOLFMK7
GOLFMK6
GOLFMKV


  VW GTI Forum / VW Rabbit Forum / VW R32 Forum / VW Golf Forum - Golfmkv.com


 
Register
MYGOLF garage
Timeslips
Search
Members List
Search Today's Posts Mark Forums Read



Go Back   VW GTI Forum / VW Rabbit Forum / VW R32 Forum / VW Golf Forum - Golfmkv.com > Technical Discussions > Exterior / Interior Care (washing, detailing, exterior repairs)
Eurotek Tuning


Reply
 
Thread Tools
Old 07-09-2019, 10:20 AM   #1
aivs
Newbie
 
Drives: Moscow
Join Date: Jul 2019
Location: Russia
Posts: 1
Virtual Dashboard

Hi, my name is Vitaliy, I'm engineer.
This project about CAN BUS hacking and dashboard development.
Name:  fe7irqll9cqks9ntuou0tric8ga.jpeg
Views: 25
Size:  442.5 KB

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.
Name:  iwirti7k3pcbuswb6oauiuw-eva.jpeg
Views: 26
Size:  273.8 KB

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.
Name:  mmfmx8m3ztnaihp71vr3k59tqg4.png
Views: 26
Size:  279.8 KB

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.
Name:  psyu6f3edmkydrq_by_pr4jvpl8.jpeg
Views: 25
Size:  426.1 KB

The device I installed in place of the glove compartment on the dashboard.
Name:  bvvsvumntnb_od7_htopcx9a-5s.jpeg
Views: 25
Size:  401.0 KB

Virtual Dashboard installed and running.
Name:  _c16ru4zndoiexgitm-crgfxgv8.jpeg
Views: 25
Size:  486.7 KB

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.
Name:  ywpyai55__cjzruemregssq7-p8.png
Views: 26
Size:  229.5 KB

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
Name:  1.png
Views: 26
Size:  294.3 KB

Name:  2.png
Views: 25
Size:  218.5 KB

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 by aivs; 07-09-2019 at 10:39 AM.
aivs is offline   Reply With Quote
Old 07-09-2019, 05:39 PM   #2
robtemp
Autocross Champion
 
Drives: 2006 VW GT UG / 2015 MK7 SE
Join Date: May 2009
Location: California
Posts: 109
That's one heck of a first post.

Very cool project. Subscribed.
robtemp is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:26 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.