Cars engine rpm

my gearbox is a O2m for a vw golf iv. the pnumatic controller is a arduino uno, 8 relay bord, some pnumatic valves and 2 multi position cylinders.

like this (not my setup)