Sounds like you got the same problem I had. The idle was good for a bit but as soon as the engine warmed up and went into closed look, it would do one of three things in random order:
1. idle perfectly fine (not too often)
2. idle really low (most of the time)
3. or search for the idle (up and down and up and down)
from my research and testing
1. check the intake for 'unmeasured air'
2. compression test engine
3. clean idle air valve and throttle body
4. tune-up -> wires, spark plugs (gapped to spec), intake filter
5. reset ecu and set idle
if you did those and it still idles funny, messing up your beats, and you headlights. Then it's 95%+ that it's your TPS (throttle postion sensor)
Some learned
Thottle Position Sensor -> it's a variable resistor or a POT. As the throttle is moved it changes the resistance in the TPS. This is what the computer is using to measure your air/fuel ratio.
If it's sticking or is dirty, cause these things do wear out (it's a wiper rubbing up and down), then it can send some funky info to the ECU.
(this is for manual tranny)
Testing TPS
1. detach connector from TPS
2. connect an ohmmeter between the bottom pin (IDL) and the middle pin (E)
3. insert a 0.004 in. (0.1mm) feeler gauge between the throttle stop screw and the stop lever
4. Verify there is continuity between terminals
5. put in a 0.039 in. (1.0mm) feeler gauge, and make sure there is no continuity between the terminals
6. Then open up the throttle wide open and verify there is no continuity again.
7. Next connect the ohmmeter between the top pin (POW) and the middle pin (E)
8. insert a 0.004 in. (0.1mm) feeler gauge between the throttle stop screw and the stop lever
9. verify there is no continuity between the terminals
10. put in a 0.039 in. (1.0mm) feeler gauge, and make sure there is no continuity between the terminals
11. then open up the throttle wide open and verify there is continuity between the termials.
12. If this is not true with your TPS then adjust the sensor (has two screws, then you can rotate the TPS), or the throttle cable.
Also a note I saw on the protege forum -> if you take the TPS off and move it manually and it doesn't move amazingly smooth, then it's messed and should get a new one.
hope this helps
word up.
