The M50 non-VANOS engine wiring around the Bosch M3.1 DME, in four parts: power and relays, injection and ignition, sensors, and the dashboard and diagnosis links. Hover or tap a wire to follow it; tap a part for what it does.
projekt36.com/wiring/m50-engine-management/
DME pin 26 and the main relay (terminals 30 and 86) have battery voltage at all times.
With the ignition on, the DME grounds pin 27 and the main relay pulls in. Terminal 87 then feeds the injectors, and 87A feeds DME pin 54, both relay coils, the idle valve, the purge valve and the air-flow meter.
The DME switches the fuel pump relay through pin 1. Bentley's pin table notes that it needs the crankshaft signal, so the pump only runs while the DME sees the engine turning.
Pin 37 switches the oxygen sensor relay, which powers the sensor heater.
Redrawn from Bentley ELE-72 and ELE-73, Engine Management 1992 2.5L (M50, DME M3.1, US market); diesel and M3 parts are left out.
All six injectors share one red/white supply from the main relay. The DME opens each one by grounding its own wire (pins 3, 5, 4, 33, 31, 32), so injector timing and length are set entirely by the DME.
Each cylinder has its own coil. Terminal 15 from the ignition switch feeds pin 3 of every coil and DME pin 56; the DME fires a coil by switching its pin 1 (pins 25, 23, 24, 50, 52, 51).
The coils share a ground at G119.
Redrawn from Bentley ELE-72 and ELE-73, Engine Management 1992 2.5L (M50, DME M3.1, US market); diesel and M3 parts are left out.
The crankshaft and camshaft sensors are inductive: each makes an AC signal on a pair of wires inside a shielded cable. The DME uses the crankshaft signal for rpm and timing and the camshaft signal to tell which cylinder is on its firing stroke.
The temperature sensors and the throttle sensor share one ground, DME pin 43. The DME feeds the throttle sensor 5 V on pin 59 and reads its position on pin 12.
The hot-wire air-flow meter is fed from the main relay. After shutdown the DME pulses pin 13 to burn the wire clean.
The idle valve has two coils; the DME pulses pins 2 and 29 to close or open it. Pin 36 switches the evaporative purge valve.
Redrawn from Bentley ELE-72 and ELE-73, Engine Management 1992 2.5L (M50, DME M3.1, US market); diesel and M3 parts are left out.
The Check Engine lamp is fed from fuse F27 and lit when the DME grounds pin 8.
The cluster sends road speed to the DME (pin 73); the DME sends engine speed (pin 74) to the rev counter and the data link connector, and fuel consumption (pin 17) to the cluster.
Diagnosis runs over pins 87 and 88 to the 20-pin data link connector under the bonnet (pins 15 and 20). Pin 18 carries the programming voltage.
The climate control asks for the compressor on pin 86; the DME switches it through pin 48 and watches the A/C pressure switch on pin 85.
With an automatic gearbox, the EGS shares engine speed, throttle, fuel consumption and the diagnosis lines, can retard the timing during shifts (pin 64), and the range switch tells both units when the car is in park or neutral.
Redrawn from Bentley ELE-72 and ELE-73, Engine Management 1992 2.5L (M50, DME M3.1, US market); diesel and M3 parts are left out.
BMW labels every wire with its size and colour, for example 2.5 SW/GE: 2.5 mm², black (schwarz) with a yellow (gelb) stripe. Connectors are numbered X…, followed by the pin. The source for these diagrams gives colours but not wire sizes, so every wire is drawn at the same thickness.
Codes used here: SW = black, RT = red, GN = green, BL = blue, GE = yellow, BR = brown, WS = white.