S
S
Sergey Miller2021-06-18 12:37:12
Programming
Sergey Miller, 2021-06-18 12:37:12

Communication with the car's ECU?

I'm not sure that there are people here who can answer, but still.

The question is strange, I agree, but suddenly someone knows something. I just want to know what are the ways to communicate with the brains of the car. I read about this and realized that this can (sort of) be done in Java. But I'm not sure if I understood correctly, since the topic is new to me. What I want? Write a program that will communicate with the computer, send a request and receive a response. For example, display information about errors or get the number of something.

In general, if the question seems stupid, do not slander, please .

Answer the question

In order to leave comments, you need to log in

5 answer(s)
V
Vasily Bannikov, 2021-06-18
@vabka

Most cars have an OBD2 socket into which you can insert the appropriate scanner. The scanner has its own interface through which it can communicate with the outside world - for example, it can be COM or Bluetooth.

V
Vladimir Korotenko, 2021-06-18
@firedragon

Can bus
There are ideas and links
See the last post
kazus.ru/forums/showthread.php?t=16774

D
d-stream, 2021-06-19
@d-stream

Well, you should probably google about ELM327 (as the most popular interface converter)
In short, from the computer side, it looks like a com port, and on the other hand, it can negotiate speeds and protocols with the auto bus (there are a lot of them). Well, then, in fact, you can, for example, hook on to any terminal (winterm, for example), you can command by sending it (by typing with handles directly) AT commands
AT Z
AT SP 0
01 05
and in response get a bunch of numbers about the temperature of the coolant,
then google the general "standardized" decryption of OBD PID codes ,
then dig up a placer of vendor specific PID tricks
and, in fact, further - at least do even more than dealers can do with dealer scanners
p/s/ somewhere in the middle you might come across a hobdrive - there people dug up a lot of interesting
p/p/s and if you like visualism and are too lazy - you can play around with canny)

R
Ronald McDonald, 2021-06-18
@Zoominger

Muffins have a so-called diagnostic interface.
For it, there are adapters from the car connector (I don’t remember what it’s called) to USB or Bluetooth.
You cut the machine via USB and then send certain commands, looking at the specification in parallel.

L
Lampus, 2021-07-08
@Lampus

I recommend the book Car Hacker's Handbook A Guide for the Penetration Tester
opengarages.org/handbook
The book is freely available, it has an overview of various protocols and software for traffic analysis.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question