Idle and DBW
Idle speed control and the electronic throttle.
Mode and actuator

- Open loop – base air by temperature.
- Closed loop – target rpm with spark and air correction.
- Actuator: electronic throttle, PWM valve or stepper motor. Not sure what you have? Identify the valve.
- With a valve or stepper the base value is a curve on the same page; the base air page belongs to the electronic throttle.
Stepper motor since 0.5.27
| Wiring | Motor | Boards |
|---|---|---|
| two H-bridges since 0.5.31 | 4 wires | uaEFI, K12, Proteus |
| four outputs | 5 or 6 wires | any with four free outputs |
| STEP / DIR driver | 4 wires | all |
Tuning order
- Set target rpm by temperature (higher when cold).
- With the correction off find the base air warm, then check cold.
- Switch on spark correction – it reacts fast to small errors.
- Add a slow air correction with a dead zone to avoid hunting.

Electronic throttle (DBW)

- H-bridge, motor direction, rest position, spring compensation and PID controller,
- plausibility check of the two throttle and pedal tracks,
- a map of requested opening from the pedal (ETB target).
Throttle learning
Engine stopped, ignition on, do not touch the pedal. The controller measures the end stops and spring force (about 30–45 s). Then save the settings.

Two throttles
uaEFI, K12 and Proteus: one pedal and one map, while each throttle has its own sensors, motor, end stops and controller. A fault of either one switches both motors off.
Supercharger bypass flap since 0.5.27
The supercharger bypass flap has its own section: Supercharger. On uaEFI, K12 and Proteus it takes the second H-bridge, on K8 the only one (the engine then runs with a cable throttle).
DBW is a safety part. Before driving, test on the bench what happens when the pedal sensor, throttle sensor and motor are disconnected.