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