Go Down

Topic: Bike interface OBD (Read 39083 times) previous topic - next topic

TriB

There is a Sender and Receiver in the messages.
If you are the sender, ignore the response.

ECU: 0x11
You: 0xF1

cyclegadget

Using the l9637 i am facing some bouncing problems, some of you have had similar problems? I send a request and i receive the eco of my request with the answer from the ecu
How did you resolvered?
My answer was to Serial.read() the eco without saving any of it, until I read everything that I sent. I checked for my last byte of my message. You can use "if" statements to watch for any combination you want. Then, I knew the next bytes were from the ECU.

Good links: Eagle tutorial= http://www.youtube.com/playlist?list=PLDE1858BD83D19C70
General Arduion tutorials = http://tronixstuff.wordpress.com
http://www.gammon.com.au/forum/bbshowpost.php?bbtopic_id=123

Markino76

Hi guys,
I'm working on similar project: I'm using an Arduino Nano V3 to get info from the k-line (OBD1) of my Honda motorbike.
I'd like to use the HW Serial to dump on the Serial Monitor of my PC what I'm getting from the ECU and I'd like to use SoftwareSerial to communicate with the ECU.
I'm also using an opto-circuit to de-couple the 0-5V of the Arduino signals from the 012V of the bike.

To make the story short... I can't find a way to use SoftwareSerial library with a baud of 10400.
I've connected, for test, two Arduino Nano with SoftwareSerial ports and I'm able to dump on the HW Serial Monitor of the second Arduino all I sent from the first but can't patch the SoftwareSerial code to add 10400 baud option.
Can you please help me?

PS: I saw that SoftwareSerial library works on my Arduino Nanos only till 38400baud, if I configure it at 57600 it doesn't works fine, is it normal?

o5i_

Hi, softsearial doesent work, i had the same issues on seeduino. You can fix it by using the other timers in the internal setup, i dont remember where to find them.. but there is a fix... But i recomend you to use the hardware serial for the transmission, works much better...

mehran135

I want to read my car ECU coolant Temp. with using this circuit , please help me to write program .
https://forum.arduino.cc/index.php?action=dlattach;topic=455232.0;attach=210665

Go Up