muki01 / OBD2_K-line_Reader

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

ONE ERROR #7

Open toprakb66 opened 4 days ago

toprakb66 commented 4 days ago

"Hello my friend, I hope you're doing well. I made this project and connected everything according to the schematic you showed using Arduino Nano. I also added the code and connected it to the car, but I can't establish communication with the OBD no matter what I do. There's no communication, and I'm about to lose my mind. Can you give me some ideas?"

toprakb66 commented 1 day ago

WhatsApp Image 2024-09-18 at 00 48 41

toprakb66 commented 1 day ago

Bunu iyi anlıyorum, ancak bu ECU'lardan önce ECU'ya bağlanmak için bir katman var. Öncelikle belirli ECU'dan veri istemek için iletişime geçmeniz gerekiyor. Do you have any idea how we can do this?

muki01 commented 1 day ago

This is exactly what my code is trying to do. It works fine for me. Did you change the timings in the code and test?

toprakb66 commented 1 day ago

I tested it by changing lines 97 and 99 one by one.

toprakb66 commented 1 day ago

On my WiFi OBD device, it shows "ISO14230-4 (5baud) start" when selecting the protocol automatically. Is this an important detail?

muki01 commented 1 day ago

On my WiFi OBD device, it shows "ISO14230-4 (5baud) start" when selecting the protocol automatically. Is this an important detail?

No

muki01 commented 1 day ago

İn line 97 write delay(5); and test. Dont change other in line 99. If this not work try delay(200) and test again.

muki01 commented 1 day ago

And test with delay(50)

toprakb66 commented 21 hours ago

Buddy, my car is out of town, I'll test it as soon as possible.

toprakb66 commented 18 hours ago

"Friend, I have another car with K-line, a Lada Samara, and I got these errors as well: Initialising... Received Data: FF 0 0 Writing Data Received Data: 1 3 F1 81 66 Initialising... Received Data: 3F 0 0 Writing Data

toprakb66 commented 18 hours ago

So, it means there’s no problem with the car. Are you running this code with an ESP32, or could there be a problem with my Arduino Nano?"

toprakb66 commented 18 hours ago

Can I learn more details about your circuit? Were you able to get the transistor-based circuit to work?"

toprakb66 commented 18 hours ago

solve After extensive research, I found that some people have modified your transistor-based circuit in this way. What do you think about this?

toprakb66 commented 18 hours ago

"I placed an order for the L9637D along with its schematic, buddy. I hope this solves the issue this time. :("

muki01 commented 16 hours ago

Can I learn more details about your circuit? Were you able to get the transistor-based circuit to work?"

Yes, the schemes work, I have tried both the schemes that I have given. I have tried with Arduino Uno, Arduino Nano, ESP32 Wroom, ESP32 C3 and ESP32 S3 and everything works perfectly.

muki01 commented 16 hours ago

Your problem should not be from the schemes I have shared. It could be because of the breadboard. Many people have had a problem with the schemes they made on the breadboard, me too. Either it's from that or it's from the timings in the code.