Electronic Components Datasheet Search
  English  ▼

X  

ELM327P Datasheet(PDF) 43 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) 43 Page - ELM Electronics

Back Button ELM327P Datasheet HTML 39Page - ELM Electronics ELM327P Datasheet HTML 40Page - ELM Electronics ELM327P Datasheet HTML 41Page - ELM Electronics ELM327P Datasheet HTML 42Page - ELM Electronics ELM327P Datasheet HTML 43Page - ELM Electronics ELM327P Datasheet HTML 44Page - ELM Electronics ELM327P Datasheet HTML 45Page - ELM Electronics ELM327P Datasheet HTML 46Page - ELM Electronics ELM327P Datasheet HTML 47Page - ELM Electronics Next Button
Zoom Inzoom in Zoom Outzoom out
 43 / 51 page
background image
43 of 51
ELM327DSC
Elm Electronics – Circuits for the Hobbyist
www.elmelectronics.com
ELM327
Using Higher RS232 Baud Rates (Cont’d)
* Note that the 75msec time is adjustable
(with the AT BRT hh command)
connected to the ELM327 however, so will not know
what the limitations are. For these users, we have
provided the AT BRD command.
The AT BRD command allows a new baud rate to
be tested, and then accepted or rejected depending on
the results of the test. See the chart at the right, which
shows how the command works.
As can be seen, the software first makes a request
for a new baud rate divisor, using this command. For
example, to try the 57600 baud rate that was
previously discussed, the controlling PC would send
the command:
AT BRD 45
If the ELM327 is an older version, it will not
support this command, and will return with the familiar
‘?’ character. If it does support the command, it will
respond with ‘OK’, so the software knows whether to
proceed or not.
Having sent an ‘OK’, the ELM327 then switches to
the new (proposed) baud rate, and then simply waits a
predetermined time (nominally 75 msec). This period
is to allow the PC sufficient time to change its baud
rate. When the time is up, the ELM327 then sends the
ID string (currently ‘ELM327 v1.2’) to the PC at the
new baud rate, and then waits for a response.
Knowing that it should receive the ELM327 ID
string, the PC software compares what was actually
received to what was expected. If they match, the PC
responds with a carriage return character, but if there
is a problem, the PC sends nothing. The ELM327 is
meanwhile waiting for a valid carriage return character
to arrive. If it does (within 75 msec), the proposed
baud rate is retained, and the ELM327 says ‘OK’ at
this new rate. If it does not, the baud rate then reverts
back to the old rate. Note that the PC might correctly
output the carriage return at this new rate, but the
interface circuitry could corrupt the character, so that
the ELM327 does not see a valid response. Your
software must check for the ‘OK’ response before
assuming that the new rate has been accepted.
Using this method, a program can quickly try
several baud rates, evaluating the connection each
time, and settling on the fastest suitable one. The new
baud rate will stay in effect until reset by an AT Z, or a
Power Off/On. It is not affected by the AT WS (Warm
Start) command.
Request for a new
baud rate divisor:
AT BRD hh
ELM327 responds
with ‘OK’
(if it is supported)
ELM327 waits for
75msec*, then sends
the AT I string
Program switches to
the new baud rate,
and waits for input
Wait up to 75 msec*
for a carriage return
character
If the Rx is good,
Program sends a
carriage return
Print ‘OK’
Revert to the
old baud rate
PC
ELM327
CR
received
?
yes
no
Print a prompt,
then wait for the
next command



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