muki01 / OBD2_K-line_Reader

OBD2 K-line Rader (ISO9141 and ISO14230)
MIT License
38 stars 3 forks source link

Mercedes A180D communication #11

Open Kzekih opened 2 weeks ago

Kzekih commented 2 weeks ago

Hello, First of all, I would like to congratulate you on your successful work. I've been working on this project for a few days, but I haven't been able to initiate any communication in my car. When I connect to my car Mercedes A180D 2017. elm327, ISO 15765-4 (CAN 11/500) protocol is used. Can we adjust the protocol according to this format? I am waiting for your help.

I am using your revised 2 transistor convertor for the connection. I have tried a few different boards, ESP 32 and ESP8266 as boards.

I also wanted to add sample communication data in case it might be useful.

TIMESTAMP DIRECTION DATA 2024-11-04 16:49:44 >> ATD 2024-11-04 16:49:44 << ATDOK 2024-11-04 16:49:45 >> ATZ 2024-11-04 16:49:46 << ATZELM327 v1.5 2024-11-04 16:49:47 >> ATI 2024-11-04 16:49:47 << ATIELM327 v1.5 2024-11-04 16:49:47 >> AT@1 2024-11-04 16:49:47 << AT@1ICSolution 2024-11-04 16:49:48 >> AT@2 2024-11-04 16:49:48 << AT@2? 2024-11-04 16:49:48 >> ATE0 2024-11-04 16:49:48 << ATE0OK 2024-11-04 16:49:48 >> ATL0 2024-11-04 16:49:48 << OK 2024-11-04 16:49:48 >> ATS0 2024-11-04 16:49:48 << OK 2024-11-04 16:49:49 >> ATM0 2024-11-04 16:49:49 << OK 2024-11-04 16:49:49 >> ATST64 2024-11-04 16:49:49 << OK 2024-11-04 16:49:49 >> ATTP0 2024-11-04 16:49:49 << OK 2024-11-04 16:49:49 >> 0100 2024-11-04 16:49:50 << SEARCHING...4100981800014100983BA017410098180011 2024-11-04 16:49:50 >> ATDPN 2024-11-04 16:49:50 << A6 2024-11-04 16:49:50 >> ATDP 2024-11-04 16:49:50 << AUTO, ISO 15765-4 (CAN 11/500) 2024-11-04 16:49:50 >> ATH1 2024-11-04 16:49:50 << OK 2024-11-04 16:49:51 >> 0100 2024-11-04 16:49:51 << 7EB064100981800017E8064100983BA0177E906410098180011 2024-11-04 16:49:51 >> 0100 2024-11-04 16:49:51 << 7EB064100981800017E8064100983BA0177E906410098180011 2024-11-04 16:49:51 >> 0120 2024-11-04 16:49:51 << 7EB064120800180017E9064120800180017E8064120B819A015 2024-11-04 16:49:51 >> 0140 2024-11-04 16:49:51 << 7EB064140C08000007E8064140CCD200117E9064140C0800000 2024-11-04 16:49:51 >> 0160 2024-11-04 16:49:51 << 7E806416000000001 2024-11-04 16:49:51 >> 0180 2024-11-04 16:49:51 << 7E806418000200000 2024-11-04 16:49:51 >> 014F 2024-11-04 16:49:52 << 7E806414F000000FF 2024-11-04 16:49:52 >> 0101 2024-11-04 16:49:52 << 7EB064101000400007E8064101000EE9687E906410100040000 2024-11-04 16:49:52 >> 0600 2024-11-04 16:49:52 << 7E806460000000001 2024-11-04 16:49:52 >> 0620 2024-11-04 16:49:52 << 7E806462000008001 2024-11-04 16:49:52 >> 0640 2024-11-04 16:49:52 << 7E806464000000001 2024-11-04 16:49:52 >> 0660 2024-11-04 16:49:52 << 7E806466000000001 2024-11-04 16:49:52 >> 0680 2024-11-04 16:49:52 << 7E806468088000001 2024-11-04 16:49:52 >> 06A0 2024-11-04 16:49:52 << 7E80646A000004001 2024-11-04 16:49:52 >> 06C0 2024-11-04 16:49:52 << 7E80646C000000001 2024-11-04 16:49:52 >> 06E0 2024-11-04 16:49:52 << 7E80646E020000000 2024-11-04 16:49:52 >> 0800 2024-11-04 16:49:53 << NO DATA 2024-11-04 16:49:53 >> 0900 2024-11-04 16:49:53 << 7EB064900144200007E8064900546200007E906490014420000 2024-11-04 16:49:53 >> 011C 2024-11-04 16:49:53 << 7E803411C067E903411C07 2024-11-04 16:49:53 >> 0113 2024-11-04 16:49:53 << 7E803411303 2024-11-04 16:49:53 >> 090A 2024-11-04 16:49:53 << 7EB1017490A014650437E81017490A0145434D7E91017490A0154434D7E821002D456E67696E7E82265436F6E74726F7E8236C00006E74726F7EB214D2D4675656C507E921002D5472616E737EB22756D704374726C7E9226D69734374726C7EB230000004374726C7E9230000004374726C 2024-11-04 16:49:53 >> 0100 2024-11-04 16:49:53 << 7EB064100981800017E9064100981800117E8064100983BA017 2024-11-04 16:49:53 >> 0120 2024-11-04 16:49:53 << 7EB064120800180017E8064120B819A0157E906412080018001 2024-11-04 16:49:53 >> 0140 2024-11-04 16:49:53 << 7EB064140C08000007E8064140CCD200117E9064140C0800000 2024-11-04 16:49:53 >> 0101 2024-11-04 16:49:53 << 7EB064101000400007E8064101000EE9687E906410100040000 2024-11-04 16:49:53 >> 0600 2024-11-04 16:49:54 << 7E806460000000001 2024-11-04 16:49:54 >> 0800 2024-11-04 16:49:54 << NO DATA 2024-11-04 16:49:54 >> 0900 2024-11-04 16:49:54 << 7EB064900144200007E8064900546200007E906490014420000 2024-11-04 16:49:54 >> 011C 2024-11-04 16:49:54 << 7E803411C067E903411C07 2024-11-04 16:49:54 >> 090A 2024-11-04 16:49:54 << 7EB1017490A014650437E81017490A0145434D7E91017490A0154434D7E821002D456E67696E7E82265436F6E74726F7E8236C00006E74726F7EB214D2D4675656C507E921002D5472616E737EB22756D704374726C7E9226D69734374726C7EB230000004374726C7E9230000004374726C 2024-11-04 16:49:54 >> 0100 2024-11-04 16:49:54 << 7EB064100981800017E8064100983BA0177E906410098180011 2024-11-04 16:49:54 >> 0120 2024-11-04 16:49:54 << 7EB064120800180017E8064120B819A0157E906412080018001 2024-11-04 16:49:54 >> 0140 2024-11-04 16:49:55 << 7EB064140C08000007E8064140CCD200117E9064140C0800000 2024-11-04 16:49:55 >> 0101 2024-11-04 16:49:55 << 7EB064101000400007E9064101000400007E8064101000EE968 2024-11-04 16:49:55 >> 0600 2024-11-04 16:49:55 << 7E806460000000001 2024-11-04 16:49:55 >> 0800 2024-11-04 16:49:55 << NO DATA 2024-11-04 16:49:55 >> 0900 2024-11-04 16:49:55 << 7EB064900144200007E8064900546200007E906490014420000 2024-11-04 16:49:55 >> 090A 2024-11-04 16:49:55 << 7EB1017490A014650437E81017490A0145434D7E91017490A0154434D7EB214D2D4675656C507E821002D456E67696E7E82265436F6E74726F7E8236C00006E74726F7E921002D5472616E737EB22756D704374726C7E9226D69734374726C7EB230000004374726C7E9230000004374726C 2024-11-04 16:49:55 >> 0902 2024-11-04 16:49:56 << 7E810144902015744447E821313736303132317E8224A363231353435 2024-11-04 16:49:56 >> 0904 2024-11-04 16:49:56 << 7EB10134904013030307E810134904013630377E910134904013030307E821393033383130337E822323930303031D07EB21393031323130307E921393032373535317EB22303330303434307E92239303030303131 2024-11-04 16:49:56 >> 0906 2024-11-04 16:49:56 << 7EB07490601EA735AD37E8074906017BCF19C97E907490601214A9204 2024-11-04 16:49:56 >> 090F 2024-11-04 16:49:56 << 7EB1014490F010000007E81014490F010000007E91014490F010000007E821000000004544307E822343632000000007EB21000000000000007E921000000000000007EB22000000000000007E92200475330303435 2024-11-04 16:49:56 >> 03 2024-11-04 16:49:56 << 7EB0243007E80243007E9024300 2024-11-04 16:49:56 >> 07 2024-11-04 16:49:56 << 7EB0247007E90247007E806470220800545 2024-11-04 16:49:56 >> 0101 2024-11-04 16:49:56 << 7EB064101000400007E9064101000400007E8064101000EE968 2024-11-04 16:49:56 >> 020200 2024-11-04 16:49:56 << 7EB0542020000007E80542020020807E9054202000000 2024-11-04 16:50:01 >> 0101 2024-11-04 16:50:01 << 7EB064101000400007E8064101000EE9687E906410100040000 2024-11-04 16:50:06 >> 0101 2024-11-04 16:50:06 << 7EB064101000400007E8064101000EE9687E906410100040000 2024-11-04 16:50:11 >> 0101 2024-11-04 16:50:12 << 7EB064101000400007E9064101000400007E8064101000EE968 2024-11-04 16:50:17 >> 0101 2024-11-04 16:50:17 << 7EB064101000400007E8064101000EE9687E906410100040000 2024-11-04 16:50:22 >> 0101 2024-11-04 16:50:22 << 7EB064101000400007E9064101000400007E8064101000EE968 2024-11-04 16:50:27 >> 0101 2024-11-04 16:50:27 << 7EB064101000400007E9064101000400007E8064101000EE968 2024-11-04 16:50:32 >> 0101 2024-11-04 16:50:32 << 7EB064101000400007E8064101000EE9687E906410100040000 2024-11-04 16:50:37 >> 0101 2024-11-04 16:50:37 << 7EB064101000400007E8064101000EE9687E906410100040000 2024-11-04 16:50:42 >> 0101 2024-11-04 16:50:42 << 7E8064101000EE9687EB064101000400007E906410100040000 2024-11-04 16:50:47 >> 0101 2024-11-04 16:50:47 << 7EB064101000400007E9064101000400007E8064101000EE968 2024-11-04 16:50:52 >> 0101 2024-11-04 16:50:52 << 7EB064101000400007E9064101000400007E8064101000EE968 2024-11-04 16:50:57 >> 0101 2024-11-04 16:50:58 << 7EB064101000400007E9064101000400007E8064101000EE968 2024-11-04 16:51:03 >> 0101 2024-11-04 16:51:03 << 7EB064101000400007E9064101000400007E8064101000EE968 2024-11-04 16:51:08 >> 0101 2024-11-04 16:51:08 << 7E8064101000EE9687EB064101000400007E906410100040000 2024-11-04 16:51:13 >> 0101 2024-11-04 16:51:13 << 7EB064101000400007E9064101000400007E8064101000EE968 2024-11-04 16:51:18 >> 0101 2024-11-04 16:51:18 << 7EB064101000400007E9064101000400007E8064101000EE968 2024-11-04 16:51:23 >> 03 2024-11-04 16:51:23 << 7E90243007E80243007EB024300 2024-11-04 16:51:28 >> 0101 2024-11-04 16:51:28 << 7EB064101000400007E9064101000400007E8064101000EE968 2024-11-04 16:51:33 >> 0101 2024-11-04 16:51:33 << 7EB064101000400007E9064101000400007E8064101000EE968 2024-11-04 16:51:38 >> 0101 2024-11-04 16:51:38 << 7EB064101000400007E9064101000400007E8064101000EE968 2024-11-04 16:51:43 >> 0101 2024-11-04 16:51:43 << 7EB064101000400007E9064101000400007E8064101000EE968 2024-11-04 16:51:48 >> 0101 2024-11-04 16:51:48 << 7E9064101000400007E8064101000EE9687EB06410100040000 2024-11-04 16:51:52 >> 07 2024-11-04 16:51:52 << 7EB0247007E90247007E806470220800545 2024-11-04 16:51:57 >> 0101 2024-11-04 16:51:57 << 7EB064101000400007E8064101000EE9687E906410100040000 2024-11-04 16:51:59 >> 0A 2024-11-04 16:51:59 << 7E9024A00 2024-11-04 16:52:02 >> 020200 2024-11-04 16:52:02 << 7E80542020020807EB0542020000007E9054202000000 2024-11-04 16:52:02 >> 020000 2024-11-04 16:52:02 << 7EB07420000581800017E807420000583B80077E90742000040000000 2024-11-04 16:52:02 >> 022000 2024-11-04 16:52:02 << 7EB07422000000000017E80742200020182001 2024-11-04 16:52:02 >> 024000 2024-11-04 16:52:02 << 7EB07424000408000007E8074240004CD00001 2024-11-04 16:52:02 >> 026000 2024-11-04 16:52:03 << 7E80742600000000001 2024-11-04 16:52:03 >> 028000 2024-11-04 16:52:03 << 7E80742800000000000 2024-11-04 16:52:03 >> 020400 2024-11-04 16:52:03 << 7E80442040058 2024-11-04 16:52:03 >> 020500 2024-11-04 16:52:03 << 7E8044205003B 2024-11-04 16:52:03 >> 020B00 2024-11-04 16:52:03 << 7E804420B000A 2024-11-04 16:52:03 >> 020C00 2024-11-04 16:52:03 << 7E805420C000CFC 2024-11-04 16:52:03 >> 020D00 2024-11-04 16:52:03 << 7E804420D0000 2024-11-04 16:52:03 >> 020F00 2024-11-04 16:52:03 << 7E804420F003B 2024-11-04 16:52:03 >> 021000 2024-11-04 16:52:03 << 7E805421000033F 2024-11-04 16:52:03 >> 021100 2024-11-04 16:52:03 << 7E804421100E7 2024-11-04 16:52:03 >> 021E00 2024-11-04 16:52:03 << 7E804421E0000 2024-11-04 16:52:03 >> 021F00 2024-11-04 16:52:03 << 7E805421F000003 2024-11-04 16:52:03 >> 022300 2024-11-04 16:52:04 << 7E8054223000B0E 2024-11-04 16:52:04 >> 022C00 2024-11-04 16:52:04 << 7E804422C0053 2024-11-04 16:52:04 >> 022D00 2024-11-04 16:52:04 << 7E804422D007C 2024-11-04 16:52:04 >> 023300 2024-11-04 16:52:04 << 7E80442330066 2024-11-04 16:52:04 >> 024200 2024-11-04 16:52:04 << 7E8054242002C92 2024-11-04 16:52:04 >> 024500 2024-11-04 16:52:04 << 7E804424500CF 2024-11-04 16:52:04 >> 024600 2024-11-04 16:52:04 << 7E80442460048 2024-11-04 16:52:04 >> 024900 2024-11-04 16:52:04 << 7E8044249000F 2024-11-04 16:52:04 >> 024A00 2024-11-04 16:52:04 << 7E804424A0013 2024-11-04 16:52:04 >> 024C00 2024-11-04 16:52:04 << 7E804424C000D 2024-11-04 16:52:04 >> 020201 2024-11-04 16:52:04 << 7E9054202010000 2024-11-04 16:52:09 >> 0101 2024-11-04 16:52:10 << 7EB064101000400007E8064101000EE9687E906410100040000 2024-11-04 16:52:15 >> 0101 2024-11-04 16:52:15 << 7EB064101000400007E8064101000EE9687E906410100040000 2024-11-04 16:52:20 >> 0101 2024-11-04 16:52:20 << 7EB064101000400007E8064101000EE9687E906410100040000 2024-11-04 16:52:25 >> 0101 2024-11-04 16:52:25 << 7EB064101000400007E8064101000EE9687E906410100040000 2024-11-04 16:52:30 >> 0101 2024-11-04 16:52:30 << 7EB064101000400007E8064101000EE9687E906410100040000 2024-11-04 16:52:35 >> 0101 2024-11-04 16:52:35 << 7EB064101000400007E8064101000EE9687E906410100040000 2024-11-04 16:52:40 >> 0101 2024-11-04 16:52:40 << 7EB064101000400007E8064101000EE9687E906410100040000 2024-11-04 16:52:45 >> 0101 2024-11-04 16:52:45 << 7E8064101000EE9687E9064101000400007EB06410100040000 2024-11-04 16:52:50 >> 0101 2024-11-04 16:52:50 << 7EB064101000400007E8064101000EE9687E906410100040000 2024-11-04 16:52:55 >> 0101 2024-11-04 16:52:55 << 7EB064101000400007E8064101000EE9687E906410100040000 2024-11-04 16:53:00 >> 0101 2024-11-04 16:53:01 << 7EB064101000400007E8064101000EE9687E906410100040000 2024-11-04 16:53:05 >> 0105 2024-11-04 16:53:05 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:05 >> 0105 2024-11-04 16:53:05 << 7E9034105527EB034105527E803410552 2024-11-04 16:53:05 >> 0105 2024-11-04 16:53:05 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:05 >> 0105 2024-11-04 16:53:05 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:05 >> 0105 2024-11-04 16:53:06 << 7E9034105527EB034105527E803410552 2024-11-04 16:53:06 >> 0105 2024-11-04 16:53:06 << 7E8034105527E9034105527EB03410552 2024-11-04 16:53:06 >> 0105 2024-11-04 16:53:06 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:06 >> 0105 2024-11-04 16:53:06 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:06 >> 0105 2024-11-04 16:53:06 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:06 >> 0105 2024-11-04 16:53:06 << 7E9034105527EB034105527E803410552 2024-11-04 16:53:06 >> 0105 2024-11-04 16:53:06 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:06 >> 0105 2024-11-04 16:53:06 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:06 >> 0105 2024-11-04 16:53:06 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:06 >> 0105 2024-11-04 16:53:07 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:07 >> 0105 2024-11-04 16:53:07 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:07 >> 0105 2024-11-04 16:53:07 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:07 >> 0105 2024-11-04 16:53:07 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:07 >> 0105 2024-11-04 16:53:07 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:07 >> 0105 2024-11-04 16:53:07 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:07 >> 0105 2024-11-04 16:53:07 << 7E9034105527EB034105527E803410552 2024-11-04 16:53:07 >> 0105 2024-11-04 16:53:07 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:07 >> 0105 2024-11-04 16:53:07 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:07 >> 0105 2024-11-04 16:53:07 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:07 >> 0105 2024-11-04 16:53:07 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:07 >> 0105 2024-11-04 16:53:07 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:07 >> 0105 2024-11-04 16:53:08 << 7E9034105527EB034105527E803410552 2024-11-04 16:53:08 >> 0105 2024-11-04 16:53:08 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:08 >> 0105 2024-11-04 16:53:08 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:08 >> 0105 2024-11-04 16:53:08 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:08 >> 0105 2024-11-04 16:53:08 << 7E9034105527EB034105527E803410552 2024-11-04 16:53:08 >> 0105 2024-11-04 16:53:08 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:08 >> 0105 2024-11-04 16:53:08 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:08 >> 0105 2024-11-04 16:53:08 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:08 >> 0105 2024-11-04 16:53:08 << 7E9034105527EB034105527E803410552 2024-11-04 16:53:08 >> 0105 2024-11-04 16:53:08 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:08 >> 0105 2024-11-04 16:53:08 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:08 >> 0105 2024-11-04 16:53:09 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:09 >> 0105 2024-11-04 16:53:09 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:09 >> 0105 2024-11-04 16:53:09 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:09 >> 0105 2024-11-04 16:53:09 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:09 >> 0105 2024-11-04 16:53:09 << 7E8034105527E9034105527EB03410552 2024-11-04 16:53:09 >> 0105 2024-11-04 16:53:09 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:09 >> 0105 2024-11-04 16:53:09 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:09 >> 0105 2024-11-04 16:53:09 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:09 >> 0105 2024-11-04 16:53:09 << 7E8034105527E9034105527EB03410552 2024-11-04 16:53:09 >> 0105 2024-11-04 16:53:09 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:09 >> 0105 2024-11-04 16:53:10 << 7E9034105527EB034105527E803410552 2024-11-04 16:53:10 >> 0105 2024-11-04 16:53:10 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:10 >> 0105 2024-11-04 16:53:10 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:10 >> 0105 2024-11-04 16:53:10 << 7E8034105527E9034105527EB03410552 2024-11-04 16:53:10 >> 0105 2024-11-04 16:53:10 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:10 >> 0105 2024-11-04 16:53:10 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:10 >> 0105 2024-11-04 16:53:10 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:10 >> 0105 2024-11-04 16:53:10 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:10 >> 0105 2024-11-04 16:53:10 << 7EB034105527E8034105527E903410552 2024-11-04 16:53:10 >> 0105

muki01 commented 1 week ago

Hello. I apologize for the late reply. I've been a bit busy so I haven't seen you post. If your vehicle communicates with the CAN Bus, this project will not work for you. This protocol is only for ISO9141, ISO14230 and ISO14230 fast. I checked on the internet for your car and it says it works with CAN Bus. And you can check yourself by seeing if the OBD2 socket has pins 6 and 14, if there are these pins, then the communication is with the CAN Bus. In the future I plan to add CAN Bus protocols as well.