1. Attachments are working again! Check out this thread for more details and to report any other bugs.

Code P0038

Discussion in 'Gen 2 Prius Technical Discussion' started by KARL QUIN, Mar 20, 2020.

  1. KARL QUIN

    KARL QUIN New Member

    Joined:
    Jun 16, 2019
    12
    6
    0
    Location:
    East Sussex
    Vehicle:
    2004 Prius
    Model:
    N/A
    Hello all, firstly I would like to wish you all good health in these difficult times.

    Anyway, I have the engine light on with code P0038.

    I have changed both oxygen sensor and also the upstream sensor to know avail.

    After I clear the code the engine light comes back on after only 3 or 4 miles of driving.

    Code P0038 returns?

    Im not very good with the electrics but as said I have replaced both sensors.

    Could it be the ECU?
     
    bisco likes this.
  2. KARL QUIN

    KARL QUIN New Member

    Joined:
    Jun 16, 2019
    12
    6
    0
    Location:
    East Sussex
    Vehicle:
    2004 Prius
    Model:
    N/A
    Any ideas please?
     
  3. dolj

    dolj Senior Member

    Joined:
    May 14, 2012
    7,510
    3,773
    0
    Location:
    Wellington, New Zealand
    Vehicle:
    2007 Prius
    Model:
    N/A
    It could be, but it could also be the wiring or harness connector.

    Did you use genuine Toyota (or equivalent Denso brand) sensors?

    Did you perform all the diagnostic steps in the Repair Manual (more info)?

    Do you have Techstream (or another capable diagnostic tool) to read the freeze frame data?

    P0038 specifically refers to the bank 1 sensor 2 which is the heated oxygen sensor mounted after the three-way catalytic converter (TWCC). There probably was no need to replace the A/F sensor (bank 1 sensor 1) before the TWCC. It will do no harm to replace it with a genuine OEM sensor, just added and unnecessary cost. If you used a generic aftermarket part, you may have introduced new problems.

    The following are excerpts from the repair manual for P0038.

    DTC No. DTC Detection Condition Trouble Area
    1 P0038 When the heater operates heater current exceeds 2 A (1 trip detection logic)
    • Short in heater circuit of the heated oxygen sensor
    • Heated oxygen sensor heater
    • EFI M relay (integration relay)
    • ECM


    MONITOR DESCRIPTION
    The sensing portion of the heated oxygen sensor has a zirconia element which is used to detect oxygen concentration in the exhaust gas. If the zirconia element is at the proper temperature and the difference of the oxygen concentration between the inside and outside surfaces of the sensor is large, the zirconia element will generate voltage signals. In order to increase the oxygen concentration detecting capacity in the zirconia element, the ECM supplements the heat from the exhaust with heat from a heating element inside the sensor. When the current in the sensor is out of the standard operating range, the ECM interprets this as a fault in the heated oxygen sensor and sets a DTC.

    Example:

    The ECM will set a high current DTC if the current in the sensor is more than 2 A when the heater is OFF.

    Similarly, the ECM will set a low current DTC if the current is less than 0.25 A when the heater is ON.

    MONITOR STRATEGY
    1 Related DTCs
    • P0037: Heated oxygen sensor heater current bank 1 sensor 2 (low current)
    • P0038: Heated oxygen sensor heater current bank 1 sensor 2 (high current)
    2 Required sensors/components Main sensors:
    • Heated oxygen sensor
    Related sensors:
    • Vehicle speed sensor
    3 Frequency of operation Continuous
    4 Duration 0.5 seconds
    5 MIL operation 1 driving cycle
    6 Sequence of operation None

    TYPICAL ENABLING CONDITIONS
    All:
    1 Monitor runs whenever following DTCs not present None
    2 Battery voltage 10.5 V or more
    3 Engine Running
    4 Starter OFF
    5 Catalyst intrusive monitoring Not operating
    6 Intrusive heating Not operating

    P0038:
    1 When the following conditions are met 0.3 seconds or more
    2 Learned heater current during heater OFF Completed
    3 Intrusive heating Not operating
    4 Heating is OFF Less than 0.1 seconds
    5 Heater current 2 A or more
    6 Time after heaters are OFF 1 second or more

    TYPICAL MALFUNCTION THRESHOLDS
    P0038:
    1 Heated oxygen sensor heater current More than 2 A (while supplemental heating is OFF)

    COMPONENT OPERATING RANGE
    1 Heated oxygen sensor heater current (after engine is warmed up) 0.4 to 1.0 A (at idle and battery voltage 11 to 14 V)


    INSPECTION PROCEDURE

    HINT:
    • Read freeze frame data using the intelligent tester. Freeze frame data records the engine condition when the malfunction is detected. When troubleshooting, freeze frame data can help determine if the vehicle was running or stopped, if the engine was warmed up or not, if the air-fuel ratio was lean or rich, and other data from the time the malfunction occurred.
    • When DTC P0038 is detected, proceed to step 4 if the heater resistance is in the normal range.
    In summary, the repair manual will have you do 1) inspect the heater resistance of heated oxygen sensor then skip to 4) check harness and connector (heated oxygen sensor - ECM and EFI M relay).

    In step 1, if the resistances are checked and were not within specs, then replace the sensor. If the resistances are in spec, ensure the sensor is reconnected and proceed to step 4.

    In step 4, it has you run various checks to ensure the integrity of the harness and connector. If a problem is found with connectors or the harness, they should be repaired or replaced. If both harness and connectors are found to be good, then the ECM should be replaced.

    I have attached the full diagnostic troubleshooting steps plus the one for P0138, which has the wiring diagram.

    Hope this helps.
     

    Attached Files:

    #3 dolj, Mar 21, 2020
    Last edited: Mar 21, 2020
    SFO likes this.
  4. KARL QUIN

    KARL QUIN New Member

    Joined:
    Jun 16, 2019
    12
    6
    0
    Location:
    East Sussex
    Vehicle:
    2004 Prius
    Model:
    N/A
    Thank you so so much for your reply.

    I have a cheap Wi-Fi Torque life ob2 reader.

    I thought P00038 was the sensor close to the engine?
    Anyway the upstream sensor is a Denso from Euro car parts.
    However the other sensor which plugs in under the carpet is a cheap EBay sensor.

    Maybe I should buy a denso sensor and replace the cheap one.

    It's odd how it's fine for a few miles then pulls up the code and engine light again.

    Thank you for taking the time to reply.
     
  5. KARL QUIN

    KARL QUIN New Member

    Joined:
    Jun 16, 2019
    12
    6
    0
    Location:
    East Sussex
    Vehicle:
    2004 Prius
    Model:
    N/A
    I have just ordered a denso oxygen sensor.
     
    ydpplqbd and dolj like this.
  6. KARL QUIN

    KARL QUIN New Member

    Joined:
    Jun 16, 2019
    12
    6
    0
    Location:
    East Sussex
    Vehicle:
    2004 Prius
    Model:
    N/A
    My 12v battery is only 11.1v.
    I'm wondering if that maybe on the way out.
    I had VSC and ABS light on with no code.
    It went out after a while.
    So new 12v on order.....
     
  7. bisco

    bisco cookie crumbler

    Joined:
    May 11, 2005
    107,796
    48,995
    0
    Location:
    boston
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    if that reading is with no draw, definitely, or it might just need a charge depending on age
     
  8. valde3

    valde3 Senior Member

    Joined:
    Jun 28, 2014
    2,002
    745
    0
    Location:
    Finland
    Vehicle:
    2004 Prius
    Universal obd2 tool can probably only read engine related codes. So you don't know about codes related to VSC or ABS. Best would be a Techstream and a cheap way to get it is Mini-VCI but you would need a laptop with it.
     
  9. KARL QUIN

    KARL QUIN New Member

    Joined:
    Jun 16, 2019
    12
    6
    0
    Location:
    East Sussex
    Vehicle:
    2004 Prius
    Model:
    N/A
    Yes 11.1v with no draw,
     
  10. valde3

    valde3 Senior Member

    Joined:
    Jun 28, 2014
    2,002
    745
    0
    Location:
    Finland
    Vehicle:
    2004 Prius
    Clearly bad then. You might just try to charge it but probably you just need a new 12V battery.
     
  11. KARL QUIN

    KARL QUIN New Member

    Joined:
    Jun 16, 2019
    12
    6
    0
    Location:
    East Sussex
    Vehicle:
    2004 Prius
    Model:
    N/A
    New battery arrived just now.

    So, I will fit it in the morning along with my Denso oxygen sensor
     
    bisco likes this.
  12. KARL QUIN

    KARL QUIN New Member

    Joined:
    Jun 16, 2019
    12
    6
    0
    Location:
    East Sussex
    Vehicle:
    2004 Prius
    Model:
    N/A
    Update!!

    Water was found in the battery compartment.

    New battery and denso oxygen sensor fitted and as yet know engine light on.....
     
    bisco likes this.
  13. bisco

    bisco cookie crumbler

    Joined:
    May 11, 2005
    107,796
    48,995
    0
    Location:
    boston
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    (y)

    the water usually comes in from the rain gutter, through cracks under the plastic molding
     
  14. KARL QUIN

    KARL QUIN New Member

    Joined:
    Jun 16, 2019
    12
    6
    0
    Location:
    East Sussex
    Vehicle:
    2004 Prius
    Model:
    N/A
    I was told it comes in also from around the rear light?

    I checked the cutter but all looked fine. However I put some sealant on for good measure .

    Car still drives well with no codes.

    In fact it seems to drive better after the new battery was fitted.
     
    bisco likes this.
  15. bisco

    bisco cookie crumbler

    Joined:
    May 11, 2005
    107,796
    48,995
    0
    Location:
    boston
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    and sometimes the hatch hinges or gasket, just keep your eye on it when it rains. it won't hurt the battery, but the car can rust out. make sure the drains are clear