When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.
Do you know if there is a command you need to send to the USB serial device to start logging, for example, I know on the CANBus Triple, it will not log any data until I send the command 03 01 02, I'm wondering if this CANBus interface has something similar.
Double check you need a 120 Ohm resistor, cause I didn't. There should be one already on both ends of the CAN network and you are simply tapping inbetween them.
Software wise, I'm using CoolTermWin.
Maybe try changing the extended frame setting. It is also possible that the CANBus interface doesn't support 83.3kbps, and so the manual setting you have provided is not supported by the hardware. Contact the vendor if you can.
I'm about to start digging into CAN B on my S211 too.
I want to hook up an Arduino to the CAN bus to capture steering wheel buttons, to control bluetooth audio on my phone (via AVRCP). Since I have no actual AUX in on my Audio 20, I've had to solder directly on to the CD audio path and use a silent CD.
It'd be awesome to replace the "Track x" in the MFD with actual artist and track info (also via AVRCP).
Is there a central repository of some kind that info on which units and commands are what?
Not that I know of but that would be handy. Now that there is more sunlight left in the day, I'm looking to continue trying to dig into the CAN. Maybe we could start a wiki.
Not that I know of but that would be handy. Now that there is more sunlight left in the day, I'm looking to continue trying to dig into the CAN. Maybe we could start a wiki.
The PIDs are different from my car and probably going to be different from all other Mercedes, but it is nice to see the attempts of other can bus hackers.
The PIDs are different from my car and probably going to be different from all other Mercedes, but it is nice to see the attempts of other can bus hackers.
Oh... I read that page like 5-6 years ago
I'm hoping to get started on logging this week, if the weather gets a wee bit better.
I added a blank google sheet to the wikia page. I think you should be able to request access.
I'm about to start digging into CAN B on my S211 too.
I want to hook up an Arduino to the CAN bus to capture steering wheel buttons, to control bluetooth audio on my phone (via AVRCP). Since I have no actual AUX in on my Audio 20, I've had to solder directly on to the CD audio path and use a silent CD.
It'd be awesome to replace the "Track x" in the MFD with actual artist and track info (also via AVRCP).
Is there a central repository of some kind that info on which units and commands are what?
Jacek, wouldn't it be easier to use an OBD adapter, instead of connecting directly to CAN-B wiring? CAN L and H are both present on the OBD connector - I guess what we need is the right software driver which can supports sending messages on the bus... The "Carly for Mercedes" Android app can write to MFD, so it must be possible. But for that feature, one must use their "Generation 2" OBD adapter. I guess not all OBDs support those CAN lines directly... Demo:
That looks interesting. I havent had any luck with an OBDLink MX yet though, just hangs on verifying connection. Does anyone know what changed in terms of OBD communication between a 2003 CL and a 2005 CL?
Has anyone been able to successfully receive packets from both the CAN B and CAN C networks with the CANbus Triple? It appears that kidturbo was having trouble with CAN B, but his participation in the thread faded away. It seems like the88g hasn't had any issues. I don't know if that's just the way I'm reading it or if he's had real success.
If you're reading CAN B without problems, what exactly did you have to do with the CBT firmware to hit the 83.3kbps baudrate?
I was gutted that Carly software doesn't seem to work with my car. It seems you'll have better luck if your car is 2005 or newer. Infact even if you have a W215 or W220 model that is 2005 or newer, even though the software says it is supported, it doesn't and I only found that out from the customer support, they asked me to try W211 instead and it connected but no ECUs responded.
I downloaded the latest firmware from the CBT forums and 83.3kbps worked flawlessly from the beginning, but only when set manually (auto-detect doesn't work) and the 11-bit version. The 29-bit version set off a bunch of errors on my dash! Don't try it with 83.3kbps, it doesn't have the correct MCP2515 values.
Is this still active? A few years ago I sniffed pretty much the entire interior of one of my W211's CAN B. I'm still trying to find out message IDs and device ID of my power trunk closer.
I've unfortunately put my entire project on hold until I get a 05 or newer plate MB. Are you using any particular software to help narrow down message IDs? Something that will ignore the constantly changing values and provide you with the message IDs that change when you press buttons in the interior. The software that comes with the CANBus Triple ain't too bad for this.
I've unfortunately put my entire project on hold until I get a 05 or newer plate MB. Are you using any particular software to help narrow down message IDs? Something that will ignore the constantly changing values and provide you with the message IDs that change when you press buttons in the interior. The software that comes with the CANBus Triple ain't too bad for this.
I use filters and lots of eye power to see changes.
Hi guys.
I received mcp2515 module today and I thought it would be easy to sniff packages from my car. I connected it to an arduino, tried different libraries, but no luck. I started looking deeply into libraries code and mcp2515 datasheet and found that it should be configured by setting 3 config registers depending on band rate and crystal on module. I played with this values and it did effect on results, but everything that I got was just garbage or noise.
When I back to home, I started to search about it and found this calculator https://www.kvaser.com/support/calcu...ng-calculator/
Not sure what T1, T2, BTQ, SP% and SJW values should be set to.
But as I understand the best setup is cnf1 = 02, cnf2 = 9a, cnf3 = 07
I will try it tomorrow and will let you know.
The main question is "Was somebody able to read packages from W211 or similar cars with mcp2515 chinise module? And if yes, what was config values?"
Which garbage CAN Bus shield did you get? Where did you connect the shield with the car? What cable did you use?
Chinese CAN Bus shields like the one from Seeed Studio (black) and SKPang (red) use a modified pin out so they can sell you their own (configured) OBD cable. A standard OBD cable that follows the OBD standard won't work and you get garbage readings.
Either you build an adapter to map the pins, you design our own shield like I did, or you buy a real can Bus sniffer which I frequently use on my W211s.
I used module like this https://sc01.alicdn.com/kf/HTB1hqvLF...Xq6xXFXXXL.jpg
I connected it to wires that go to telephone(I believe) in armrest. There're about 7 wires in connector, two of them are brown and brown-red. I measured voltage on them and it's 3.2v and 1.8v, so I believe it's can bus.
Before it I tried to connect to obd socket to pin 6,14 and 5 as ground according to this image https://i.stack.imgur.com/b3kaj.png
I checked pictures of this Seeed Studio module, it seems to have the same mcp2515 chip. So if you have, can you send me a working arduino project for this shield, the does work with our cars?
Last edited by angelovAlex; 01-29-2017 at 08:51 AM.
Cars have multiple different CAN buses. Interior CAN bus B, Motor CAN Bus C, and others. You can't assume to connect your little dingy on the Interieur CAN bus and get Motor CAN info. It's. It that simple.
Hint: interior CAN bus is brown and red brown, motor CAN is white and green'ish.