The invention relates in particular to a device for releasing a fluid comprising an electric motor (500) comprising at least one motor winding (506a-d), a control unit for controlling the motor (500) 656), and the electric resistance (R (506 a-d) of the motor windingW), Wherein the control unit (656) is configured to control the motor (500) as a function of the quantity of electricity, the apparatus further comprising an electronic detection circuit . The invention further relates to a method of controlling such a device, characterized in that the electrical resistance of the motor windings (506a-d) (RW), And controlling the motor (500) as a function of the quantity of electricity.本発明は、特に流体を放出するための装置であって、少なくとも1つのモータ巻線(506a~d)を含む電気モータ(500)を有し、モータ(500)を制御するための制御ユニット(656)を有し、モータ巻線(506a~d)の電気抵抗(Rw)の関数である電気量を決定するように構成された電子検出回路(620)をさらに含み、制御ユニット(656)は、電気量の関数としてモータ(500)を制御するように構成される装置に関する。本発明はさらに、そのような装置を制御する方法であって、モータ巻線(506a~d)の電気抵抗(Rw)の関数である電気量を決定する工程と、電気量の関数としてモータ(500)を制御する工程とを含む方法に関する。