Electronic Components Datasheet Search
  English  ▼

X  

ELM327P Datasheet(PDF) 30 Page - ELM Electronics

Part # ELM327P
Description  OBD to RS232 Interpreter
PDF  51 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ELM [ELM Electronics]
Direct Link  http://www.elmelectronics.com
Logo ELM - ELM Electronics

ELM327P Datasheet(HTML) 30 Page - ELM Electronics

Back Button ELM327P Datasheet HTML 26Page - ELM Electronics ELM327P Datasheet HTML 27Page - ELM Electronics ELM327P Datasheet HTML 28Page - ELM Electronics ELM327P Datasheet HTML 29Page - ELM Electronics ELM327P Datasheet HTML 30Page - ELM Electronics ELM327P Datasheet HTML 31Page - ELM Electronics ELM327P Datasheet HTML 32Page - ELM Electronics ELM327P Datasheet HTML 33Page - ELM Electronics ELM327P Datasheet HTML 34Page - ELM Electronics Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 51 page
background image
Monitoring the Bus
Some vehicles use the OBD bus for information
transfer during normal vehicle operation, passing a
great deal of information over it. A lot can be learned if
you have the good fortune to connect to one of these
vehicles, and are able to decipher the contents of the
messages.
To see how your vehicle uses the OBD bus, you
can enter the ELM327’s ‘Monitor All’ mode, by sending
the command AT MA from your terminal program. This
will cause the IC to display any information that it sees
on the OBD bus, regardless of transmitter or receiver
addresses (it will show all). Note that the periodic
‘wakeup’ messages are not sent while in this mode, so
if you have an ISO 9141 or ISO 14230 bus that had
been initialized previously, it may ‘go to sleep’ while
monitoring.
The monitoring mode can be stopped by putting a
logic low level on the RTS pin, or by sending a single
RS232 character to the ELM327. Any convenient
character can be used to interrupt the IC – there are
no restrictions on whether it is printable, etc. Note that
the character you send will be discarded, and will have
no effect on any subsequent commands. The time it
takes to respond to this interrupting character will
depend on what the ELM327 is doing when the
character is received. The IC will always finish a task
that is in progress (printing a line, for example) before
returning to wait for input, so you should always wait
for the prompt character (‘>’), or the Busy line to go
low, before beginning to send a command.
One unexpected result may occur if you have the
automatic protocol search feature enabled, and you
tell the ELM327 to begin monitoring. If the bus is quiet,
the ELM327 will begin searching for an active protocol,
which may not be what you were expecting. Be aware
also that the ISO 9141 and ISO 14230 protocols look
identical when monitoring, so the ELM327 will likely
stop searching at ISO 9141, even if the actual protocol
is ISO 14230. With the Automatic searching enabled,
this should correct itself, however, when the first OBD
request is made.
If the ‘Monitor All’ command provides too much
information (it certainly does for most CAN systems!),
then you can restrict the range of data that is to be
displayed. Perhaps you only want to see messages
that are being transmitted by the ECU with address 10.
To do that, simply type:
>AT MT 10
and all messages that contain 10 in the third byte of
the header will be displayed.
Using this command with 11 bit CAN systems can
be a little confusing at first. Recall the way in which all
header bytes are stored within the ELM327. An 11 bit
CAN ID is actually stored as the least significant 11
bits in the 3 byte ‘header storage’ location. It will be
stored with 3 bits in the receiver’s address location,
and the remaining 8 bits in the transmitter’s address
location. For this example, we have requested that all
messages created by transmitter ‘10’ be printed, so all
11 bit CAN IDs that end in 10 will be displayed (ie all
that look like ‘x10’).
The other monitoring command that is very useful
is the AT MR command, which looks for specific
addresses in the middle byte of the header. Using this
command, you can look for all messages being sent to
a particular address. For example, to use it to look for
messages being sent to the ECU with address 10,
simply send:
>AT MR 10
and all messages that contain 10 in the second byte of
the header will be displayed.
Using this command with the 11 bit CAN systems
will again need further explanation. It may be helpful to
first picture the hex number ‘10’ in the above example
as the binary number ‘0001 0000’. Recall from above
that 11 bit CAN IDs are actually stored as the least
significant 11 bits in the 3 byte ‘header storage’
locations, and only 3 bits are actually stored in the
middle
byte
(receiver’s
address)
position.
When
comparing the received CAN ID to the address you
provide with the MR command then, only the right-
most 3 bits of your MR address are considered and
the other 5 bits are ignored. In this example, the
AT MR 10 effectively becomes AT MR 0 for 11 bit
CAN systems, and all messages that begin with ‘0’ as
the first digit will actually be displayed.
In order to use the AT MR command with CAN 11
bit identifiers, you should always try to use the format
‘AT MR 0x’, where ‘x’ is the digit that you want the
identifiers to begin with. To look for all 2xx’s, use the
command ‘AT MR 02’, and to see all of the 7xx’s, you
should use ‘AT MR 07’.
ELM327
30 of 51
ELM327DSC
Elm Electronics – Circuits for the Hobbyist
www.elmelectronics.com



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com