S-Class (W221) 2007-2013: S 320 CDI, S 350, S 450, S 500, S 550, S 420 CDI, S 600

W221 CAN bus thread

Thread Tools
 
Search this Thread
 
Rate Thread
 
Old Oct 14, 2020 | 02:18 PM
  #26  
ClasseMiaMadra's Avatar
Member
 
Joined: Dec 2016
Posts: 168
Likes: 29
From: NJ
2016 S212
Subscribed

It sound like Chris the Swede should be invited to this thread. He seems to have done a lot of work on the w221 AND in adding features to the Android screens he sells so his input would make this thread even more interesting. Possibly he can add features to-order ? In a recent DIY install the Autovlog guy did (of youtube AMG hydrolock fame) showed engine performance metrics as android apps (I think).
Reply
Old Oct 14, 2020 | 02:25 PM
  #27  
Hatzenbach's Avatar
Member
 
Joined: Oct 2017
Posts: 144
Likes: 31
From: Silicon Valley, 94070
2009 W221
Originally Posted by ClasseMiaMadra
Subscribed

It sound like Chris the Swede should be invited to this thread. He seems to have done a lot of work on the w221 AND in adding features to the Android screens he sells so his input would make this thread even more interesting. Possibly he can add features to-order ? In a recent DIY install the Autovlog guy did (of youtube AMG hydrolock fame) showed engine performance metrics as android apps (I think).
Good idea, but maybe better in a separate thread
Reply
Old Oct 14, 2020 | 02:28 PM
  #28  
ClasseMiaMadra's Avatar
Member
 
Joined: Dec 2016
Posts: 168
Likes: 29
From: NJ
2016 S212
I actually emailed his contact address at his site, cmkdesigns.
Reply
Old Oct 14, 2020 | 02:47 PM
  #29  
DaleB's Avatar
Super Member
Veteran: Army
 
Joined: May 2019
Posts: 671
Likes: 288
From: Omaha, NE
2007 S600
Originally Posted by Hatzenbach
Good idea, but maybe better in a separate thread
I dunno, he'd be a welcome addition here if he's willing to share any of his knowledge of the CANbus stuff. Especially things that could save time like (for instance) message specifics.
Reply
Old Oct 16, 2020 | 01:24 AM
  #30  
blackmambo90's Avatar
Newbie
 
Joined: Oct 2020
Posts: 6
Likes: 1
W221 s550, W211 e320 cdi
Hi again,
My project is moving forward, and now i am at a stade where i will be picking up some can messages from the black can bus. Not sure witch one that is (The telematics CAN?), but it is the one that have the joystick and those buttons on left of the screen.

While i am there, i can pick you up some of them. Witch one are you wishing? The one to disable parktronik?

Last edited by blackmambo90; Oct 16, 2020 at 01:29 AM.
Reply
Old Oct 16, 2020 | 10:02 AM
  #31  
Hatzenbach's Avatar
Member
 
Joined: Oct 2017
Posts: 144
Likes: 31
From: Silicon Valley, 94070
2009 W221
Originally Posted by blackmambo90
Hi again,
My project is moving forward, and now i am at a stade where i will be picking up some can messages from the black can bus. Not sure witch one that is (The telematics CAN?), but it is the one that have the joystick and those buttons on left of the screen.

While i am there, i can pick you up some of them. Witch one are you wishing? The one to disable parktronik?
That would be awesome!

Yes, the codes for Parktronic ON/OFF, and - of course - we also would need to know in which pair of twisted wires you tapped into.
And the CAN bus speed (I believe not all are 500 kbps)

Many thanks!

Last edited by Hatzenbach; Oct 16, 2020 at 10:17 AM.
Reply
Old Oct 16, 2020 | 12:43 PM
  #32  
DaleB's Avatar
Super Member
Veteran: Army
 
Joined: May 2019
Posts: 671
Likes: 288
From: Omaha, NE
2007 S600
Originally Posted by blackmambo90
Hi again,
My project is moving forward, and now i am at a stade where i will be picking up some can messages from the black can bus. Not sure witch one that is (The telematics CAN?), but it is the one that have the joystick and those buttons on left of the screen.

While i am there, i can pick you up some of them. Witch one are you wishing? The one to disable parktronik?
Ideally, the messages for the Park Assist button pressed and released, AND the messages to turn the LED in that button on and off would be helpful.

If I had my way, I'd replace that red LED with a green one, and turn it on (green) to indicate PA is enabled, instead of red to indicate disabled. If I retire early and have enough spare time on my hands it would be a nice weekend project... but honestly given the rate with which other stuff on this car is breaking, I don't know that I'd ever get to it., The damn heater didn't work when I drove it today, now that temperatures are down in the 40s. grumblegrumble.... more parts to replace.
Reply
Old Oct 17, 2020 | 04:10 PM
  #33  
blackmambo90's Avatar
Newbie
 
Joined: Oct 2020
Posts: 6
Likes: 1
W221 s550, W211 e320 cdi
Hey, it look like this button is not on this can bus 🤔
i will plug to the second one (the one that i will plug the video in motion filter) and i will see if it is there later. Maybe tomorrow or next week
Reply
MB World Stories

The Best of Mercedes & AMG

story-0

New Electric Mercedes-AMG GT 4-Door Coupe Unveiled: 10 Things You Need to Know

 Verdad Gallardo
story-1

6 Mercedes Models That Did NOT Age Well (But Are Somehow Still Cool)

 Verdad Gallardo
story-2

Manual Mercedes? 6 Times Sindelfingen Let Drivers Have All The Fun

 Verdad Gallardo
story-3

Mercedes SLR McLaren 722 S Is Extremely Rare Example Modified by McLaren

 Verdad Gallardo
story-4

8 Classic Boxy Mercedes Designs That Have Aged Like Fine Wine

 Verdad Gallardo
story-5

Flawlessly Restored Mercedes 190E Evo II Heads to Auction

 Verdad Gallardo
story-6

Electric Mercedes C-Class Unveiled: 11 Things You Need to Know

 Verdad Gallardo
story-7

Mercedes EQS Gets A Major Update: Everything You Need to Know

 Verdad Gallardo
story-8

5 Underrated Mercedes-Benz Models That Don't Get the Love They Deserve

 Verdad Gallardo
story-9

Mercedes 300D Has Pushed Well Past 1 Million Miles and It Ain't Stopping

 Verdad Gallardo
Old Oct 17, 2020 | 06:24 PM
  #34  
Hatzenbach's Avatar
Member
 
Joined: Oct 2017
Posts: 144
Likes: 31
From: Silicon Valley, 94070
2009 W221
OK, I had some time this afternoon, so I decided I do some CAN bus sniffing.
My equipment: A MCP2515 "shield" that connects to the CAN bus and sends the data to an Arduino via SPI
The Ardunio is connected to a laptop via USB and sends the data on the COM bus to a freeware app that reads and displays the data.

And - positive surprise - after i opened the access panel I found out that all the twisted wires with the same color are connected to each other, well that makes it much easier
So I start with the yellow bus, I get good readings and lots of data, but don't find the signal I'm looking for
Next the green bus, same result
(My search algorithm is that I press the button repeatedly and look for data that changes the same time I press the button)
OK, that leaves us with the brown bus: I attach my probes to the brown bus and something strange happens:
Every time I connect my probes, the bus "collapses". It goes so far that the lights in the footwell go out.
I first thought that my probes created a short circuit on the CAN bus but, no they are fine.
Next troubleshooting step is to pull the terminator resistor, no change, same problem.
Looks like when I attach the MCP2515 to the brown CAN bus it just doesn't like it.
Any ideas? Wrong CAN bus speed?





Last edited by Hatzenbach; Oct 17, 2020 at 06:33 PM.
Reply
Old Oct 17, 2020 | 08:14 PM
  #35  
blackmambo90's Avatar
Newbie
 
Joined: Oct 2020
Posts: 6
Likes: 1
W221 s550, W211 e320 cdi
Originally Posted by Hatzenbach
Any ideas? Wrong CAN bus speed?
Yes, that what a wrong speed can do
try 125 000

Also there is more than 3 can network on this vehicle, so it may be that you will not find it, how ever i do guess that is suppose to be the yellow one...
Reply
Old Oct 17, 2020 | 09:22 PM
  #36  
Hatzenbach's Avatar
Member
 
Joined: Oct 2017
Posts: 144
Likes: 31
From: Silicon Valley, 94070
2009 W221
Originally Posted by blackmambo90
Yes, that what a wrong speed can do
try 125 000

Also there is more than 3 can network on this vehicle, so it may be that you will not find it, how ever i do guess that is suppose to be the yellow one...
Thanks, I'll try that.
where would i find the other CAN bus(es)?
Reply
Old Oct 18, 2020 | 04:00 PM
  #37  
Hatzenbach's Avatar
Member
 
Joined: Oct 2017
Posts: 144
Likes: 31
From: Silicon Valley, 94070
2009 W221
Originally Posted by blackmambo90
Yes, that what a wrong speed can do
try 125 000

Also there is more than 3 can network on this vehicle, so it may be that you will not find it, how ever i do guess that is suppose to be the yellow one...
Good news: after changing the speed to 125kbps I could read the brown bus
Bad news: The signal which I'm looking for is not on the brown bus either (and I also double-checked the yellow and green buses again - nada)

Throwing in the towel...
Reply
Old Oct 18, 2020 | 06:41 PM
  #38  
megacrazy's Avatar
MBWorld Fanatic!
10 Year Member
Photogenic
Shutterbug
Liked
 
Joined: Oct 2012
Posts: 1,401
Likes: 312
CLK55 W209, CL63 W216
Originally Posted by Hatzenbach
Good news: after changing the speed to 125kbps I could read the brown bus
Bad news: The signal which I'm looking for is not on the brown bus either (and I also double-checked the yellow and green buses again - nada)

Throwing in the towel...
The problem is more complicated than you guys are assuming. Hint to advance the project: the switch sits on LIN B3

connects to N72/1 which sits on can B aka interior can which goes to the CGW.

Last edited by megacrazy; Oct 18, 2020 at 06:54 PM.
Reply
Old Oct 18, 2020 | 06:57 PM
  #39  
Hatzenbach's Avatar
Member
 
Joined: Oct 2017
Posts: 144
Likes: 31
From: Silicon Valley, 94070
2009 W221
Originally Posted by megacrazy
The problem is more complicated than you guys are assuming. Hint to advance the project: the switch sits on LIN B3

connects to N72/1 which sits on can B aka interior can which goes to the CGW.
thanks but not enough hints for me
Unfortunately I’m way more familiar with the inner workings of Porsches
Reply
Old Oct 18, 2020 | 07:12 PM
  #40  
megacrazy's Avatar
MBWorld Fanatic!
10 Year Member
Photogenic
Shutterbug
Liked
 
Joined: Oct 2012
Posts: 1,401
Likes: 312
CLK55 W209, CL63 W216
Originally Posted by Hatzenbach
thanks but not enough hints for me
Unfortunately I’m way more familiar with the inner workings of Porsches

N72/1 is the climate control stack in the center console. The park assist button connects to that via LIN bus. The center climate control switch sits on CAN B. So the switch itself has no connection to the can bus.
Reply
Old Oct 18, 2020 | 07:18 PM
  #41  
Hatzenbach's Avatar
Member
 
Joined: Oct 2017
Posts: 144
Likes: 31
From: Silicon Valley, 94070
2009 W221
got it (hmmmmmm, at least I believe I got it ;-)
But am I assuming right that when I push the button, that this will create an event on the interior CAN bus B?
Reply
Old Oct 18, 2020 | 07:19 PM
  #42  
megacrazy's Avatar
MBWorld Fanatic!
10 Year Member
Photogenic
Shutterbug
Liked
 
Joined: Oct 2012
Posts: 1,401
Likes: 312
CLK55 W209, CL63 W216
Originally Posted by Hatzenbach
got it (hmmmmmm, at least I believe I got it ;-)
But am I assuming right that when I push the button, that this will create an event on the interior CAN bus B?
Absolutely it should. So don’t throw in the towel yet
Reply
Old Oct 18, 2020 | 08:44 PM
  #43  
DaleB's Avatar
Super Member
Veteran: Army
 
Joined: May 2019
Posts: 671
Likes: 288
From: Omaha, NE
2007 S600
Yeah... the switch itself isn’t doing squat, it’s just an input to a controller. The switch state is read by a control unit, which (eventually) causes a message to be placed on the CAN bus. I suspect that message is not “someone pressed the PA button”... probably the controller is monitoring the state of the users input, controlling the LED via LIN (bummer if that’s the case), and sending “Turn PA on/off” messages on the CAN bus. But... there are numerous ways to do it, and I could well be totally wrong. Just need to dig in and see.

I don’t have the CAN bus interface I ordered yet, and won’t for at least a couple of weeks I suspect. Sigh. In the mean time I can work on getting my stupid heater to work, grumble grumble.
Reply
Old Oct 18, 2020 | 09:28 PM
  #44  
Hatzenbach's Avatar
Member
 
Joined: Oct 2017
Posts: 144
Likes: 31
From: Silicon Valley, 94070
2009 W221
I am assuming that in order to get to the interior CAN-B I need to take off the panel with the A/C vents (the one which goes across the whole dash)?
If yes does anyone have anymore pointers what I'm looking for then?
Reply
Old Oct 18, 2020 | 10:26 PM
  #45  
megacrazy's Avatar
MBWorld Fanatic!
10 Year Member
Photogenic
Shutterbug
Liked
 
Joined: Oct 2012
Posts: 1,401
Likes: 312
CLK55 W209, CL63 W216
Originally Posted by Hatzenbach
I am assuming that in order to get to the interior CAN-B I need to take off the panel with the A/C vents (the one which goes across the whole dash)?
If yes does anyone have anymore pointers what I'm looking for then?
Or tap at one of the can distribution blocks. It’s brown and brown red wiring as far as I remember.
Reply
Old Oct 18, 2020 | 10:47 PM
  #46  
Hatzenbach's Avatar
Member
 
Joined: Oct 2017
Posts: 144
Likes: 31
From: Silicon Valley, 94070
2009 W221
Originally Posted by megacrazy
Or tap at one of the can distribution blocks. It’s brown and brown red wiring as far as I remember.
but you don't mean the one from the first picture?
Reply
Old Oct 19, 2020 | 08:50 AM
  #47  
megacrazy's Avatar
MBWorld Fanatic!
10 Year Member
Photogenic
Shutterbug
Liked
 
Joined: Oct 2012
Posts: 1,401
Likes: 312
CLK55 W209, CL63 W216
Originally Posted by Hatzenbach
but you don't mean the one from the first picture?
That should be the one. If that doesn’t work for you, you can always look at tackling the Lin bus. 1 wire to tap behind the button. Similar approach to can bus with some differences.

Last edited by megacrazy; Oct 19, 2020 at 08:54 AM.
Reply
Old Oct 19, 2020 | 09:53 AM
  #48  
Hatzenbach's Avatar
Member
 
Joined: Oct 2017
Posts: 144
Likes: 31
From: Silicon Valley, 94070
2009 W221
Originally Posted by megacrazy
That should be the one.
If that's the case then I'm afraid that we went full circle, see my post #38
Picking up the towel from the floor and throwing it in again ;-)
Reply
Old Oct 19, 2020 | 08:19 PM
  #49  
megacrazy's Avatar
MBWorld Fanatic!
10 Year Member
Photogenic
Shutterbug
Liked
 
Joined: Oct 2012
Posts: 1,401
Likes: 312
CLK55 W209, CL63 W216
Originally Posted by Hatzenbach
If that's the case then I'm afraid that we went full circle, see my post #38
Picking up the towel from the floor and throwing it in again ;-)
The signal is definitely on a bus. Pack your towel away and go back to the garage for more scanning

I am assuming you had the car running - obvious but you never know.
Reply
Old Oct 19, 2020 | 08:52 PM
  #50  
Hatzenbach's Avatar
Member
 
Joined: Oct 2017
Posts: 144
Likes: 31
From: Silicon Valley, 94070
2009 W221
Yeah, car was running, otherwise you can't operate the switch
But of course the disadvantage of a running car is the abundance of CAN messages, vs. when only the ignition is on.
I also think that the brown/red bus is the internal bus, because - according to the documentation - the internal bus runs on 125kbps and that's the only bus (that I found) on that speed.
BUT here's another thought
Are CAN gateways separating the same CAN bus into segments so only allow certain numbers of different CAN signals are on that part of the bus.
If that makes sense, maybe there's another location where I can tap into a different segment of the internal bus?
Just a stupid thought.
Reply


You have already rated this thread Rating: Thread Rating: 0 votes,  average.


All times are GMT -4. The time now is 11:47 PM.

story-0
New Electric Mercedes-AMG GT 4-Door Coupe Unveiled: 10 Things You Need to Know

Slideshow: Mercedes-AMG's new electric GT 4-Door Coupe trades combustion for software, synthetic noise, and more than 1,100 horsepower.

By Verdad Gallardo | 2026-05-20 20:08:15


VIEW MORE
story-1
6 Mercedes Models That Did NOT Age Well (But Are Somehow Still Cool)

Slideshow: Not every Mercedes design becomes timeless, some feel stuck in the era they came from.

By Verdad Gallardo | 2026-05-12 18:09:07


VIEW MORE
story-2
Manual Mercedes? 6 Times Sindelfingen Let Drivers Have All The Fun

Slideshow: Yes, Mercedes built manual cars, and some of them are far more interesting than you'd expect.

By Verdad Gallardo | 2026-05-02 12:36:58


VIEW MORE
story-3
Mercedes SLR McLaren 722 S Is Extremely Rare Example Modified by McLaren

Slideshow: A one-of-one U.S.-spec Mercedes-Benz SLR McLaren Roadster became even rarer after a factory-backed transformation at McLaren's headquarters.

By Verdad Gallardo | 2026-04-29 11:19:28


VIEW MORE
story-4
8 Classic Boxy Mercedes Designs That Have Aged Like Fine Wine

Slideshow: Before curves took over, Mercedes mastered the art of the straight line, and some of those shapes still look right today.

By Verdad Gallardo | 2026-04-25 12:05:49


VIEW MORE
story-5
Flawlessly Restored Mercedes 190E Evo II Heads to Auction

Slideshow: The 190E Evolution II shows how a homologation necessity became a six-figure collector icon.

By Verdad Gallardo | 2026-04-22 17:53:47


VIEW MORE
story-6
Electric Mercedes C-Class Unveiled: 11 Things You Need to Know

Slideshow: Mercedes is turning one of its core nameplates electric, and the details show just how serious this shift is.

By Verdad Gallardo | 2026-04-21 13:58:06


VIEW MORE
story-7
Mercedes EQS Gets A Major Update: Everything You Need to Know

Slideshow: Faster charging, longer range, and a controversial steer-by-wire system define the latest evolution of Mercedes-Benz EQS.

By Verdad Gallardo | 2026-04-15 10:35:34


VIEW MORE
story-8
5 Underrated Mercedes-Benz Models That Don't Get the Love They Deserve

Slideshow: These overlooked Mercedes-Benz models never got the spotlight, but they quietly delivered more than most remember.

By Verdad Gallardo | 2026-04-13 19:35:45


VIEW MORE
story-9
Mercedes 300D Has Pushed Well Past 1 Million Miles and It Ain't Stopping

Slideshow: A well-used 1991 Mercedes-Benz 300D with more than one million miles is now looking for a new owner, and it still appears ready for more.

By Verdad Gallardo | 2026-04-10 10:05:15


VIEW MORE