Why the ECU needs to know your gear
An engine doesn't care what gear it's in, but the car does. First gear at full boost can turn the tires into smoke, while fifth gear at the same boost is exactly what you want. Once the Elite has a reliable gear number, you can build tables that change boost, timing, fuel, launch and traction behavior per gear, and your logs become much easier to read because every pull is labeled.
The Gear Detection function in ESP (under Main Setup, Functions) is the piece that produces that gear number. There are several ways to get it, and the right one depends on what sensors your transmission and chassis already have.
Choosing a detection method
Start with Gear Maximum Number, which is simply how many forward gears the box has. ESP accepts 1 through 6. Then pick the Gear Detection Type:
| Method | What it needs | Best for | Catch |
|---|---|---|---|
| Gear Ratio | Engine RPM plus vehicle speed, with the Gear Ratios function set up | Most manual street and road-race cars | Needs a trustworthy speed signal; unreliable with the clutch in or wheels spinning |
| Gear Switch | A switch that fires on every upshift (a shifter load cell, for example) plus a wired clutch switch | Sequential and dog boxes | Counts up only; the clutch resets it to zero |
| Gear Position Sensor | A sensor on the gearbox that reads a different value in each gear | Sequentials with a barrel sensor, and all automatics | Each gear has to be calibrated |
| RPM Drop | Engine RPM only | Drag cars that never downshift during a pass | Assumes every drop in RPM above a set point is an upshift |
| CAN Input | The gear sent over the vehicle CAN bus | Cars where a factory or aftermarket transmission controller already knows the gear | Only as good as the device sending it |
If the Transmission Type is set to Automatic, Gear Position Sensor is the only detection type ESP will let you use. Plan your wiring around that before you start.
How each method works in practice
Gear Ratio
This is the "math" method. The ECU divides engine speed by road speed and compares the answer to the ratios you entered in Gear Ratios. There's no extra wiring beyond a vehicle speed sensor, which is why it's our default choice on manual cars. Its weak spot is any moment when engine and road speed aren't locked together, like a slipping clutch or wheelspin on the driven wheels.
Gear Switch
Each time the switch input crosses its on voltage, the gear count goes up by one. It can't count again until the signal falls back past the off voltage, so one shift can't be counted twice. Pushing the clutch pedal resets the count, which is why the Clutch Switch function has to be set up and wired first. The three timers on the Gear Switch tab control how it behaves:
- Gear Switch Reset Time: how long the clutch must be in before the count drops back to 0.
- Clutch Release Time: how long after the clutch comes out before the count moves from 0 to 1.
- Gear Switch Debounce Time: a lockout after each count so a noisy or bouncing switch can't add extra gears.
Because it only counts upward, this method suits cars that pull away in first and shift up through the box. It's popular with sequentials where the driver rarely clutches after launch.
Gear Position Sensor
The gearbox reports a distinct voltage for each gear, and you teach the ECU which voltage means which gear. This is the most direct method and it works with automatics and manuals. Calibration is covered below.
RPM Drop
With no other signal available, the ECU watches for the sudden fall in engine speed that happens on an upshift. For each gear you set a Setpoint (the RPM the engine must pass before the ECU starts watching) and a Drop (how far RPM must fall after that to count as a shift). Detection always starts in gear 1. To put it back to 1, RPM has to sit below the Gear Reset RPM for the Gear RPM Drop Reset Time. It's a clean fit for drag racing, where a pass is always first to top gear, and a poor fit anywhere you might lift and downshift.
CAN Input
If another controller on the car already knows the gear, let it tell the Elite over CAN. That avoids duplicate sensors, but check the CAN value against the actual gear in a log before you trust it for tuning tables.
Wiring and input settings
The Connections section only shows the input that matches your chosen method: Gear Switch Input for the switch method, Gear Voltage Input for the position sensor, and Selector Position Input if you're reading the shifter selector by voltage. Each one can be an AVI or an SPI.
| Setting | What it does | Our advice |
|---|---|---|
| Input type: AVI | Analog voltage input | Use one if you have one free; it's the recommended choice |
| AVI pull up | Adds a 1k resistor to 5V | Leave off for a sensor with its own supply, or one shared with the factory ECU |
| Input type: SPI | Pulsed input used as a voltage input | Fine when you're out of AVIs; set Sensor Type to Hall Effect |
| SPI pull up | Adds a weak 10k resistor to 5V | Same rule as the AVI pull up |
| Switch On / Off voltage | Thresholds for the Gear Switch method | Log the raw input while shifting and set them with a clear gap between |
The pull up question trips people up. If the sensor is powered on its own, or another ECU is already reading it in a piggyback install, adding a pull up skews the voltage both units see. When in doubt, check the raw voltage with the pull up on and off and see which one gives stable, sensible readings.
Calibrating a gear position sensor
The Gear Position tab has a line for 1st through 6th and Neutral, with optional Reverse and Park that you enable if the sensor reports them. Each line has a Nominal Voltage and a Voltage Tolerance. Here's how we do it:
- Connect to the ECU with the engine off and ignition on.
- Put the transmission in first gear and press Calibrate on the 1st line. ESP copies the live voltage into Nominal Voltage.
- Repeat for every gear, neutral, and reverse or park if enabled.
- Set a tolerance for each. The ECU treats any voltage within that amount above or below nominal as that gear.
- Look at the gaps. The tolerance windows of neighboring gears should never overlap.
For example, if 2nd reads 1.40 V and 3rd reads 1.90 V, a tolerance of 0.20 V gives 2nd a window of 1.20 to 1.60 V and 3rd a window of 1.70 to 2.10 V, with a small dead band between them. Those numbers are just to show the idea; your sensor's readings are what count.
Selector position (automatics)
Selector Position Enable is separate from the gear itself. It tells the ECU where the driver's lever is, which matters for automatics. Set it to Disabled if you don't have that signal, Voltage Input if you're reading a selector sensor on an AVI or SPI, or CAN Input if it arrives over the bus. With Voltage Input, the Selector Position tab lets you enable and calibrate Park, Reverse, Neutral, Drive, Sport, Manual, Overdrive and Low. Only enable the positions your shifter actually has, then calibrate each the same way as the gear sensor.
Troubleshooting
| Symptom | Usually |
|---|---|
| Gear flickers between two values | Tolerance windows overlap, a noisy signal, or the wrong pull up setting |
| Gear reads 0 or neutral while driving | Voltage falls between windows; widen tolerance slightly or recalibrate warm |
| Gear switch counts two gears per shift | Debounce time too short, or on/off voltages too close together |
| Gear switch never resets | Clutch Switch not configured or wired |
| RPM Drop skips or adds a gear | Setpoints or drop amounts don't match how the car actually shifts; compare to a log |
| Gear Ratio wrong during wheelspin | Expected; the math breaks when the wheels aren't hooked up |
Once gear detection is solid, it unlocks gear-based strategies in traction control, boost control and flat shift.
Gear detection FAQ
Which gear detection method is most accurate?
A properly calibrated gear position sensor, because it reads the gearbox directly. Gear Ratio is close behind on a manual car with a good speed sensor and no wheelspin.
Can I use gear ratio detection on an automatic?
Not in ESP. With the transmission type set to Automatic, the gear position sensor is the only option.
Do I need gear detection for a drag car?
If you want per-gear boost or timing, yes. RPM Drop is built for exactly that when you have nothing but engine speed to work with. If you're not sure which method suits your setup, book a free consultation and we'll talk it through.




