E-Class (W212) 2010 - 2016: E 350, E 550

CAN BUS SNIFFING - The hardware & software you need

Thread Tools
 
Search this Thread
 
Rate Thread
 
Old 07-30-2024, 02:31 PM
  #26  
Junior Member
 
bv9900's Avatar
 
Join Date: Jan 2024
Posts: 58
Received 2 Likes on 2 Posts
200cdi w204
Hello guys, I'm still working with Arduino and I'm making progress, or so I think.
Since my knowledge of CAN networks is zero, everything is conjecture for me, and perhaps the use of Arduino causes me these doubts, but I don't think so.
So I come to the forum for feedback from the experts.
I put you in situation:
I analyze messages sent by vediamo, coding, for example, long messages that are decomposed into frames, but... the first bit has three digits, is this possible?
Ejemplo:
Message Trace Vediamo

15:32:04 Request:
22 02 07
15:32:04 IC_204:
62 02 07 00 CC 00 AE 00 8E 00 52 00 2A 00 14 00
00 03 84 06
A4 0D 48 10 68 12 8E 05 50 76 11 00
CC 00
B6 00 A2 00 76 00 4A 00 14 00 00 01 F4 03
E8 09 C4 0F 3C 15 7C 01 2C 07 D0 0F A0 17 70 1F
40 27 10 00 00 00 18 00 2F 00 47 00 5E 00 76 20
1E 12 57 08 56 3C 1E 19 14

message in arduino

ID: 60A, Data: 82 3E 0 0 0 0 0 0
ID: 481, Data: 82 7E 0 54 0 11 9 3
ID: 481, Data: 83 7F 22 78 0 11 9 3 request
ID: 481, Data: 810 59 62 2 7 0 CC 0
ID: 481, Data: 821 AE 0 8E 0 52 0 2A
ID: 481, Data: 822 0 14 0 0 3 84 6
ID: 481, Data: 823 A4 D 48 10 68 12 8E
ID: 481, Data: 824 5 50 76 11 0 CC 0
ID: 481, Data: 825 B6 0 A2 0 76 0 4A
ID: 481, Data: 826 0 14 0 0 1 F4 3
ID: 481, Data: 827 E8 9 C4 F 3C 15 7C
ID: 481, Data: 828 1 2C 7 D0 F A0 17
ID: 481, Data: 829 70 1F 40 27 10 0 0
ID: 481, Data: 82A 0 18 0 2F 0 47 0
ID: 481, Data: 82C 8 56 3C 1E 19 14 57
ID: 60A, Data: 82 3E 0 0 0 0 0 0 hasta aqui codigo

The captured bits are faithful to the source, so I don't think Arduino is playing tricks on me.
Can someone tell me this is normal and correct?
I don't see anything similar on the internet and I'm stuck in doubts that don't let me move forward with firm steps, because I can't do the next step, which is to replicate these messages.
Greetings

Last edited by bv9900; 07-30-2024 at 02:37 PM.
Old 07-30-2024, 03:00 PM
  #27  
MBWorld Fanatic!
 
CaliBenzDriver's Avatar
 
Join Date: Apr 2019
Location: Silicon Valley
Posts: 5,901
Received 3,619 Likes on 2,409 Posts
MY'14 W212 M276 3.5NA @60kMi
streams of 01011100011

You need to decode the hexadecimal packets to make sense of what's coming through.
​​​​​​
The issue at the binary level is you won't be able to deferenciate good from bad signaling.

Old 07-30-2024, 03:51 PM
  #28  
Junior Member
 
bv9900's Avatar
 
Join Date: Jan 2024
Posts: 58
Received 2 Likes on 2 Posts
200cdi w204
It seems to indicate the position in eeprom?
The last copy of the IC I have doesn't match very closely, I've tinkered around quite a bit since then. I will have to make a new copy to study and confirm the theory, although I don't really want to go in there, it is very laborious.
Trying to send these messages should work.
What do I focus on?
study? send messages trying different things as if it were a donkey asking for food?
Old 08-24-2024, 01:41 PM
  #29  
Junior Member
 
bv9900's Avatar
 
Join Date: Jan 2024
Posts: 58
Received 2 Likes on 2 Posts
200cdi w204
I finally got it some time ago, Arduino is valid for receiving non-corrupted messages, but... you have to repeat the captures many times, because sometimes messages escape when there is a lot of traffic, other hardware is better. I finally got what I wanted, I will continue exploring possibilities
Old 08-24-2024, 02:52 PM
  #30  
MBWorld Fanatic!
 
CaliBenzDriver's Avatar
 
Join Date: Apr 2019
Location: Silicon Valley
Posts: 5,901
Received 3,619 Likes on 2,409 Posts
MY'14 W212 M276 3.5NA @60kMi
What's with oil pressure sensor circuit ...?
Few MB engines have one.
Are you trying to network oil sensor data ?
Old 08-24-2024, 07:09 PM
  #31  
Junior Member
 
bv9900's Avatar
 
Join Date: Jan 2024
Posts: 58
Received 2 Likes on 2 Posts
200cdi w204
correct, buy a 10bar psa group sensor (I hope it is enough), this sends the signal to an arduino, the arduino will send a signal to canbus to represent the alarm

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 


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

Quick Reply: CAN BUS SNIFFING - The hardware & software you need



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