View Single Post
Old 12-07-2008, 01:26 PM   #283 (permalink)
RussEnterprises
EcoModding Lurker
 
Join Date: Dec 2008
Location: Alabama
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Magister View Post
For ISO I changed in the code the pin used, instead of using softserial on port 2/3 I now use the hardware UART on pin 0/1, I'll have to change this in the diagram, and maybe it will work better.
Hello, I'm new to this forum, I found this thread while researching another Arduino OBDII project I'm working on.

Has anyone gotten the code to work with ISO9141? Also, is the code that uses the hardware UART available? I just downloaded r110 from the google code page, and it's still using softserial...

I have an ISO9141 vehicle, I built an interface using the MC33290, but I'm having trouble getting the communication initialized. When the OBDuino code didn't work for me, I modified it to use the hardware UART on 0/1 and still couldn't get it to initialize. Then I started fresh on my own initialization routine using information from a variety of sources on the web. My code sends the 5 baud init on pin 1 using digitalWrite and the timings from prj.perquin.com, then initializes the hardware UART at 10400 baud and waits for data, printing anything it receives to the LCD. On my car ('99 Mazda Miata), the only response I can get is 5588, which is not what the obduino code expects. I don't have the official spec, so I'm pretty much shooting in the dark, but I've tried sending several different byte sequences after I get the 5588 but I never get anything else back.

I think my interface is working, since I am getting responses, and they are consistent. I'm planning to keep working on the problem, I just haven't had a lot of time lately. Any suggestions will be appreciated, and if I make any progress, I'll share it here...

Thanks,
Russ
  Reply With Quote