Application Note AN02 - ELM327 Circuit Construction: Testing The ELM327 IC
Application Note AN02 - ELM327 Circuit Construction: Testing The ELM327 IC
When constructing an electronic circuit, it is often ELM327 ICs, and building the circuit in two stages.
best to build it in stages, testing each as you proceed. First, wire everything to these sockets, but do not
The following pages provide typical voltages that you install the ICs. Complete the rest of the circuit, power it
might expect as you build the ELM327 Example with a small 9V ‘radio’ battery, and then measure the
Application circuit, first with no integrated circuits voltages in your circuit. Compare your voltages to
installed, and then with all in place. Hopefully, it will those shown in red on Figure 2. If there are any
help you to locate wiring issues before they cause significant discrepancies, find out why before
problems. proceeding. Note that a 9V battery is chosen as it will
not be able to supply very large currents, so if there
are serious problems, there will be little or no damage.
Testing the ELM327 IC
Once you are satisfied that your circuit will not
Although we do not advise it, we often get emails
damage the integrated circuits, install them in their
from people that are trying to test their ELM327 before
sockets, and apply a source of about 12V to the circuit.
installing it into the final circuit. This exposes the chip
You should then see voltages similar to those of
to conditions that may not be good for it, as people
Figure 3. Once satisfied that the voltages are correct,
often report open-circuited inputs, incorrect supply
you can begin testing with the software of your choice.
levels, etc. CMOS integrated circuits should never
Do not connect to the vehicle when first testing the
have an input left open-circuited – it should always be
software, as you are only testing the communications
connected to either 0V or 5V, or else erratic behaviour
with your PC at that point.
and possibly damage to the IC might occur.
Once the software is able to communicate with the
If you insist on taking the IC from its protective
interface, test each protocol in sequence, with no
tube and installing it into a test circuit, use the circuit
vehicle connected. Use the SP command to select
shown in Figure 1. If the IC is able to initialize itself
individual protocols, and then send 0100. If all goes
internally and start functioning, you will see the four
well, you should only see ‘NO DATA’s or ‘UNABLE TO
LEDs light in sequence, followed by the one on pin 26
CONNECT’ and no messages that indicate a problem
lighting one more time.
with the vehicle such as ‘BUS BUSY’ or ‘FB ERROR’.
If you do see either of these latter two messages, then
Constructing Figure 9 from the Data Sheet there is a problem with your wiring – correct it before
Most people build the Example Application circuit connecting to a vehicle.
that we show in the data sheet (Figure 9), so we will When you’ve finished the above, and all appears
discuss it here, with one change. We have used the to be working well, you may connect to a real vehicle
discrete RS232 interface shown in Figure 11, instead and begin testing the complete ‘package’. Hopefully all
of the FTDI module. When you do begin to build your will work well for many years.
circuit, we advise using sockets for the MCP2551 and
4x
470 Ω
+5V
78L05 28 27 26 25 24 23 22 21 20 19 18 17 16 15
+
7 to 20V
- 0.1µF 0.1µF 327
1 2 3 4 5 6 7 8 9 10 11 12 13 14
4.00MHz
CAN-L 0.00
14
0.00 9.24 Vbat +12V 8.51 U3 +5V
6 4.96
CAN-H R22 R23 0.00 0.00 16 7805
100Ω 100Ω
8 7 6 5 Battery D1 L5
R24 Positive
0.00 0.00 4.7KΩ MCP2551 C1 C5
C7 C8 0.1µF 0.1µF 2.97
560pF 560pF NOT installed U2 R31
5 50V
1 2 3 4
470Ω
+5V 0.00 Signal
Ground
4.96
CAN-L 2.56
14
2.48 12.05 Vbat +12V 11.33 U3 +5V
6 4.96
CAN-H R22 R23 1.73 2.48 16 7805
100Ω 100Ω
8 7 6 5 Battery D1 L5
R24 Positive
2.48 2.56 4.7KΩ MCP2551 C1 C5
C7 C8 0.1µF 0.1µF 2.97
560pF 560pF installed U2 R31
5 50V
1 2 3 4
470Ω
+5V 4.96 Signal
Ground
4.96