Login Register

CAN bus reference?

Help, Advice, Owners' Discussion and DIY Tutorials devoted to the second generation C70, S40 and V50 Volvos -- awkwardly model year 2004 ½ onwards -- plus where to go for advice and discussion on Volvo's sporty C30 Coupe powered by Volvo's ubiquitous inline 5-cylinder power plant.
Post Reply
Teddy1975
Posts: 257
Joined: 6 January 2016
Year and Model: 2007 V50
Location: Denmark
Has thanked: 1 time
Been thanked: 7 times

CAN bus reference?

Post by Teddy1975 »

Does anyone have any information on the CAN BUS used in the V50/P1?

I'm working on my own infotainment system, ie a carputer. I know I can't be the first one to do so, not with commercial - and expensive - solutions available. I considered the MST-MOST upgrade for mp3 and smartphone integration, but that solution is wonky at best using the built-in LCD. The Bluepower solution almost fits the bill, but it seems like it is very slow booting and is full of things I'll never use, making it far too expensive for what I want.

I want to track the messages sent on the CAN bus regarding the climate control settings, and possibly the car settings menu, though that is secondary, as well as the steering wheel buttons. I may also make my own warning chimes system as I'm considering bypassing the factory audio system completely by installing an aftermarket amp and running new wiring to the door speakers.

Over the past couple of weeks, I've been searching the internet for information on the ID's used on the CAN bus for each module but haven't found much that I could use. I know I can get the info I need from logging all messages on the low speed CAN bus (although the chimes may need info from the HS CAN bus, too) but I'm not looking forward to shifting through tons of data looking for something that others may have found already.

Any and all help will be greatly appreciated.

Thanks,
Teddy
Current: V50 2.0D, 2007, 6 speed manual
Previous: 850 2.0L N/A, 4 door 1996 manual, 740 2.3L N/A, 5 door 1992 manual, and S70 2.5T 1999 manual

User avatar
RickHaleParker
Posts: 7129
Joined: 25 May 2015
Year and Model: See Signature below.
Location: Kansas
Has thanked: 8 times
Been thanked: 958 times

Post by RickHaleParker »

What you are looking for is a CAN DBC file. A CAN DBC file is a text file that contains information for decoding raw CAN bus data. If you come across any for Volvo .. I want to know. If you come across any Ford DBCs grab them. Ford and Volvo shared a lot of technology when Ford owned Volvo.

If you are good with SQL databases you can data mine the VIDA database. Some people have done it but, I have yet seen anybody publish a comprehensive DBC file.
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
1998 C70, B5234T3, 16T, AW50-42, Bosch Motronic 4.4, Special Edition package.
2003 S40, B4204T3, 14T twin scroll AW55-50/51SN, Siemens EMS 2000.
2004 S60R, B8444S TF80 AWD. Yamaha V8 conversion
2005 XC90 T6 Executive, B6294T, 4T65 AWD, Bosch Motronic 7.0.

Teddy1975
Posts: 257
Joined: 6 January 2016
Year and Model: 2007 V50
Location: Denmark
Has thanked: 1 time
Been thanked: 7 times

Post by Teddy1975 »

Thanks!

I've already downloaded VIDA after reading this blog post. Unfortunately the guy who wrote the blog post didn't go very far before seemingly abandoning it, possibly due to crashing his car. He also went the route of dissecting the VIDA database.

I've read waal70's blog posts regarding the CAN bus as well. He made it for his S60 so I don't know if the identifiers are the same, though.

Next step for me will be installing MSSQL server so I can dig deeper into VIDA.
Current: V50 2.0D, 2007, 6 speed manual
Previous: 850 2.0L N/A, 4 door 1996 manual, 740 2.3L N/A, 5 door 1992 manual, and S70 2.5T 1999 manual

User avatar
volvolugnut
Posts: 6225
Joined: 19 January 2014
Year and Model: 2001 V70
Location: Oklahoma USA
Has thanked: 927 times
Been thanked: 1000 times

Post by volvolugnut »

https://docplayer.net/18003375-Volvo-ve ... anual.html

I found this sometime in the past. I do not think this will be of much help, but it may be of some help.

I know nothing about CAN Bus.

volvolugnut
The Fleet:
Volvo: 2001 V70 T5, 1986 244DL, 1983 245DL, 1975 245DL, 1959 PV544, multiple Volvo parts cars.
Mercedes: 2001 E320, 1973 280, 1974 280C, 1989 300E, 1988 300TE, 1979 300TD, parts cars.
2009 Smart Passion
Ford: 1977 F350, 1964 F150 (2), 1938 Tudor Sedan
Farmall tractors: 1956 400 Diesel, 1946 A
And others.

User avatar
BlackBart
Posts: 6492
Joined: 10 December 2016
Year and Model: 2004 XC70 BlackBetty
Location: Over the far far mountains
Has thanked: 927 times
Been thanked: 884 times

Post by BlackBart »

I took the CAN bus to work once. So slow.
ex-1984 245T wagon
1994 850T5 wagon
2004 XC70 wagon BlackBetty

Teddy1975
Posts: 257
Joined: 6 January 2016
Year and Model: 2007 V50
Location: Denmark
Has thanked: 1 time
Been thanked: 7 times

Post by Teddy1975 »

Yesterday, I extracted all the scripts from VIDA like Steve did here.

I've moved the 399 scripts that mention my model, mdl545yr2007 I believe it is, into a different folder. Now, these scripts are xml files which contain a lot of data that I'm still trying to figure out. For instance, this should read the Engine Temperature:

Code: Select all

<node id="nev10444160n1-nev10607651n1" y="11" x="301" nodeid="IdentifierComponent1" class="Components.IdentifierComponent">
    <property type="Out" id="nev10444160n1-nev10607652n1" class="Parameter" visible="1" value="" name="Engine coolant temperature sensor"/>
    <extension id="nev10444160n1-nev10607653n1">
    <identifier type="REID" id="nev10444160n1-nev10607654n1" value="0005" read="4" ecuMode="EcuType" ecu="284101">
       <parameter id="nev10444160n1-nev10607655n1" name="Engine coolant temperature sensor" textid="6348"/>
    </identifier>
</extension>
</node>
From that code snippet I think one would need to send '0005' to the ECU with the ID of '284101'. this happens to be the Engine Control Module (ECM), which in turn should reply with a 4 byte value representing the temperature of the engine coolant. However, I need to read Waal70's blog posts again and more thoroughly to see if I got it right.
Current: V50 2.0D, 2007, 6 speed manual
Previous: 850 2.0L N/A, 4 door 1996 manual, 740 2.3L N/A, 5 door 1992 manual, and S70 2.5T 1999 manual

User avatar
abscate
MVS Moderator
Posts: 35273
Joined: 17 February 2013
Year and Model: 99: V70s S70s,05 V70
Location: Port Jefferson Long Island NY
Has thanked: 1498 times
Been thanked: 3810 times

Post by abscate »

BlackBart wrote: 19 Dec 2021, 21:10 I took the CAN bus to work once. So slow.
Good material there. The Can Bus has lots of polite people who have health care , Xc70s with manual transmissions , and other nice things
Empty Nester
A Captain in a Sea of Estrogen
1999-V70-T5M56 2005-V70-M56 1999-S70 VW T4 XC90-in-Red
Link to Maintenance record thread

User avatar
BlackBart
Posts: 6492
Joined: 10 December 2016
Year and Model: 2004 XC70 BlackBetty
Location: Over the far far mountains
Has thanked: 927 times
Been thanked: 884 times

Post by BlackBart »

When I read "extracted all the scripts" I must admit my eyes glaze over a bit....
ex-1984 245T wagon
1994 850T5 wagon
2004 XC70 wagon BlackBetty

User avatar
abscate
MVS Moderator
Posts: 35273
Joined: 17 February 2013
Year and Model: 99: V70s S70s,05 V70
Location: Port Jefferson Long Island NY
Has thanked: 1498 times
Been thanked: 3810 times

Post by abscate »

Teddy1975 wrote: 19 Dec 2021, 02:12 Thanks!

I've already downloaded VIDA after reading this blog post. Unfortunately the guy who wrote the blog post didn't go very far before seemingly abandoning it, possibly due to crashing his car. He also went the route of dissecting the VIDA database.

I've read waal70's blog posts regarding the CAN bus as well. He made it for his S60 so I don't know if the identifiers are the same, though.

Next step for me will be installing MSSQL server so I can dig deeper into VIDA.
I think this Steve nMontreal did find the queries and ID for parameters in thst blog, or at least how to get them
Empty Nester
A Captain in a Sea of Estrogen
1999-V70-T5M56 2005-V70-M56 1999-S70 VW T4 XC90-in-Red
Link to Maintenance record thread

crasbe
Posts: 91
Joined: 8 December 2022
Year and Model: 02 S60, 98 V70 (EV)
Location: Germany
Has thanked: 31 times
Been thanked: 79 times

Post by crasbe »

I played around with this a little bit and it seems like this will only give you the diagnostic/request IDs. From what I can tell this does not give any information about the IDs and messages that are present in regular CAN communication.

Maybe someone can use my results, so I'll attach the SQL Query and Python script that extracts the zip files and searches for the correct model and year.

If you want to play around with this make sure to enable the options below in SQL Management Studio, so the column names are exported as well:
Bild_2023-02-18_231515778.png
Bild_2023-02-18_231515778.png (31.06 KiB) Viewed 3820 times
This does not contain any information from the VIDA database, so it should be fine to publish. Use at your own risk etc.


With the extracted scripts it should be pretty easy to use the request ID protocol that is documented here: https://github.com/Alfaa123/Volvo-CAN-Gauge

For convenience the SQL query already attaches the correct ECU IDs to the output of the query.
Attachments
VIDA Script Query.zip
(1.64 KiB) Downloaded 194 times
Check out my 3D Printed Parts for Volvo P2 and P80 on Printables :D

Post Reply
  • Similar Topics
    Replies
    Views
    Last post