An electronic control unit for a device for measuring a measurement variable, wherein a first inductance is supplemented by a capacitance to form a parallel resonant circuit and is excited by a micro-controller. A measuring inductance coupled to the first inductance is measured by the electronic control unit. Therefore, a measured variable can be deduced and only very few components are required in addition to the electronic control unit.