-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OBD-II UART Adapter V2 - Data reading issue #50
Comments
Please change the baud rate in the Arduino IDE from 9200 to 115200 and try again. |
It was already 115200 baud rate :( Still have this kind of thing : I see the blue light speaking with my Arduino UNO but I do not obtain the PID's values I do not know where is the problem |
This is what I did :
And I obtain this : Do you have an idea? Many thanks |
Still trying but still have the same result :( Hope that you will help me. Kind regards |
and when I tried to upload the sketch with the OBD connected to the Arduino UNO, I obtained : avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x41 But before I had avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00 Is it possible that I did a wrong manipulation and corrupted the OBD ? Do I have to other another OBD2 Uart Adapter? Kind regards |
Hi everyone, I have an OBD2 Uart adapter commanded on Freematics. My problem is the following (I begin with Arduino)
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x41 Do you think that I corrupted the Adapter with step 2? I know now that Rx/Tx do not have to be connected while uploading, so I did it and then reconnected the Adapter to Rx/Tx and instead of having in the serial monitor : "the right text....." I have a succession of I am using com3 with the good baud rate (115200 in my case) I do not understand what is it happening?
If you need more detail, Kind regards |
As far as I can see it's working correctly - the ATZ (...) are the AT commands to send messages to the car. Here is also more information about the extended command set: Which protocol does your car use btw.? |
Many thanks for you answer The car use the European protocol, ISO9141-2 I tried with and without connecting the OBD to the car and the results are the same. I did the following steps :
Is it the right way to read the sketch? As I precised, I did a wrong manipulation by connecting the white and the green on A2 and A3 and the syn message changed (from not in sync: resp=0x00 to not in sync: resp=0x41...). I did it when I though that the obd had to be connected to the Arduino Uno before uploading the sketch. But it is wrong to do that. Did I break the adapter or deprogram it? The light on the Adapter still works and seems to speak with my Arduino Uno. Is it a good idea to test the adapter on an Aduino mega? Many thanks for your return Laurent |
Moreover as you mentioned, the obd sends information to my Arduino Uno : ATI So I guess that the obd still works Just remarqued that the Tx light on my Arduino works but the Rx does not do anything while reading the information on the serial monitor I really do not know why I have always AT commands instead of pid's value |
You say it's "ISO9141-2"... is your car using K-Line to communicate? For your information, the "ATI" and other commands aren't received from the OBD port, they are the commands which the Arduino sends to the OBD adapter. |
Hi, Many thanks for this information, I understand better. Yes, it uses K-line (Pin 7 - ISO 9141-2 K Line and Pin 15 - ISO 9141-2 L Line = European protocol) but it is the ISO9141-2 protocol (European one) and in the datasheet of the OBD2 Uart adapter V2.1 you say that the adapter supports the ISO9141-2 protocol, is it true? So I do not understand the question about the k-line. But normally (even if the adapter does not support ISO9141-2 protocol), when connecting the Adapter to the Arduino Uno without connecting to te car, I will have receive text like "Freematics obd2 adapter detected" instead of a succession of AT commands? Is it true? If you want I can send you a video Thank you for your return and the time you spend for me I really appreciate, hope it will work :) Laurent |
Hi Laurent, the code may speak the ISO9141-2 PROTOCOL but your car has K-line as PHYSICAL connection. If you read the example code there is no line where it would return something like "Freematics Adapter connected", it only returns the commands which it sends and what data it receives, as far as I can see so what you're receiving should be correct. |
@firepower2k11 I am aware that this is an old thread, but I'm having a similar issue to this, and I am getting the message |
Hi everyone,
When I tried to upload your example sketch (for reading PID's) with the OBD connected to my Arduino UNO, it did not work, so I uploaded the sketch without connected the OBD and after that I connected the OBD to my Arduino UNO and obtained a succession of : ARTZAR..................................................
Does anyone know what is happening?
Many thanks
The text was updated successfully, but these errors were encountered: