Nissan · 1991-99

Nissan Sentra SE-R B13 / B14 SR20DE ECU and tuning guide

The Nissan Sentra SE-R B13 / B14 SR20DE (1991-99) runs the SR20DE / SR20VE: 2 L I4, naturally aspirated, port injection, cable throttle.

Reviewed by GAINS editorial team on 2026-11-04.

Years1990-02
Displacement2L
LayoutI4
InductionNaturally aspirated
InjectionPort injection
Cam controlVTC / VVLVE
IgnitionCoil-on-plug
Swap demandMedium

Part of the Nissan SR20 family.

Modeled power and torque

Modelled estimate, not a dyno result.

SR20DE / SR20VE: stock vs common buildsmodeled

Modeled estimate, not a dyno measurement. Real results vary with fuel, weather, dyno type and build.

Stock (factory-rated peaks; shape modeled)
0501001502002500501001502002501k2k3k4k5k6k7khplb-ftrpm
Solid = power (hp), dashed = torque (lb-ft). Shaded bands show the modeled uncertainty. Hover for values.

Stock is anchored to the factory rating (140 hp at 6400 rpm, 132 lb-ft at 4800 rpm); the curve shape between peaks is modeled. Intake + exhaust + tune (pump fuel): Typical NA gains come mostly above mid-rpm.

SR20DE / SR20VE data

Platform background

The B13 Sentra SE-R (1991-94) and B14 200SX SE-R / Sentra SE (1995-99) use the transverse SR20DE. The 1997 US B14 SR20DE is an OBD-II engine with a distributor ignition system, a camshaft position sensor in the distributor plus a separate OBD crankshaft position sensor, MAF and IAT sensing, front and rear heated O2 sensors and high-impedance injectors. This page gives the complete 1997 200SX SE-R ECM terminal table with wire colours.

Factory ECU

ECM location (B14)
  • Behind the center console
  • Remove the front passenger center console panel for access. Harness connector F25.
Sourced1
IgnitionDistributor ignition (DI) system, single ignition signalSourced1
Load strategyMAF-based ECCS with IAT sensorSourced1
Diagnostics (B14)OBD-II: GST data link (terminal 58) plus CONSULT (64, 65, 68)Sourced1
Valve timing (US B14 SR20DE)No valve timing output on the ECMSourced1
Injectors10-14ohmhigh impedanceSourced1

The B14 SR20DE ECM is a typical late-1990s Nissan OBD-II unit with misfire detection from a dedicated crankshaft position sensor (terminal 53) in addition to the distributor-mounted cam sensor. Standalone conversions generally keep the distributor sensor for sync and the distributor for spark, or move to coil-per-cylinder with the sensor retained.

Factory ECU pinout

Each connector face drawn from the OEM service manual's pin data, with every terminal's function and wire colour where the manual prints it.

Nissan 200SX SE-R (B14) SR20DE ECM F25, 1997 US

The Nissan 200SX SE-R (B14) SR20DE ECM F25, 1997 US uses 1 connector with 88 cavities. This page draws each face from the OEM figure and lists the 57 terminals the OEM table documents, with wire colours where the manual prints them.

1997 · US · 1 connector, 88 cavities · 57 terminals sourced

ECM harness connector F25, 1997 200SX SE-R (SR20DE)88 cavities · 57 terminals listed · Same OEM figure (SEF064P) as the 1997 240SX manual.

Looking into the harness plug's mating face (mirror of the ECU face).

How the OEM figure is orientedHarness side (looking into the plug), as drawn in the OEM figure.
Nissan 200SX SE-R (B14) SR20DE ECM F25, 1997 US: ECM harness connector F25, 1997 200SX SE-R (SR20DE)101: IACV-AAC valve101102: Injector No. 1102103: EGR valve and EVAP canister purge control solenoid valve103107: Injector No. 2107108: Rear heated oxygen sensor heater108109: Injector No. 4109113: Current return113114: no terminal listed114115: Front heated oxygen sensor heater115104: Injector No. 3104105: no terminal listed105106: ECCS ground106110: no terminal listed110111: Rear heated oxygen sensor heater ground111112: ECCS ground112116: no terminal listed116117: no terminal listed117118: ECCS ground1181: Ignition signal12: Ignition check23: Tachometer35: no terminal listed56: no terminal listed67: A/T check signal (A/T)78: Fuel pump relay89: no terminal listed911: no terminal listed1112: no terminal listed1213: Cooling fan relay (high) (A/T)1314: Cooling fan relay (low)1415: Air conditioner relay1516: no terminal listed1617: no terminal listed1718: Malfunction indicator lamp184: ECCS relay (self-shutoff)410: ECCS ground1019: ECCS ground1920: Start signal2021: Air conditioner switch2122: Neutral position switch (M/T) / inhibitor switch (A/T)2223: Throttle position sensor2324: no terminal listed2425: Power steering oil pressure switch2526: Vehicle speed sensor2627: no terminal listed2728: no terminal listed2829: no terminal listed2930: no terminal listed3031: no terminal listed3132: no terminal listed3233: Throttle position sensor signal (to A/T)3334: no terminal listed3435: no terminal listed3536: no terminal listed3637: no terminal listed3738: Ignition switch3839: ECCS ground3942: no terminal listed4243: ECCS ground (measurement reference)4349: Throttle position sensor power supply4950: Sensors' ground5040: Camshaft position sensor (reference signal)4041: Camshaft position sensor (position signal)4153: Crankshaft position sensor (OBD)5354: Knock sensor5455: no terminal listed5544: Camshaft position sensor (reference signal)4445: Camshaft position sensor (position signal)4546: Front heated oxygen sensor4657: no terminal listed5758: Data link connector for GST5859: no terminal listed5960: no terminal listed6047: Mass air flow sensor4748: Mass air flow sensor ground4862: EGR temperature sensor6263: Intake air temperature sensor6364: Data link connector for CONSULT6465: Data link connector for CONSULT6551: Engine coolant temperature sensor5152: Rear heated oxygen sensor5266: no terminal listed6667: no terminal listed6768: Data link connector for CONSULT6869: no terminal listed6956: Power supply for ECM5661: Power supply for ECM6170: Power supply (back-up)70
Hover, tap or tab to a cavity to see its terminal.
PinFunctionTypeWireNotes
1Ignition signalIgnitionW/B
2Ignition checkIgnitionW
3TachometerComms / diagL/OR
4ECCS relay (self-shutoff)OutputsW/G
7A/T check signal (A/T)Sensor signalPU
8Fuel pump relayOutputsB/P
10ECCS groundGroundB
13Cooling fan relay (high) (A/T)OutputsLG
14Cooling fan relay (low)OutputsLG/R
15Air conditioner relayOutputsG/Y
18Malfunction indicator lampComms / diagOR/L
19ECCS groundGroundB
20Start signalSensor signalB/Y
21Air conditioner switchSensor signalL/W
22Neutral position switch (M/T) / inhibitor switch (A/T)Sensor signalG/OR
23Throttle position sensorSensor signalY
25Power steering oil pressure switchSensor signalSB
26Vehicle speed sensorSensor signalPU/R
33Throttle position sensor signal (to A/T)Sensor signalGY
38Ignition switchPowerB/R
39ECCS groundGroundB
40Camshaft position sensor (reference signal)Crank / camL
41Camshaft position sensor (position signal)Crank / camB/W
43ECCS ground (measurement reference)GroundB
44Camshaft position sensor (reference signal)Crank / camL
45Camshaft position sensor (position signal)Crank / camB/W
46Front heated oxygen sensorSensor signalW
47Mass air flow sensorSensor signalOR
48Mass air flow sensor groundSensor 5 V / groundW
49Throttle position sensor power supplySensor 5 V / groundP/L
50Sensors' groundSensor 5 V / groundB
51Engine coolant temperature sensorSensor signalBR/Y
52Rear heated oxygen sensorSensor signalW
53Crankshaft position sensor (OBD)Crank / camW
54Knock sensorSensor signalW
56Power supply for ECMPowerW/R
58Data link connector for GSTComms / diagL/B
61Power supply for ECMPowerW/R
62EGR temperature sensorSensor signalR/B
63Intake air temperature sensorSensor signalR/Y
64Data link connector for CONSULTComms / diagG/B
65Data link connector for CONSULTComms / diagGY/L
68Data link connector for CONSULTComms / diagG/W
70Power supply (back-up)PowerW/L
101IACV-AAC valveOutputsSB
102Injector No. 1InjectorR/B
103EGR valve and EVAP canister purge control solenoid valveOutputsP
104Injector No. 3InjectorG/B
106ECCS groundGroundB
107Injector No. 2InjectorY/B
108Rear heated oxygen sensor heaterOutputsR/Y
109Injector No. 4InjectorL/B
111Rear heated oxygen sensor heater groundOutputsB
112ECCS groundGroundB
113Current returnOther / not usedW/L
115Front heated oxygen sensor heaterOutputsOR
118ECCS groundGroundB

Our drawing from published pin data; not an OEM drawing. Layout from the OEM face view (medium confidence). Confirm against the factory manual for your exact year and market before cutting or pinning wires.

Coverage, year splits and safety

Covers the 1997 US 200SX SE-R SR20DE ECM (connector F25). The catalog row spans 1991-99 and the B13 Sentra SE-R; the B13 (OBD-I) ECU is a different unit and is not covered.

Source notes: From the 1997 Nissan 200SX service manual, section EC (SR), 'ECM Terminals and Reference Value' (EC-75 to EC-82). Wire colours are terminal-side harness colours. The B13 Sentra SE-R (1991-94, OBD-I) uses a different ECM; its pinout requires the 1991-94 Nissan Sentra/NX service manual EF and EC section, which was not obtained.

Safety: disconnect the battery before working on the ECU harness, and confirm each terminal with a meter against your own car's manual before cutting or pinning wires.

All factory ECU pinouts →

Harness: wire-in

Route for this carWire-in
1 · S3 plug-in2 · Factory-connector adapter3 · Wire-in

No plug-and-play harness for the S3 pinout is listed for this vehicle yet. The route is a universal wire-in harness: the factory ECU is removed and each circuit is wired to the new ECU from a pinout. Nothing is written to the factory ECU.

Plug-and-play

Being researched

We're mapping S3 plug-in and factory-connector adapter harnesses to this application.

Wire-in

Universal flying lead or re-terminated factory harness

Always available: terminate the engine side to ECU2's two Superseal 34 connectors. Universal harness from $405 USD list.

Your GAINS system for this car · pre-release

ECU2 for the Sentra SE-R B13 / B14

Planned with the same rules as the configurator for this car's 4 cyl · port injection · cable throttle. The factory ECU is unplugged and replaced; nothing is written to it.

  • ECU2Engine controller

    4 cyl · port injection · cable throttle

    Full sequential fuel and spark for this 4-cylinder on a cable throttle, with the wideband built in.

    in designEst. availability: April 2027

    Price TBA

Add PDM2 to switch and protect chassis loads (pumps, fans, lights, accessories). Add it in the configurator →

Track days? Add the Telemetry Dongle Pro for 25 Hz GPS lap timing; it plugs into the OBD-II port, and your phone is the dash. Plan it in the configurator →

What you get

  • A screen on the ECUA 2.4-inch, 500-nit display in the lid, readable in a footwell.
  • Faults in plain words"Coolant temp sensor open circuit.
  • S3-style harnessesConnector A and C pin functions follow the published Nexus S3 wiring diagram.
  • Powered CAN portA sealed 4-pin port on the insert carries 12 V and CAN for the PDM2 and GAINS displays: one cable per accessory.
  • GAINS insideThe on-ECU adaptive layer, the app, logging and your limits.

How it wires in

  1. Haltech S3 plug-in harnessNone listed for this car
  2. Factory-connector → S3 adapterNone listed for this car
  3. Wire-inYour route: universal wire-in harness

Pin-compatible per the published S3 pinout, not yet fit-tested. Every harness option for this car ↓

ECU2 is in design; specifications may change. All GAINS hardware is pre-release concept design; nothing is for sale yet and no application is validated on a vehicle. Harness fitment is from published pinouts and not yet fit-tested.

How GAINS approaches the Sentra SE-R B13 / B14

Our starting method for this engine, as foundations first: get it running and drivable, then learn fuel, then the hardware-specific strategies. It is a methodology outline, not a validated calibration.

  1. 1
    Base map and first startplanned

    Start from displacement, injector data and the sensors fitted, then let the first-start learner settle cranking, idle and warm-up before any load work. The goal is a safe, running engine, not a finished calibration.

  2. 2
    Lambda targets and VE learningclosed loop on GAINS ECUs

    Air-fuel targets come from your goal (street, track, economy). The ECU then learns its fuel table cell by cell from the onboard wideband inside a signed envelope, and you approve promoting what it learned into the base map.

  3. 3
    Cam phasing (VVT)gated

    Begin with conservative overlap. Cam targets per load cell are then chosen with torque and knock in mind, keeping idle and cold overlap low for stability. Widening cam authority follows the same evidence-gated path as spark.

  4. 4
    Drivability foundationsplanned

    Pedal map, tip-in and decel fuel, idle control, cold start and warm-up enrichment: the tables tuners spend hours on after the main map. Each is a strategy in the knowledge engine with its own limits.

  5. 5
    Factory load sensingfactory reference

    What the factory ECU measures load with: MAF (hot-wire / hot-film) (high confidence)

  6. 6
    Wideband sensorhardware

    Add a wideband: the factory narrowband only tells rich from lean around stoichiometric, so it cannot close the loop at power or economy targets; fit a Bosch LSU 4.9 for the GAINS ECU's built-in controller

  7. 7
    Bottom end and head sealingfactory reference

    Reported: MotoIQ: rockers fly off with over-rev, water pump flow collapses ~6,600 rpm, inadequate rod-bearing oil flow causing spun bearings, small oil capacity. (medium confidence) Limits depend on tune quality, fuel, rpm and condition and are not guaranteed.

Drivetrain

Layout
  • Transverse front-wheel drive
  • Manual and automatic versionsA/T check signal and inhibitor switch on A/T
Sourced · medium1

Chassis integration

Cooling fansECM controls low and (A/T) high cooling fan relaysSourced1
A/CA/C switch (21) in, A/C relay (15) outSourced1
TachometerTachometer drive at terminal 3Sourced1
Vehicle speedVehicle speed sensor at terminal 26Sourced1

Because the ECM drives the cooling fan relays, any replacement ECU must take over fan control. OBD-II emissions functions (rear O2, EGR temperature, EVAP purge) are also lost with a non-OBD standalone.

Tuning notes

EngineSR20DE, 1,998 cc, 86 x 86 mmSourced · medium31

NA SR20DE gains come from intake, exhaust, cams and calibration. Turbocharging an SR20DE requires attention to its higher compression; ethanol blends, low boost and careful knock monitoring with the single factory knock sensor are advised. Many owners instead swap an SR20DET from a FWD Japanese-market car.

Popular swaps

FWD SR20DET donorsPulsar GTI-R (AWD) and Bluebird use transverse SR20DETsSourced · medium23

Transverse SR20DET swaps into B13/B14 cars must address the transaxle (the GTI-R unit is AWD), engine mounts, intercooler routing and wiring. Longitudinal S-chassis SR20DETs are not directly compatible.

GAINS on the Sentra SE-R B13 / B14

ECU2

ECU2Full sequential fuel and spark for this 4-cylinder on a cable throttle, with the wideband built in.Est. availability: April 2027
Hardware fromPrice TBAPlan and compare costs

Designed so your phone is the laptop, keypad and dash

The GAINS app is designed to handle tuning, logging, gauges and switch inputs over Bluetooth, so the system needs no separate CAN keypad or display. Keypad, dash and logging views are planned; the iOS prototype runs on simulated data today.

Wideband, IMU and logging built in

An onboard Bosch LSU 4.9 wideband controller, a 6-axis IMU and onboard logging are designed into the ECU rather than sold as add-on modules.

Modular, so you buy what the engine needs

This engine runs on ECU2. PDM2 (power, body and gearbox) is optional and connects over ECU2's powered CAN port; the Telemetry Dongle Pro adds GPS lap timing from the OBD-II port.

Calibration that keeps learning

Instead of a fixed map that drifts as parts and conditions change, the ECU keeps adapting its fuel trims within limits you can see and approve in the app.

Adaptive tuning strategies

  • VE learning closed loop on GAINS ECUs

    Learns the fuel table from the onboard wideband as you drive, cell by cell, inside a signed authority envelope. Learned trims are promoted into the base map without a step in fuelling.

  • Goal-based lambda targets closed loop on GAINS ECUs

    Sets air-fuel targets from your goal (economy, response, power, safety margin) instead of a single fixed table.

  • Knock protection protection

    Listens for knock on a dedicated knock processor, pulls timing at once and restores it slowly. It only ever reduces advance.

  • Warm-up, cranking, idle and transient fuel planned

    The same learning approach applied to the tables tuners spend hours on after the main map is done.

  • Spark advance and boost authority gated

    Widening ignition advance or boost is never automatic. It stays an expert or dyno decision until validated knock detection exists for the engine family.

Already running another ECU? In advisor mode the same strategies read your logs and recommend exact table changes with the reasoning, which you apply in your ECU vendor's own software.

GAINS hardware is pre-release concept design. Simulated results only; nothing is validated on a vehicle yet.

Frequently asked

Where is the ECU in a B14 200SX SE-R?

Behind the center console; remove the front passenger center console panel. The harness connector is F25.1

Does the B14 SR20DE use a distributor?

Yes. Nissan describes a distributor ignition (DI) system for the 1997 200SX SR20DE.1

Which B14 SE-R ECU pins are the injectors?

102 (No.1, R/B), 107 (No.2, Y/B), 104 (No.3, G/B), 109 (No.4, L/B).1

Does the US SR20DE have variable valve timing?

Not on the 1997 200SX SE-R: its ECM has no valve timing output.1

Is the B14 SE-R OBD-II?

Yes. The ECM has a GST data link connector line and OBD functions such as a rear O2 sensor and a crankshaft position sensor for misfire detection.1

Sources

Numbered as cited above. Hover or tap a citation chip to preview it.

  1. 1997 Nissan 200SX Service Manual, section EC (SR20DE and GA16DE) · Nissan North America (archived copy from nicoclub.com) · service-manual · retrieved 2026-10-25
  2. Nissan Heritage Collection: Pulsar GTI-R (1990, RNN14) · Nissan Motor Co., Ltd. · oem · retrieved 2026-10-25
  3. Nissan SR engine · Wikipedia · community · retrieved 2026-10-25

Catalog data and evidence

  • Catalog data, not yet expert-reviewed.
  • No vehicle photos: illustrations only until licensed imagery is available.
  • Factory ECU part numbers not yet sourced for this vehicle.
  1. E-900 Haltech Nexus S3 catalog (sourced, high confidence)
  2. E-941 S3 engine harness availability (inferred, medium confidence)