Knock sensor · piezo · ECU input
Knock sensor wiring: pinout, shielding and testing
A knock sensor is a piezo element bolted to the engine block. It needs no power: when the block vibrates it produces a small AC voltage, and the ECU picks the frequency of detonation out of that noise. Because the signal is weak, how you wire it matters as much as the sensor itself.
Open the editor · ▶ Run the live demo
Knock sensor pinout
| Wire | Goes to |
|---|---|
| Signal | The ECU’s knock input |
| Signal return | The ECU’s knock or sensor ground, not the body |
| Shield | Ground at the ECU end only |
Most knock sensors have a two-pin plug: signal and signal return. Some have a single wire and return through the block; some have a third contact for the cable shield. The sensor has no positive or negative supply, so don’t look for 5 V or 12 V on it.
Where it connects on popular standalone ECUs
| ECU | Knock 1 | Knock 2 | Return |
|---|---|---|---|
| ECUMASTER EMU Black | Black 3 | Black 16 | Sensor ground (black 29, 38, 39) |
| ECUMASTER EMU PRO 8 / 16 | B16 | B17 | Sensor ground (see ECUMASTER’s sheet) |
| MaxxECU RACE | Connector 2, E2 | Connector 2, E3 | KNOCK GND (connector 2, E1) |
| Haltech Elite 2500 | 26-pin, 21 | 26-pin, 22 | Signal ground (26-pin, 14–16) |
Pins from each maker’s pinout, the same as in the WireForge presets.
Shielding and routing
- Use shielded twisted-pair cable from the sensor to the ECU, especially on a new harness.
- Ground the shield at the ECU end only. Grounded at both ends it becomes a loop that picks up noise.
- Keep the cable away from coils, plug leads, injector wires and the alternator.
- Don’t splice two sensors into one input: each sensor gets its own input, usually one per bank or per pair of cylinders.
- Torque the sensor to the engine maker’s figure on a clean, flat seat, without washers. Too loose or too tight changes how it hears the block.
How to test a knock sensor
- Resistance between the two pins: there must be no short. Many sensors read open circuit or several megohms; some have a built-in resistor, so compare with the spec for your part.
- No continuity from either pin to the sensor body (unless it is a one-wire sensor).
- Signal: with the sensor connected to a scope or a meter on AC millivolts, tap the block near the sensor lightly with a small tool. The trace should show a burst with every tap.
- Wiring: unplug sensor and ECU and check each wire end to end, then check the shield is not touching the signal wires.
See also: Sensor types and wiring · Crankshaft sensor wiring
Add a knock sensor in WireForge
- Drag a Knock Sensor onto the canvas next to the ECU Module.
- Connect SIG to the ECU’s knock input and GND to its sensor ground, using the table above for your model.
- Give the wire a colour and size, and note shielded cable in its description for the wire list.
- Simulate to confirm the ECU is powered and the input is connected; the export lists the pins for the harness.
Questions
Does a knock sensor need power?
No. It is a piezo sensor that generates its own small AC voltage when the block vibrates. It has a signal and a return wire, sometimes a shield.
Can I ground the knock sensor to the engine block?
Return it to the ECU’s knock or sensor ground instead. A block ground adds noise to an already small signal and can cause false knock readings.
What resistance should a knock sensor have?
It must not be shorted. Many read open or several megohms, while some have a built-in resistor; check the value for your exact part.
Where should the knock sensor shield be grounded?
At the ECU end only. Grounding both ends creates a loop that picks up interference.
More guides
- MAF sensor wiring
- MaxxECU RACE pinout
- Haltech Elite 2500 pinout
- Accelerator pedal sensor wiring
- Glow plug wiring
- EGT sensor wiring
- 24V to 12V converter wiring
- Battery isolator switch wiring
- All guides
WireForge.pro · Українська · Polski · Deutsch · Español · Português (Brasil) · Français · Italiano · Türkçe · Čeština · Română · Русский