Blog · 2026-11-10
MIL comes on intermittently with Knock Sensor code
Stefan Bogdanescu
Founder & Senior Architect
Decoding Intermittent Knock Sensor Codes on D16Y8 Engines
Intermittent Check Engine Lights (MIL) triggered by knock sensor codes are a classic diagnostic headache, particularly on older Honda iR engines like the 1.6L D16Y8 found in your 2000 Civic. The symptom you describedâwhere the code appears during low-speed, low-RPM driving but vanishes after highway driving or turning the key offâis distinct from a hard failure. It suggests the Engine Control Module (ECM) is not seeing a continuous fault condition, but rather detecting a transient anomaly that crosses the threshold for a "fault" only under specific conditions.
When you shorted the display pins and read code 23 blinking out, you are looking at a specific diagnostic trouble code (DTC) defined in the Honda WSM (Wiring Service Manual). The logic flowchart you referenced leads to the conclusion: "System is OK at this time." This phrasing is critical. It does not mean the system was perfect yesterday or will be today; it means that at the exact moment the ECM ran its self-check routine, the input signal from the knock sensor fell within acceptable parameters.
The technical reality here is that modern ECUs run continuous monitoring loops. For a code to set and remain lit, the fault must persist for a certain number of drive cycles or exceed a specific duration. If you drive fast on the highway, engine vibration increases, RPMs rise, and the knock sensor operates in a high-noise environment where it generates plenty of legitimate "knock" signals. The ECU filters these out as normal operation. Conversely, when idling or creeping through a neighborhood at 2,000 RPM, the engine is quieter. If the sensor wiring has high resistance due to corrosion, loose pins in the connector, or an aging sensor element that only fails under low-noise conditions, the ECU might interpret that silence (or noise floor) as a lack of signal, triggering the MIL.
The decision to replace the sensor with an inexpensive unit from AliExpress versus Rock Auto highlights a common trade-off in automotive repair: cost versus reliability. While cheaper sensors work for many applications, knock sensors are piezoelectric devices with internal charge amplifiers that degrade over time. If you installed a cheap unit and the code immediately went away (as noted in your later edit), it confirms the previous sensor had an intermittent failure or the new one was simply more robust. However, if the issue persists despite the swap, the problem likely lies in the wiring harness.
You asked if you can safely ignore this. Technically, ignoring a "System OK" code while driving is often safe because the ECM has already determined the engine isn't currently knocking excessively. However, there are two significant pitfalls to consider. First, intermittent codes can mask other underlying issues; if the knock sensor circuit shares a ground or power rail with another component, fixing the sensor might not solve the root electrical fault. Second, relying on an old, marginal sensor can lead to premature fuel enrichment. If the ECU thinks it's detecting knock when it isn't (false positive), it may retard timing to protect the engine, resulting in poor acceleration and fuel economy.
To diagnose this rigorously without tearing down the entire harness, perform a voltage drop test on the knock sensor wiring while the ignition is ON but the engine OFF. Connect a multimeter between the signal wire and ground; you should see near-zero resistance if the connection is solid. If resistance spikes when the car vibrates (simulate by tapping the harness near the sensor), you have confirmed an intermittent open circuit. This approach avoids replacing expensive wiring looms while ensuring the "System is OK" reading isn't just a temporary reprieve before a catastrophic failure.
Ultimately, the transition from an unreliable cheap sensor to a quality replacement resolved your issue because piezoelectric sensors are notorious for developing hairline cracks in their internal elements. These micro-fractures open and close under vibration, creating the exact intermittent behavior you observed. By ensuring a solid connection and a high-quality sensor, you eliminate the risk of the ECU retarding timing unnecessarily, keeping your D16Y8 running with its intended power characteristics.