3-Wire Speed Sensor Wiring Diagram: Connections for Hall Effect and Active Sensors
This is a free printable 3 wire speed sensor wiring diagram: download the diagram as SVG or open it and print to paper or PDF.
A 3-wire speed sensor wiring diagram shows how to connect the power supply, ground, and signal output wires of an active Hall-effect or inductive speed sensor to an engine control unit, ABS module, or frequency counter.
Speed sensors in automotive, industrial, and motion-control applications measure rotational speed — crankshaft RPM, wheel speed, conveyor belt speed, or turbine output — by detecting the passage of ferrous teeth, magnets, or a toothed reluctor wheel past a sensing face. Two major technologies are used, and their wiring requirements differ significantly.
A 2-wire variable-reluctance (VR) or passive magnetic pickup sensor generates its own sinusoidal AC voltage by electromagnetic induction as the reluctor teeth pass. It requires only the two signal wires — no power supply. The output amplitude varies with speed (near-zero at standstill), which creates a detection threshold problem at very low speeds. These sensors use only two wires.
A 3-wire active speed sensor — the most common modern type — typically uses a Hall-effect element or a magnetoresistive element with integrated signal conditioning. It requires three connections: a supply voltage (typically 5 V or 8–30 V depending on design), a ground return, and a signal output. The output is a clean digital square wave (high/low) that switches at a defined level regardless of speed, making it detectable even near standstill. This is the 3-wire configuration described in this diagram.
The signal output of a 3-wire Hall-effect sensor is most commonly NPN open-collector (pulls signal low when a tooth passes), PNP open-collector (pulls signal high when a tooth passes), or push-pull (actively drives both high and low states). NPN open-collector outputs require a pull-up resistor to the supply voltage at the receiving device input. PNP outputs require a pull-down resistor. Many modern ECUs and ABS modules have the pull-up or pull-down resistor built in.
Common 3-wire speed sensor applications include ABS wheel-speed sensors (though modern ABS sensors are often 2-wire active types), crankshaft and camshaft position sensors, gearbox output speed sensors, and industrial conveyor and motor-speed monitoring. Connector types and wire colours vary by manufacturer; always verify with the sensor data sheet or vehicle service manual.
How to wire 3 wire speed sensor wiring diagram
- Identify the sensor type and data sheet specifications Locate the sensor data sheet or vehicle service manual. Confirm the supply voltage range, output type (NPN, PNP, or push-pull), output voltage levels, and maximum signal frequency. Note the connector type and pin numbering.
- Identify the three wires at the sensor connector Using the data sheet or pin diagram, identify which wire is supply positive (Vcc), which is supply ground (GND), and which is the signal output. Do not rely solely on wire colour — verify with the pin layout diagram.
- Connect the supply voltage wire Connect the supply positive wire (Vcc) to a regulated voltage source matching the sensor's rated supply — typically 5 V from the ECU sensor supply rail, or 8–30 V for industrial sensors. Use a supply that is powered when the ignition is on (automotive) or when the machine is running (industrial).
- Connect the ground wire Connect the ground wire (GND) to the same reference ground as the receiving device (ECU, PLC, frequency counter). A ground connection at a different potential — for example, engine block ground for the sensor but a different chassis point for the ECU — introduces an offset voltage that corrupts the signal.
- Connect the signal output wire Connect the signal output wire to the input terminal of the receiving device — ECU speed input, PLC digital input, or frequency counter. If the input does not have an integrated pull-up resistor and the sensor output is NPN open-collector, add an external pull-up resistor (1–10 kΩ) between the signal wire and the supply voltage rail.
- Verify the air gap specification If mounting a new sensor, set the air gap between the sensor face and the reluctor wheel or magnet ring to the manufacturer's specification — typically 0.2–1.5 mm for automotive applications. An excessive air gap reduces signal amplitude (VR sensors) or causes the Hall-effect element to miss smaller reluctor features.
- Test with an oscilloscope or frequency meter With the shaft rotating at a known speed, observe the signal output on an oscilloscope. For an active sensor, the output should be a clean square wave with consistent frequency proportional to speed and a voltage swing between 0 V and the supply voltage (or defined logic levels). Verify the duty cycle and look for noise or dropout pulses.
Specifications
| Common supply voltages (3-wire active sensor) | 5 V DC (ECU-powered); 8–30 V DC (industrial) |
|---|---|
| Output types available | NPN open-collector; PNP open-collector; Push-pull (totem-pole) |
| Typical output frequency range | 0–10 kHz (application dependent; refer to data sheet) |
| Typical air gap range (automotive) | 0.2–1.5 mm (sensor/reluctor specific; verify data sheet) |
| Maximum supply current (typical Hall-effect sensor) | 10–50 mA |
| Pull-up resistor value (NPN output, 5 V supply) | 1 kΩ to 4.7 kΩ (signal frequency and cable capacitance dependent) |
Safety warnings
- Before working on any sensor wiring in a vehicle or industrial machine, isolate the ignition or control power source and follow lockout/tagout procedures appropriate to the machinery. This diagram is illustrative and reference-only.
- Always disconnect the battery negative terminal (automotive) before unplugging or replacing speed sensors connected to an ECU or ABS module. Hot-swapping sensor connectors with the circuit live can send voltage transients into sensitive electronics.
- Do not apply supply voltage to the signal output terminal of the sensor. The signal output of an NPN or PNP open-collector device is not rated for supply voltage on its input pin; doing so destroys the sensor output stage.
- On vehicles, ABS wheel speed sensor faults affect braking performance. Do not return a vehicle to service after ABS sensor work without fully clearing fault codes, verifying live data on a scan tool at various speeds, and testing normal and emergency braking behaviour in a safe environment.
- Verify the sensor's IP (ingress protection) rating is appropriate for the installation environment — water, oil, and dust ingress are common failure modes for speed sensors in automotive and industrial applications.
Tools needed
- Digital multimeter (resistance and DC voltage ranges)
- Oscilloscope or automotive lab scope (for signal quality verification)
- Automotive scan tool or OBD-II reader (for vehicle sensor live data)
- Wire strippers and crimping tool for small-gauge signal wiring
- Air-gap feeler gauge (for sensor mounting gap setting)
- Connector extraction tool appropriate to the sensor connector type
Common mistakes
- Connecting the supply voltage to the signal output terminal, destroying the sensor's output transistor stage.
- Using a single shared ground reference that is different for the sensor and the ECU, introducing a ground offset that shifts signal levels and causes false readings.
- Omitting the pull-up resistor on an NPN open-collector output, so the signal line never rises to a defined high level and the ECU reads no signal.
- Connecting a 12 V supply to a 5 V-rated sensor, immediately destroying the sensor's integrated electronics.
- Setting the sensor air gap outside specification — too large causes signal dropout; too small risks contact between sensor face and reluctor wheel at shaft runout.
- Routing signal cable parallel to high-current wiring (injector drive wires, ignition coil primary) without screening, causing induced interference that corrupts the speed signal.
Troubleshooting
- ECU reports no speed signal or speed sensor fault code
- Cause: No supply voltage at sensor, broken signal wire, incorrect output type for the ECU input, or excessively large air gap Fix: Measure supply voltage on the Vcc wire at the sensor connector with the ignition on — must match specification. Measure signal wire voltage — with NPN output, expect a series of low-going pulses as the reluctor passes. Check and adjust the air gap if accessible.
- Speed signal is erratic or noisy on the oscilloscope
- Cause: Electrical interference on an unscreened signal cable, a loose reluctor wheel with varying air gap, or a damaged sensor element Fix: Inspect the reluctor wheel for damage, missing teeth, or looseness. Replace signal cable with screened cable, grounding the screen at the receiver end only. Check for other interference sources (ignition, injectors) routed near the signal cable.
- Signal output stays permanently high or permanently low
- Cause: Signal wire shorted to supply (permanent high) or shorted to ground (permanent low), or sensor output transistor failed Fix: Disconnect the sensor connector and measure signal-pin voltage with Vcc applied — it should be at pull-up level (near supply) with no sensor connected on NPN type. If still shorted, the fault is in the cable, not the sensor. If it clears when disconnected, the sensor output transistor has failed.
Frequently asked questions
How do I tell if a speed sensor is 2-wire (passive) or 3-wire (active)?
Count the wires at the connector. A 2-wire sensor is passive (VR/magnetic pickup) and generates its own AC voltage — measure resistance across its terminals and expect a defined coil resistance in the range of 100 Ω to 2 kΩ. A 3-wire sensor is active — it requires a supply voltage and produces a digital output. Do not apply supply voltage to a 2-wire VR sensor.
What is the wire colour convention for a 3-wire Hall-effect speed sensor?
There is no universal standard, but a common convention is: red or brown for supply positive, black for ground/supply negative, and white, yellow, or green for the signal output. Always confirm with the sensor data sheet or vehicle wiring diagram — relying on colour alone on an unfamiliar sensor risks connecting supply voltage to the signal output, which damages the sensor and the receiver.
Does a 3-wire Hall-effect sensor need a pull-up resistor?
Only if the output is NPN open-collector type. An NPN sensor can only pull the signal line low — it cannot actively drive the line high. A pull-up resistor (typically 1–10 kΩ) connected from the signal wire to the supply voltage provides the high state. PNP open-collector outputs require a pull-down resistor to ground. Push-pull outputs require neither.
What causes a speed sensor to read zero when the shaft is rotating?
Common causes include: sensor air gap too large (the sensing face is too far from the reluctor/teeth), power supply not present (check voltage on the supply wire), signal wire broken or shorted to ground, or a failed sensor. For VR-type sensors, near-zero speed gives near-zero output voltage — below the receiving circuit's detection threshold — which appears as no signal.
Can a 3-wire speed sensor be used with any ECU or frequency counter?
The signal level and logic must match. A 5 V supply sensor producing 5 V logic output is not directly compatible with a 12 V input circuit, and vice versa. Verify the sensor supply voltage, output voltage swing, and output type (NPN, PNP, push-pull) against the receiving device's input specification. A level-shifter or signal-conditioning module may be required if they do not match.
Related diagrams
- 2 wire speed sensor wiring diagram
- 3 wire cam sensor wiring diagram
- 3 wire crank sensor wiring diagram
- 3 wire motion sensor light wiring diagram
- 3 wire motion sensor wiring diagram
- 3 wire proximity sensor wiring diagram