| Author |
Message |
aerox-mc
Joined: 04/02/2017 Posts: 1 Karma: +0 / -0 Location: Wertheim
Free account, no CAN development support
|
02-04-2017, 21:59 Subject: Arduino - Adafruit CAN Bus Shield |
Quote |
|
Hey everyone, let me introduce myself briefly:
I am Marc, 30 years old, and I am from Wertheim am Main.
I'm currently working on connecting my Mercedes W204 to an Arduino using an Adafruit CANBus shield.
Can someone help me figure out how to read the CAN bus messages from the steering wheel buttons, such as those for volume up (+) and volume down (-), etc.?
Best regards,
Marc
Translated on 04-07-2026, 10:17.
|
|
| Back to top |
Profile PM |
 |
PawelPipowich
Joined: 03/17/2017 Posts: 4 Karma: +0 / -0
Free account, no CAN development support
|
09-04-2017, 23:50 Subject: Arduino - Adafruit CAN Bus Shield |
Quote |
|
You need a CAN-Bus interface for your laptop to read the data. This allows you to monitor CAN IDs. With the Arduino, you can then send commands that you, for example, have intercepted and programmed. I'm working on it right now.
Translated on 04-07-2026, 10:18.
|
|
| Back to top |
Profile PM |
 |
wernernue
Joined: 03/02/2016 Posts: 27 Karma: +10 / -0 Location: Nürnberg
Premium Support
|
16-04-2017, 23:33 Subject: Arduino |
Quote |
|
Hi,
I can only agree.
You'll get along well with an Arduino if you know which ID you need.
But trying to find a specific message is like searching for a needle in a haystack.
And the Canhack interface continues to impress me.
Every byte is displayed in all possible encodings, and what's particularly noteworthy is that each byte is visualized using a bar.
This way, you can immediately see the bytes that contain counter data (e.g., consumption) versus the bytes that contain sensor data.
I was just looking the other day to find out where the information about "cruise control activated" is displayed.
Using the VCDS diagnostic tool, I saw that this information is only available from the engine control unit.
And then I looked at the individual addresses from the MSG and quickly found the bit in its binary representation.
It's really a wonderful investment if you're planning to do something like that.
Best regards,
Werner.
Translated on 04-07-2026, 10:19.
|
|
| Back to top |
Profile PM |
 |
samquadrat
Joined: 08/24/2017 Posts: 2 Karma: +0 / -0
Free account, no CAN development support
|
24-08-2017, 13:09 Subject: Arduino status |
Quote |
|
Hello everyone,
Has anyone had success using an Arduino to actively send data, particularly to Mercedes vehicles?
Thank you and greetings.
Translated on 04-07-2026, 10:20.
|
|
| Back to top |
Profile PM |
 |
wernernue
Joined: 03/02/2016 Posts: 27 Karma: +10 / -0 Location: Nürnberg
Premium Support
|
24-08-2017, 20:20 Subject: Arduino - Adafruit CAN Bus Shield |
Quote |
|
Hello Samquadrat,
I have already successfully sent speed and RPM data from an Arduino to a tachometer via the CAN bus in my test setup. However, it's not in a real vehicle, and it's not a Mercedes.
But if you send the correct IDs, it will definitely work. However, you should know exactly what data you are sending in a vehicle. Ultimately, you could disrupt the entire communication process. The lower the ID, the higher the priority. Constantly sending such a message would cause collisions and would make all other devices wait.
Translated on 04-07-2026, 10:21.
|
|
| Back to top |
Profile PM |
 |
samquadrat
Joined: 08/24/2017 Posts: 2 Karma: +0 / -0
Free account, no CAN development support
|
25-08-2017, 12:13 Subject: Arduino - Adafruit CAN Bus Shield |
Quote |
|
Okay, then I'll identify which bus the control units are connected to and trace the signals.
Translated on 04-07-2026, 10:22.
|
|
| Back to top |
Profile PM |
 |
|