A check engine light means the engine computer (ECU) has detected a fault affecting the engine or emissions and has stored a trouble code; the first thing to establish is whether the light is steady (get it checked soon) or flashing (severe misfire: ease off and stop somewhere safe). The technician then works in order: plug in an OBD2 scan tool, record the codes and the freeze frame data, check simple things such as the battery, fuel cap and connectors, look at live data, test to pin down the faulty part, repair it, and only then clear the codes and run a test drive. Beginners often work the other way round: they read a code, see a sensor's name and replace it straight away, spending the customer's money while the light comes back on.
By the end of this lesson, you will be able to:
- Tell a steady check engine light from a flashing one and advise the customer whether to keep driving or stop.
- Find the OBD2 port, read codes, tell pending, confirmed and permanent codes apart, and read freeze frame data.
- Decode the structure of a P0xxx code and work through 10 common code groups from easiest to hardest.
- Use fuel trim and misfire counters in live data to narrow down the fault before replacing parts.
- Clear codes at the right time, test drive, and check readiness monitors before returning the car.
Learning auto electrics properly? Sensors, ECUs and scan tool diagnosis are step 5 of the roadmap, after 12V safety, reading wiring diagrams, starting and charging systems and body circuits. See the 8-step auto electrician roadmap to learn in the right order.
What is the check engine light, and how is steady different from flashing?
The check engine light (technically the malfunction indicator lamp, MIL, an amber engine symbol on the dashboard) is controlled by the ECU. The ECU constantly runs tests (monitors) on sensors, ignition, fuel delivery, the catalytic converter and the fuel vapour system; when a test fails enough times under the manufacturer's rules, the ECU turns on the light and stores a diagnostic trouble code (DTC).
Three states of the light
| State | Usual meaning | Advice to the customer |
|---|---|---|
| On with the ignition, off once the engine starts | Bulb self-test, normal | Nothing to do |
| Steady while driving | A confirmed fault, from minor (loose fuel cap) to serious | Have the codes read soon; if the car is down on power, overheating or smells odd, do not keep driving |
| Flashing while driving | Usually a severe misfire sending unburnt fuel into the catalytic converter, which can damage it | Ease off, no heavy loads or long climbs; stop somewhere safe and call roadside assistance or a garage |
Not every warning light is the check engine light
The battery, oil can, coolant temperature, airbag and ABS lights belong to other systems with their own codes. A red oil pressure or coolant temperature light means stop the engine now, which is more urgent than an amber check engine light. When a customer calls, ask what colour and symbol the light is, whether it is steady or flashing, and what the car is doing.
Why you should not just "clear the light"
Clearing codes only turns the light off for a while; the real fault is still there and the light returns when the monitor fails again. Clearing also erases the freeze frame data, which is the most valuable clue to the conditions in which the fault happened.
Scan tools and the OBD2 port
OBD2 is the on-board diagnostics standard, with a 16-pin port within reach of the driver, usually under the dashboard on the driver's side, sometimes behind a plastic cover (Figure 1). Most recent petrol cars sold in Vietnam have this port; older cars, rarer imports and trucks may use different connectors and protocols.
Photo: 0x010C / Wikimedia Commons, CC BY-SA 4.0
Pins worth remembering
- Pin 16: battery positive 12V, live even with the ignition off on most cars. If the scan tool will not power up, check pin 16 and the cigarette lighter or power outlet fuse first.
- Pins 4 and 5: chassis ground and signal ground.
- Pins 6 and 14: CAN High and CAN Low on cars using the CAN protocol; pin 7 is the K-line on many older cars.
Three kinds of scan tool (2026 reference prices in Vietnam)
| Type | What it can do | Reference price |
|---|---|---|
| ELM327 Bluetooth/Wi-Fi adapter + phone app | Generic codes, clearing, freeze frame, basic data | 150,000–600,000 VND |
| Handheld code reader | Generic codes, readiness, live data, some manufacturer codes | 500,000–3,000,000 VND |
| Professional multi-brand diagnostic tool | Codes from every module, manufacturer data, actuator tests, coding | 8,000,000–60,000,000 VND and up |
Apprentices should start with an ELM327 adapter (about US$6–23) to learn the process (Figure 2), but a garage needs a professional tool because many faults only show as manufacturer-specific codes or in modules other than the engine ECU. Prices depend on the brand, software licence and update package.
Photo: Losch / Wikimedia Commons, CC BY 3.0
A 7-step procedure when the check engine light is on
Working in order keeps you from missing clues and replacing the wrong part. Record every step on the job card.
- Ask and observe: steady or flashing, since when, after refuelling, a car wash, a battery change or another repair; is the car shaking, down on power, using more fuel or hard to start.
- Read codes and freeze frame: record every code (including pending ones) and save the freeze frame: rpm, load, coolant temperature, speed and fuel trim when the fault set.
- Basic checks: battery voltage at rest and while cranking, the fuel cap, connectors and wiring of related sensors, vacuum hoses, oil or coolant leaking into connectors.
- Look up information: the manufacturer's code definition, wiring diagram and any technical service bulletins for that model.
- Read live data: compare sensor values with specifications and try to reproduce the freeze frame conditions.
- Pinpoint test: measure supply, ground and signal at the sensor or ECU connector, or swap parts where possible, to prove the part is faulty before replacing it.
- Repair, clear, test drive: only clear codes after the repair, drive under freeze frame conditions, then check pending codes and readiness.
Pending, confirmed and permanent codes
- Pending: the fault happened once and the ECU has not yet turned on the light. Very useful when checking a repair.
- Confirmed (stored): the fault repeated under the required conditions and the light is on.
- Permanent: on many newer cars, a scan tool cannot clear these; the ECU clears them itself once the related monitor passes. That is why you cannot just "clear the light and send it off".
Freeze frame and fuel trim
Freeze frame tells you whether the fault happened cold or hot, at idle or under heavy load, so you can reproduce the right conditions on the test drive. Fuel trim is the percentage of fuel the ECU is adding or removing compared with its calculation: a positive number means it is adding fuel because the mixture is lean (too little fuel or too much air), a negative number means it is removing fuel because the mixture is rich. Combined short-term and long-term fuel trim within about ±10% is usually normal; further out is suspicious, especially together with a lean or rich code.
Reading OBD2 codes: structure and 10 common groups
Each code is one letter and four digits. Understanding the structure tells you straight away which system is involved before you look up the details.
Code structure
- First letter: P (powertrain: engine and transmission), B (body), C (chassis), U (network communication).
- First digit: 0 is a generic standard code, 1 is manufacturer-specific (the definition must be looked up for that make).
- Second digit (for P0 codes): 1 and 2 are fuel, air and injectors; 3 is ignition and misfire; 4 is auxiliary emission controls; 5 is vehicle speed and idle; 6 is the ECU and output circuits; 7 and 8 are the transmission.
- Last two digits: the specific fault, for example P0302 is a misfire in cylinder 2.
Ten common code groups and the order to check them
| Code | Meaning | Check first (easy, cheap) | Check next |
|---|---|---|---|
| P0300–P0304 | Random misfire or misfire in cylinders 1–4 | Spark plugs, coils (swap them), coil connectors | Injectors, cylinder compression, valves |
| P0171, P0174 | System too lean | Vacuum leaks, crankcase breather hose, dirty mass air flow sensor | Fuel pressure, fuel filter, injectors |
| P0172, P0175 | System too rich | Clogged air filter, air flow sensor, leaking injector | High fuel pressure, purge valve stuck open |
| P0420 | Catalyst efficiency below threshold | Exhaust leak before the oxygen sensor, past misfires | Upstream and downstream oxygen sensor signals, the converter |
| P0455, P0456, P0457 | Fuel vapour (EVAP) system leak | Loose fuel cap, cap seal | Hoses, valves, charcoal canister (smoke test) |
| P0128 | Coolant below operating temperature | Coolant level, temperature sensor | Thermostat stuck open |
| P0101 | Mass air flow sensor range or performance | Air filter, cracked intake duct, dirty sensor | Supply, ground and signal at the connector |
| P0135, P0141 | Oxygen sensor heater circuit | Fuse, connector | Heater resistance, wiring to the ECU |
| P0335, P0340 | Crankshaft or camshaft position sensor circuit | Connector, chafed wiring, battery voltage while cranking | Signal on an oscilloscope, reluctor ring, cam timing |
| P0562, many U codes | Low system voltage, lost communication with modules | Battery, terminals, engine ground, alternator | CAN network, supply to each module |
Exact definitions and test limits must come from the manufacturer's information for each model; the table above is the order of checks commonly used in garages.
Low voltage codes: check the battery first
A weak battery, loose terminals or a poor engine ground make the voltage drop when cranking, and the ECU and other modules can store a string of unrelated sensor and U codes. If you see many odd codes at once, test the battery and charging system first; the method is in Car battery drain: how to test parasitic draw and find the cause.
Worked example: a 1.5-litre sedan flashing on a climb
A customer brings in a small 1.5-litre four-cylinder sedan, 2017 model, with 110,000 km on the clock. They say the check engine light flashes when accelerating up the ramp of their apartment car park, stays steady when cruising, and the idle is a little rough. The engine has an individual coil for each cylinder.
Reading codes and narrowing down
- Codes: P0302 (confirmed) and P0300 (pending). Freeze frame: 2,400 rpm, 68% load, coolant 90°C, 45 km/h, total fuel trim +4%.
- Fuel trim is close to zero, so an air leak or fuel starvation is unlikely; the fault happens under high load, which points to weak ignition.
- Basic checks: battery 12.6V at rest, 10.4V while cranking, both acceptable. The cylinder 2 coil connector is tight and free of corrosion.
- Swap the cylinder 2 and cylinder 3 coils, clear the codes, and test drive up the ramp under freeze frame conditions: a pending P0303 appears. The fault followed the coil, so the original cylinder 2 coil is faulty.
- Remove the spark plugs: worn electrodes and a wide gap (Figure 3); the car is past its plug change interval in the service book, so recommend replacing all four.
Photo: A7N8X / Wikimedia Commons, CC BY-SA 4.0
Time and quote (2026 reference, varies by model)
| Step | Time | Item | Amount |
|---|---|---|---|
| Read codes and freeze frame | 10 minutes | Diagnostic fee | 200,000 VND |
| Check battery and connectors | 10 minutes | Included in the diagnostic fee | 0 VND |
| Swap coils, test drive | 25 minutes | 1 new ignition coil | 1,100,000 VND |
| Replace coil and plugs | 30 minutes | Spark plugs 4 × 140,000 VND | 560,000 VND |
| Clear codes, test drive | 25 minutes | Labour for replacement and test drive | 250,000 VND |
| Total | 100 minutes | 2,110,000 VND |
Check: time 10 + 10 + 25 + 30 + 25 = 100 minutes; cost 200,000 + 0 + 1,100,000 + 560,000 + 250,000 = 2,110,000 VND (about US$81). After the repair, a 20-minute test drive under the same conditions shows a cylinder 2 misfire count of zero, no pending codes, and the misfire monitor complete. If the fault had not followed the coil, the next step would be checking the injector and the compression of cylinder 2, not replacing more parts on a guess.
When the coils are a single pack
Many engines use a single coil rail for all four cylinders (Figure 4), so you cannot swap individual coils. In that case, swap spark plugs between two cylinders, measure primary and secondary resistance against the manufacturer's figures, or use a spark tester, before deciding to replace the whole pack.
Photo: Cschirp / Wikimedia Commons, CC BY-SA 3.0 de
Clearing codes, test driving and returning the car
Clearing codes is the last step, not the first. Each time you clear, the monitors reset to "not ready" and have to run again.
Test drive after the repair
- Drive under conditions similar to the freeze frame: the same rpm range, load and engine temperature.
- Read pending codes after the drive: no new pending code is a good sign, but not conclusive if the monitor has not run.
- Check readiness: the monitor related to the fault you fixed must show complete before you conclude the job is done.
Returning the car and briefing the customer
Record on the job card: the original codes, freeze frame, what you measured, the parts replaced and the test drive result. Tell the customer to bring the car back promptly if the light returns and not to clear it themselves. Do not clear codes just before the car goes for its periodic inspection, or hand it back without a full drive cycle, because the monitors will still be "not ready"; check current inspection requirements with the vehicle inspection centre in Vietnam.
When to escalate
Misfires caused by low compression, wrong cam timing or a failed catalytic converter usually need an engine mechanic or a professional diagnostic tool. Be clear with the customer about what you have checked, and do not promise it is "definitely fixed".
Safety when diagnosing, and common mistakes
Diagnosis often happens with the engine running or on a road test, so the risks are not only electrical.
Safety warning: When running an engine in the workshop, open the doors or use an exhaust extraction hose; carbon monoxide is odourless and deadly. With the engine running, keep hands, meter leads, hair and loose clothing away from the radiator fan (an electric fan can start even with the engine off), pulleys and belts; the exhaust manifold and pipes are very hot. Apply the handbrake, select P or N and chock the wheels. Do not plug or unplug sensor or ECU connectors with the ignition on; never probe airbag connectors (usually yellow) with a meter. If you smell petrol, switch off the engine and avoid any sparks. Road tests need two people: one drives, one watches the scan tool; never drive while operating a phone or a diagnostic tool.
Mistake 1: replacing the part named in the code
Sign: replacing an oxygen sensor for P0171 or P0420 and the light comes back. Cause: the code name only tells you the system detected something abnormal, not which part has failed. Fix: always have at least one measurement or swap test that proves the part is faulty before replacing it.
Mistake 2: clearing codes before saving the freeze frame
Sign: you do not know when the fault occurred and test drives never reproduce it. Fix: photograph or save all codes and freeze frame data before touching the clear button.
Mistake 3: ignoring the battery and grounds when there are many codes
Sign: 6–10 codes across different systems, including U codes. Fix: test the battery, voltage drop across the terminals and the engine ground, repair, clear the codes and read again; usually only one or two real codes remain.
Frequently asked questions
Can I keep driving with the check engine light on?
If the light is steady and the car drives normally, you can usually drive gently to the nearest garage to have the codes read soon. If the light is flashing, or the car is shaking, down on power, overheating, or smells of burning or petrol, reduce load, stop somewhere safe and call roadside assistance.
Does code P0420 mean replacing the catalytic converter straight away?
No. Check for exhaust leaks before the oxygen sensor, past misfires or rich running, and the signals from the oxygen sensors before and after the converter. Only replace the converter once other causes have been ruled out.
Will disconnecting the battery clear the check engine light?
On many cars it clears the codes temporarily, but it also erases the freeze frame, the ECU's learned values and possibly radio and window settings. Permanent codes remain, and the light will return if the fault has not been fixed.
Is a cheap OBD2 reader enough for repair work?
It is enough for learning and reading generic engine codes. For professional repairs you need a tool that reads manufacturer codes, modules beyond the engine, full live data and actuator tests.
Practice exercises and self-assessment
- Find the OBD2 port on 3 different cars, measure the voltage between pin 16 and pin 4, and note where each port is.
- Read codes, freeze frame and readiness on one car (even with no faults) and explain each line of data.
- For a P0171 code, write a 5-step test plan from easiest to hardest, listing the tools for each step.
Self-assessment criteria
- Pass: you can explain the structure of any P0xxx code and tell pending, confirmed and permanent codes apart.
- Pass: you save codes and freeze frame before clearing; you can read fuel trim and say whether the mixture is lean or rich.
- Pass: every part you recommend replacing is backed by a measurement or swap test.
- Not yet: clearing the light and sending the customer off without a repair, or replacing a sensor just because of the code name.
Replacing spark plugs on time prevents many misfire faults; the mileage-based service schedule is in Car service schedule by mileage: intervals, items and costs. Once you are fluent with codes and sensor data, the next step of the roadmap is CAN networks, key coding & programming, where you learn to handle U codes, measure network termination resistance and code modules after replacement. Figure 5 shows the kind of laptop-based diagnosis you will do regularly at that step.
Photo: Shixart1985 / Wikimedia Commons, CC BY 2.0
Keep learning auto electrics: after sensors and scan tool diagnosis come CAN networks, key coding, installing screens and cameras, and quoting jobs and finding work. See the 8-step auto electrician roadmap.






