Checking air quality sensor G238
- Make
- Audi
- Model
- A5
- Section
- Further control components › Checking air quality sensor G238
Checking air quality sensor G238
Note
- Different versions are fitted depending on the production period of the vehicle and the version of the air conditioner (“basic” or “deluxe”) → Chapter.
- G238 is only fitted on vehicles with “deluxe” air conditioner.
- After switching on the ignition, G238 and G657 take approx. 2 minutes to reach their operating temperature; the function of G238 and G657 is restricted during the warm-up phase.
- Under certain ambient conditions, a fault message may be displayed for the air quality sensor G238 during the warm-up phase. Only renew the air quality sensor G238 if the entry indicates that it is permanently defective. If the fault display for the air quality sensor G238 switches from “static” to “sporadic” after the ignition is switched off and on again (wait at least 2 minutes in each case), the air quality sensor G238 is OK and the entry in the event memory can be ignored (erase event memory) Vehicle diagnostic, testing and information system VAS 5051 ("Guided Fault Finding").
- Vehicle diagnostic, testing and information system VAS 5051 with diagnostic cable VAS 5051/5A
- Commercially available gas lighter (for checking G238)
- The vehicle must be stationary in a clean atmosphere, away from running engines, air extractor outlets etc.
- The engine compartment and plenum chamber must be clean (not contaminated with oil or fuel).
- The engine compartment and plenum chamber must not have been sprayed with solvent-based cleaning agents or anti-corrosion material.
- “Automatic air recirculation” must be switched on.
Note
- The “automatic air recirculation” function can be activated and deactivated via the “AC” function in the “CAR” menu of the MMI (Multi Media Interface) Infotainment/MMI Operating Manual.
For all work on vehicles with a high-voltage system, note the additional warning instructions for working on such vehicles → Chapter and Electrical systemRep. gr.93General warning instructions for work on the high-voltage system.
For the following steps, work in the vicinity of high-voltage system components is necessary. Therefore, perform a visual inspection of the high-voltage components and wiring to check for damage → Chapter and note Electrical systemRep. gr.93General warning instructions for work on the high-voltage system.
Warning Safety hazard: the engine can start unexpectedly.
Before carrying out general work on a vehicle with high-voltage electrical system, switch off the ignition and remove the ignition key from the vehicle.
Warning Working on vehicles with high-voltage wiring:
Do not support yourself or tools on high-voltage wiring or associated components --> this can damage the insulation. High-voltage wiring must not be excessively bent or kinked --> this can damage the insulation. The round high-voltage connectors are colour-coded with an external coloured ring and are provided with mechanical coding or guide lugs. It is important to observe this coding when joining up the round high-voltage connectors, otherwise the connectors can be damaged.
Warning DANGER!Risk of fatal injury if high-voltage components are damaged.
Observe the following when working in the vicinity of high-voltage components or wiring:
- It is not permitted to use cutting or forming tools, other sharp-edged tools or heat sources such as welding, brazing, soldering, hot air or thermal bonding equipment.
- Before starting work, visually inspect the high-voltage components in the areas involved.
- Before working in the engine compartment, visually inspect the power and control electronics for electric drive JX1, electric drive motor V141, air conditioner compressor V470 and high-voltage wiring.
- Before working on the vehicle underbody, visually inspect the high-voltage wiring and covers.
- Before working on the rear section of the vehicle, visually inspect the high-voltage wiring and the electro-box with the maintenance connector for high-voltage system TW .
- Visually inspect all potential equalisation lines.
- There must be no external damage on any component.
- The insulation of the high-voltage wiring and potential equalisation lines must not be damaged.
- There must be no unusual deformation of the high-voltage wiring.
- All high-voltage components must be identified by a red warning sticker.
Switch off ignition.
Remove rubber seal (A) and plenum chamber cover (B) (different versions) General body repairs, exteriorRep. gr.50Bulkhead; Removing and installing plenum chamber cover.

- After removing plenum chamber cover (B), visually inspect high-voltage components (D) (in this case power and control electronics for electric drive JX1) and high-voltage wires (E)Chapter and Electrical systemRep. gr.93General warning instructions for work on the high-voltage system.
- When working in the vicinity of high-voltage components (D) and high-voltage wires (E), always take care not to damage these components Electrical systemRep. gr.93General warning instructions for work on the high-voltage system.
- After completing the work and before installing the plenum chamber cover (B), visually inspect the high-voltage components (D) and the high-voltage wires (E)Electrical systemRep. gr.93General warning instructions for work on the high-voltage system.
Working with ignition switched on or high-voltage system active
Warning DANGER!When working on a vehicle with the ignition switched on or while the drive system is active, the engine can start unexpectedly and exhaust fumes can cause a health hazard in closed rooms. Moving parts can trap or draw in parts of the body and/or clothing (safety hazard).
Before switching on the ignition, perform the following steps:
- Move selector lever to position P
- Activate parking brake
- Switch off ignition
- Open bonnet
- Connect battery charger (e.g. VAS 5095A) to jump-start connections of 12 V electrical system
- Switch on ignition
To minimise the number of automatic engine starts when the vehicle's drive system is active (READY) during test and measurement work, charge the vehicle batteries e.g. with the battery charger 60A VAS 5904 in battery standby mode Electrical systemRep. gr.27Battery; Charging battery and Electrical systemRep. gr.93General warning instructions for work on the high-voltage system.
For test and measurement work that requires the vehicle's drive system to be active (READY) or the ignition to be switched on, move the selector lever to position “P”, activate the parking brake and take care to keep well clear of the engine when it is running. Set up any tools needed so that they cannot come into contact with moving parts.
Note
- Also move the selector lever to position “P” and activate the parking brake before performing test and measurement work for which the ignition must be switched on but where the vehicle's drive system does not need to be active (READY).
- The status of the drive system (READY) is shown by the control unit in dash panel insert J285 via the “power meter”Owner's Manual.
- Activating and deactivating drive system Owner's Manual (note display of control unit in dash panel insert J285).
Switch off ignition.
Detach rubber seal (left-side) (B) as far as necessary General body repairs, exteriorRep. gr.50Bulkhead; Removing and installing plenum chamber cover.

Remove cover for fresh-air intake at cowl panel trim (A), or remove cowl panel trim (different versions) General body repairs, exteriorRep. gr.50Bulkhead; Removing and installing plenum chamber cover.
Note
- If necessary, carefully detach cowl panel trim from fastener at cross member of windscreen (C)General body repairs, exteriorRep. gr.50Bulkhead; Removing and installing plenum chamber cover.
With ignition switched off, connect vehicle diagnostic, testing and information system VAS 5051/ to diagnostic connection in vehicle with diagnostic cable VAS 5051/5A and start Guided Fault Finding Vehicle diagnostic, testing and information system VAS 5051 ("Guided Fault Finding").
Switch on ignition (vehicles with high-voltage system).
Start engine (vehicles without high-voltage system).
Note
- On vehicles with a start/stop system, the engine may be shut off automatically by the vehicle electronics.
Interrogate event memory of operating and display unit (Climatronic control unit J255) Vehicle diagnostic, testing and information system VAS 5051 ("Guided Fault Finding").
Set operating and display unit (Climatronic control unit J255) (“deluxe” version) to “Auto” mode.
Use operating and display unit (Climatronic control unit J255) of MMI (Multi Media Interface) to set “automatic air recirculation mode”Infotainment/MMI Operating Manual.
Wait 2 minutes to allow air quality sensor G238 to warm up.
Use vehicle diagnostic, testing and information system VAS 5051 to select “Read measured value block” function and read out measured values for air quality sensor G238Vehicle diagnostic, testing and information system VAS 5051 ("Guided Fault Finding").
Note
- The measured value block displays the air pollution level measured by the air quality sensor G238 and the measured values for the NOx (nitrogen oxide) and CO (carbon monoxide) content of the air. For explanatory notes on the possible displays, refer to Vehicle diagnostic, testing and information system VAS 5051 ("Guided Fault Finding").
Turn air quality sensor G238(A) approx. 90° in anti-clockwise direction and remove it from fresh-air intake (C).

Allow a small quantity of gas from cigarette lighter (B) to flow past section (A) of air quality sensor G238 (from above).

Note
- The air quality sensor G238 reacts when exposed to cigarette smoke or cigarette lighter gas. As cigarette lighter gas is heavier than air, remove the air quality sensor G238 and let the gas flow past it from above.
Select and read out measured value block with measured values for air quality sensor G238Vehicle diagnostic, testing and information system VAS 5051 ("Guided Fault Finding").
Specifications:
- The measured values in the display zones should increase in comparison to the initial value, indicating that both sensors in the air quality sensor G238 are functioning properly and that the electronics in the G238 are evaluating the measured values correctly.
Wait briefly (approx. 1 minute, depending on amount of gas applied to sensor).
Read out display in display zones with measured values for air quality sensor G238.
- The measured values in the display zones should return to the initial levels, indicating that both sensors are functioning properly and the sensor electronics are evaluating the measured values correctly.
Note
- Due to changes in pollutant levels, the values currently displayed may differ from those measured initially.
Read out the display with the measured values for the air conditioner operating status (air recirculation/fresh air mode).
- The display zone should indicate that the air conditioner is operating in fresh air mode.
Note
- If a value deviating from “fresh air mode” is displayed in the measured value block, air recirculation mode has already been requested (e.g. because of request for “maximum cooling output” or “air recirculation mode”); in this case select a mode which does not require air recirculation.
- If the measured value block indicates that the air quality sensor G238 is already requesting automatic air recirculation mode, clean the plenum chamber (if necessary) or move the vehicle to an area with a cleaner ambient atmosphere Vehicle diagnostic, testing and information system VAS 5051 ("Guided Fault Finding").
Allow a small quantity of gas from cigarette lighter (B) to flow past section (A) of air quality sensor G238 (from above).

Read out display for air recirculation/fresh air mode.
- The measured value block should indicate that there is a request for air recirculation mode and the air conditioner is operating in air recirculation mode.
Note
- Should the measured value block indicate that the air quality sensor G238 is requesting automatic air recirculation mode, but that this request is not being implemented by the operating and display unit (Climatronic control unit J255) due to a shut-off criterion, eliminate the cause of the shut-off criterion (if applicable) Vehicle diagnostic, testing and information system VAS 5051 ("Guided Fault Finding").
- To prevent the air flow/fresh air and air recirculation flaps from being switched too frequently, a request from the air quality sensor G238 for “automatic air recirculation mode” is applied for at least 25 seconds (minimum dwell time) even if the pollutant concentration in the air has decreased again to such an extent that air recirculation mode would no longer be necessary.
Wait briefly (approx. 1 minute, depending on amount of gas applied to sensor).
- The measured value block indicates that there is no request for air recirculation mode and that the air conditioner is operating in fresh air mode again.
Check dust and pollen filter for dirt → Chapter.
With ignition switched off, connect vehicle diagnostic, testing and information system VAS 5051/ to diagnostic connection in vehicle with diagnostic cable VAS 5051/5A and start Guided Fault Finding Vehicle diagnostic, testing and information system VAS 5051 ("Guided Fault Finding").
Use vehicle diagnostic, testing and information system VAS 5051 to select “Read measured value block” function Vehicle diagnostic, testing and information system VAS 5051 ("Guided Fault Finding").
Note
- A second person is required to read out the values displayed while the other is driving.
Alternately read out displays in measured value block for measured values of air quality sensor G238 and request for air recirculation/fresh air mode.
Start by driving vehicle into an area with a relatively clean atmosphere (system in fresh air mode).
Then drive vehicle into an area where the atmosphere is polluted (e.g. onto an uphill road with heavy commercial traffic).
Read out displays in the various display zones. The displays in the various zones must change, e.g. when driving through a cloud of diesel emissions.
Note
- Also refer to → Chapter (Removing and installing dust and pollen filter) and Chapter“Operation of air quality sensor G238”.
Parts & tools for this job For Audi A5
- TOOLOBD2 scannerSearch: OBD2 scanner
- TOOLDigital multimeterSearch: automotive digital multimeter
- TOOLBack-probe test leadsSearch: back probe test leads
As an Amazon Associate we earn from qualifying purchases.