Max232 interfface OK?

User topics relating to hardware that interfaces PCs to ECUs

Moderator: Freon

Max232 interfface OK?

Postby Impakt » Tue Mar 07, 2006 6:40 pm

Hi all,
I wanted to play with an OBD data scanner i got the other day. Is it possible to make up a simple MAX232 based circuit to monitor the data on the data line?

Do i *have* to use an opto based circuit?

Thanks,
Impakt
Impakt
 
Posts: 6
Joined: Wed Oct 19, 2005 3:11 am

Postby cboles » Tue Mar 07, 2006 6:56 pm

You don't need to have optoisolation, but you do need to create a circuit which works with the ~+12V open collector signaling which is what the ISO-9141 K-Line uses. The OpenPort 1.2 schematic doesn't uses optos, for example.
cboles
Site Admin
 
Posts: 1233
Joined: Wed Dec 29, 2004 5:45 pm
Location: Seattle, WA

Postby Impakt » Sun Mar 19, 2006 3:33 am

What about if i want to use the select monitor pins only for datalogging? I understand that these pins are 12 and 13 on the OBD-II connector.

Can i use the MAX232 in this case?
Impakt
 
Posts: 6
Joined: Wed Oct 19, 2005 3:11 am

Postby richh » Sun Mar 19, 2006 8:06 am

Impakt wrote:What about if i want to use the select monitor pins only for datalogging? I understand that these pins are 12 and 13 on the OBD-II connector.


No, that's incorrect, you've missed what Colby has told you about the K-line. The only Subarus that use pins 12 and 13 on the 16 pin DLC plug are a small number of the old SSM1 compatible cars. The vast majority use ISO9141-2 compatible signalling, which uses pin 7 for both Tx and Rx, and that's the interfacing scheme that all the development around these parts has been done around.

Can i use the MAX232 in this case?


That's a moot point seeing as your assumptions about pins 12 and 13 are likely to be wrong (as you haven't told us what car you want to talk to, we don't know for sure!). If you want to interface with a car that uses the K-line, you may end up using a MAX232 or similar to do some level shifting, but by fixating on this chip you're missing what really needs to be done.

If you do have a K-line car, there are a number of different ways of creating the interface. As Colby says, you don't need optos, and indeed there are a couple of one-chip solutions around nowadays that will do most of the hard work for you. :)
richh
 
Posts: 19
Joined: Fri Jan 20, 2006 2:25 am


Return to Interface Hardware

Who is online

Users browsing this forum: No registered users and 40 guests