欢迎访问ic37.com |
会员登录 免费注册
发布采购

ELM320SM 参数 Datasheet PDF下载

ELM320SM图片预览
型号: ELM320SM
PDF下载: 下载PDF文件 查看货源
内容描述: OBD ( PWM) ,以RS232翻译 [OBD (PWM) TO RS232 INTERPRETER]
分类和应用:
文件页数/大小: 16 页 / 100 K
品牌: ELM [ ELM ELECTRONICS ]
 浏览型号ELM320SM的Datasheet PDF文件第1页浏览型号ELM320SM的Datasheet PDF文件第2页浏览型号ELM320SM的Datasheet PDF文件第3页浏览型号ELM320SM的Datasheet PDF文件第5页浏览型号ELM320SM的Datasheet PDF文件第6页浏览型号ELM320SM的Datasheet PDF文件第7页浏览型号ELM320SM的Datasheet PDF文件第8页浏览型号ELM320SM的Datasheet PDF文件第9页  
ELM320  
Overview  
The following describes how to use the ELM320 to  
features of this product as well.  
obtain a great deal of information from your vehicle. To  
many, the quantity of information will be overwhelming,  
and to others it is not nearly enough.  
We begin by discussing just how to talk to the IC,  
then how to adjust some options through the use of  
‘AT’ commands, and finally go on to actually talk to the  
vehicle, obtaining trouble codes and resetting them.  
For the more advanced experimenters, there are also  
sections on how to use some of the programmable  
It is not as daunting as it first appears. Many users  
will never need to issue an ‘AT’ command, adjust  
timeouts or change the headers. For most, all that is  
required is a PC or a PDA with a terminal program  
(such as HyperTerminal or ZTerm), and knowledge of  
one or two OBD commands, which we provide in the  
following…  
Communicating with the ELM320  
The ELM320 relies on a standard RS232 type  
serial connection to communicate with the user. The  
data rate is fixed at 9600 baud, with 8 data bits, no  
parity bit, 1 stop bit, and no handshaking (often  
referred to as 9600 8N1). All responses from the IC  
are terminated with a single carriage return character  
and, by default, a line feed character as well. Make  
sure your software is configured properly for the mode  
you have chosen.  
(hex ‘0D’) before it will be acted upon. The one  
exception is when an incomplete string is sent and no  
carriage return appears. In this case, an internal timer  
will automatically abort the incomplete message after  
about 10 seconds, and the ELM320 will print a single  
question mark to show that the input was not  
understood (and was ignored).  
Messages that are misunderstood by the ELM320  
(syntax errors) will always be signalled by a single  
question mark (‘?’). These include incomplete  
messages, invalid hexadecimal digit strings, or  
incorrect AT commands. It is not an indication of  
whether or not the message was understood by the  
vehicle. (The ELM320 is a protocol interpreter that  
makes no attempt to assess OBD messages for  
validity – it only ensures that an even number of hex  
digits were received, combined into bytes, and sent  
out the OBD port, so it cannot determine if the  
message sent to the vehicle is in error.)  
Incomplete or misunderstood messages can also  
occur if the controlling computer attempts to write to  
the ELM320 before it is ready to accept the next  
command (as there are no handshaking signals to  
control the data flow). To avoid a data overrun, users  
should always wait for the prompt character (‘>’)  
before issuing the next command.  
Finally, a few convenience items to note. The  
ELM320 is not case-sensitive, so ‘ATZ’ is equivalent to  
‘atz’, and to ‘AtZ’. The device ignores space characters  
as well as control characters (tab, linefeed, etc.) in the  
input, so they can be inserted anywhere to improve  
readability and, finally, issuing only a single carriage  
return character will repeat the last command (making  
it easier to request updates on dynamic data such as  
engine rpm).  
Properly connected and powered, the ELM320 will  
initially display the message:  
ELM320 v2.0  
>
In addition to identifying the version of the IC,  
receipt of this string is a convenient way to be sure  
that the computer connections and the settings are  
correct. However, at this point no communications  
have taken place with the vehicle, so the state of that  
connection is still unknown.  
The ‘>’ character displayed above is the ELM320’s  
prompt character. It indicates that the device is in its  
idle state, ready to receive characters on the RS232  
port. Characters sent from the computer can either be  
intended for the ELM320’s internal use, or for  
reformatting and passing on to the vehicle’s OBD bus.  
Commands for the ELM320 are distinguished from  
those to the vehicle by always beginning with the  
characters ‘AT’ (as is common with modems), while  
commands for the OBD bus must contain only the  
ASCII characters for hexadecimal digits (0 to 9 and A  
to F). This allows the ELM320 to quickly determine  
where the received characters are to be directed.  
Whether an ‘AT’ type internal command or a hex  
string for the OBD bus, all messages to the ELM320  
must be terminated with a carriage return character  
ELM320DSC  
Elm Electronics – Circuits for the Hobbyist  
< http://www.elmelectronics.com/ >  
4 of 16