* Idle Air Control (IAC) Valve: This valve regulates the amount of air entering the engine at idle. A dirty, sticky, or faulty IAC valve can prevent the engine from getting the correct air/fuel mixture at low RPM, leading to stalling. This is a very common cause.
* Throttle Position Sensor (TPS): The TPS tells the engine's computer (ECM) the throttle's position. A faulty TPS can provide incorrect data, leading to poor fuel delivery at idle.
* Mass Air Flow (MAF) Sensor: While less likely to cause stalling *only* at idle, a dirty or faulty MAF sensor can disrupt the air/fuel mixture, particularly if it's already slightly off. It's more likely to cause rough running across the RPM range, but can contribute to idle problems.
* Vacuum Leaks: Small vacuum leaks can significantly affect idle stability. Check all vacuum hoses for cracks, splits, or disconnections. Pay close attention to hoses connected to the brake booster, PCV valve, and intake manifold.
* Fuel Delivery Issues (Low Fuel Pressure): While less probable if it runs fine above 1000 RPM, a weak fuel pump or clogged fuel filter could reduce fuel pressure enough to cause stalling at idle when demand is lower.
* Dirty or Faulty Spark Plugs/Wires: Though less likely to cause *only* idle issues, worn or fouled spark plugs can create misfires that are more noticeable at idle due to the lower engine speed.
* Engine Coolant Temperature (ECT) Sensor: A faulty ECT sensor can provide incorrect temperature readings to the ECM, causing it to adjust the air/fuel mixture inappropriately at idle.
Troubleshooting Steps:
1. Check for Vacuum Leaks: Visually inspect all vacuum hoses. You can also use a vacuum gauge to check for leaks.
2. Clean the IAC Valve: This is the easiest and cheapest thing to try first. Remove the valve, clean it with carburetor cleaner, and reinstall it.
3. Check the TPS: A multimeter can be used to check the voltage output of the TPS as the throttle is opened and closed. The readings should follow a specific curve; consult your repair manual for the correct values.
4. Clean the MAF Sensor: Use a MAF sensor cleaner (NOT regular cleaner) to carefully clean the sensor element. Avoid touching the sensor's delicate wire.
5. Inspect Spark Plugs and Wires: Check for wear, fouling, or damage.
6. Check Fuel Pressure: This requires a fuel pressure gauge.
7. Scan for Diagnostic Trouble Codes (DTCs): Use an OBD-II scanner to check for any trouble codes stored in the ECM. This can provide valuable clues about the problem.
If you're not comfortable performing these checks yourself, take your Elantra to a qualified mechanic. Diagnosing the exact cause might require specialized tools and expertise. Remember to always consult a repair manual specific to your 1997 Hyundai Elantra for detailed procedures and specifications.