Arduino Volvo Display Thread
-
vtl
- Posts: 4727
- Joined: 16 August 2012
- Year and Model: 2005 XC70
- Location: Boston
- Has thanked: 114 times
- Been thanked: 606 times
Re: Arduino Volvo Display Thread
General-purpose Linux is bad for automotive needs. It kills me that the 4D display initializes for more than 3 seconds. RPI boots even longer.
- matthew1
- Site Admin
- Posts: 14468
- Joined: 14 September 2002
- Year and Model: 850 T5, 1997
- Location: Denver, Colorado, US
- Has thanked: 2652 times
- Been thanked: 1243 times
- Contact:
That's disappointing. I love Linux, and am decently handy with it. Thanks for all your input on this. It's extremely interesting.
Help keep MVS on the web -> click sponsors' links here on MVS when you buy from them.
Also -> Amazon link. Click that when you go to buy something on Amazon and MVS gets a cut!
1998 V70, no dash lights on
1997 850 T5 [gone] w/ MSD ignition coil, Hallman manual boost controller, injectors, R bumper, OMP strut brace
2004 V70 R [gone]
How to Thank someone for their post

Also -> Amazon link. Click that when you go to buy something on Amazon and MVS gets a cut!
1998 V70, no dash lights on
1997 850 T5 [gone] w/ MSD ignition coil, Hallman manual boost controller, injectors, R bumper, OMP strut brace
2004 V70 R [gone]
How to Thank someone for their post

Just found and read all this thread and am inspired.
Like you Vitaly, I do hardware and software development, from small Arduino style boards, including DUE and SAMD through to GNU/Linux programming.
Now, this is a neat project and one that I would love to have in my XC70, and as you mention, it's a great way to watch what's going on. I like that I can see the transmission solenoids and the current for the linear solenoids, very cool indeed.
I know I can see this in VIDA, but driving with 'Lappy' running VIDA and Dice cables is not a safe way.
Now, I would not use an RPi in any situation, plain toys in my opinion, not open source, but rather, a better designed and true open source designed such as Olimex based boards.
I'm thinking either to pull out one of my Taiji-uino DUE boards for a play with this or to look more seriously at using the Olimex A20 LIME-II board on the bench idly doing nothing.
With a small SBC like above, running headless Debian (Armbian to be exact), and running a small web server might be interesting, like how 'drieduke' mentioned,
I use this approach for my developing industrial SCADA system, which sort of what this is, right
The idea of using a web server doesn't necessarily mean using a smartphone to have a display, but offers many more possibilities for various displays, such as WiFi connected Android tablet, connected display via HDMI to monitor with SBC running a web client application as well.
Using a SBC like an Olimex A20, means you can have a SATA drive, say solid state (SSD) and then that allows a lot of data to be stored. The SBC has Ethernet, so connectivity to your home network to update the application or to download stored event data is easy. Imagine, logging and storing sensor data for anything you want or need that can then be view on screen in any number of good javascript charting libraries. As well, the data can be exported and viewed in any other manner a person feels comfortable with, even if they do elect to use MS Excel
Well, this is a fantastic project, I will keep this up in my list of open browser tabs and think more on over the coming while
I've checked out the Arduino code and it all make sense to me, so keep up the excellent work Vitaly and others.
Von Baron
Like you Vitaly, I do hardware and software development, from small Arduino style boards, including DUE and SAMD through to GNU/Linux programming.
Now, this is a neat project and one that I would love to have in my XC70, and as you mention, it's a great way to watch what's going on. I like that I can see the transmission solenoids and the current for the linear solenoids, very cool indeed.
I know I can see this in VIDA, but driving with 'Lappy' running VIDA and Dice cables is not a safe way.
Now, I would not use an RPi in any situation, plain toys in my opinion, not open source, but rather, a better designed and true open source designed such as Olimex based boards.
I'm thinking either to pull out one of my Taiji-uino DUE boards for a play with this or to look more seriously at using the Olimex A20 LIME-II board on the bench idly doing nothing.
With a small SBC like above, running headless Debian (Armbian to be exact), and running a small web server might be interesting, like how 'drieduke' mentioned,
It could be programmed up in either C/C++ or I suspect quite well in Python 3.x too, which is where I have been spending a fair bit of my time in recent months. One process for polling CAN data and stuffing that into a memory map area or REDIS instance, with another process being the web server pulling stuff from REDIS when web clients wants data.Hi,
Suggestion: instead of this overpriced 4D sys Display, the ESP32 could act as an Webserver to host all the data on a webpage, so one could just use its smartphone as Display.
I use this approach for my developing industrial SCADA system, which sort of what this is, right
The idea of using a web server doesn't necessarily mean using a smartphone to have a display, but offers many more possibilities for various displays, such as WiFi connected Android tablet, connected display via HDMI to monitor with SBC running a web client application as well.
Using a SBC like an Olimex A20, means you can have a SATA drive, say solid state (SSD) and then that allows a lot of data to be stored. The SBC has Ethernet, so connectivity to your home network to update the application or to download stored event data is easy. Imagine, logging and storing sensor data for anything you want or need that can then be view on screen in any number of good javascript charting libraries. As well, the data can be exported and viewed in any other manner a person feels comfortable with, even if they do elect to use MS Excel
Well, this is a fantastic project, I will keep this up in my list of open browser tabs and think more on over the coming while
I've checked out the Arduino code and it all make sense to me, so keep up the excellent work Vitaly and others.
Von Baron
-
vtl
- Posts: 4727
- Joined: 16 August 2012
- Year and Model: 2005 XC70
- Location: Boston
- Has thanked: 114 times
- Been thanked: 606 times
The new hw is not robust enough to poll the data like Due does (MCP2515 has a shallow tx buffer?). I redid the sw to use A5/A6 XX ... 02/03/04, the CEM should send the needed data repetitive on its own, but didn't bother to test it yet.
The Arduino code is pretty much a generic C with some bits of C++. Adapting it to any other OS is not a big deal.
The Arduino code is pretty much a generic C with some bits of C++. Adapting it to any other OS is not a big deal.
-
milzinger
- Posts: 7
- Joined: 26 July 2023
- Year and Model: 2003 S60R
- Location: Germany
- Been thanked: 1 time
Hello, I know this is a very old thread, but can someone explain me how to find the required bits in the vida sql database? In my case it is an S60 built in 2003 and model year 2004.
Many many thanks
Andreas
Many many thanks
Andreas
-
vtl
- Posts: 4727
- Joined: 16 August 2012
- Year and Model: 2005 XC70
- Location: Boston
- Has thanked: 114 times
- Been thanked: 606 times
What are you looking for specifically?
Generally speaking, I was reading sensors in VIDA to have modules IDs logged in C:\VIDA\System\Logs\Diagnostics.
You can run this SQL query to figure out what module is this or that ID:
Then I came up with this query that fetches bit offset in CAN message and its conversion formula:
-
milzinger
- Posts: 7
- Joined: 26 July 2023
- Year and Model: 2003 S60R
- Location: Germany
- Been thanked: 1 time
Many thanks for your response. I would like to have a canchecked display in my car. In my case an MFD32s. I have used add-ons from PLX Devices in the past. Unfortunately, the OLED displays here are defective after 15 years and the manufacturer no longer has them in their range. Unfortunately, Canchecked has no idea about Volvo and would need the addresses (ID's). I was hoping to find out quickly and easily. I'm not familiar with bus systems and I had very little to do with SQl either.
-
vtl
- Posts: 4727
- Joined: 16 August 2012
- Year and Model: 2005 XC70
- Location: Boston
- Has thanked: 114 times
- Been thanked: 606 times
This is not OBD PIDs, Volvo uses its own protocol. The device in this topic works using this same protocol.milzinger wrote: ↑31 Jul 2023, 03:11 Many thanks for your response. I would like to have a canchecked display in my car. In my case an MFD32s. I have used add-ons from PLX Devices in the past. Unfortunately, the OLED displays here are defective after 15 years and the manufacturer no longer has them in their range. Unfortunately, Canchecked has no idea about Volvo and would need the addresses (ID's). I was hoping to find out quickly and easily. I'm not familiar with bus systems and I had very little to do with SQl either.
-
milzinger
- Posts: 7
- Joined: 26 July 2023
- Year and Model: 2003 S60R
- Location: Germany
- Been thanked: 1 time
Thanks very much. Yes I think I understood that. According to the manufacturer, the new display that I want to install should understand the Volvo Can protocol if it knows the IDs. If I remember correctly, Volvo has often changed the ID's on the P26 platform. I think I'll have to talk to the manufacturer again in more detail.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 0 Replies
- 182 Views
-
Last post by mechanikas
-
- 6 Replies
- 1769 Views
-
Last post by vtl






