Pump comprising: - a first substrate extending essentially in a plane, this substrate having a side; - a cavity formed in the side of the first substrate; - intake and discharge channels (22, 26) for admitting and discharging a fluid, respectively, said channels being formed in the side of the first substrate; - a second substrate having a side joined to the side of the first substrate, this side closing the channels (22, 26) in order to form tubes inside of which the pumped fluid is able to flow, this second substrate also comprising at least one membrane closing the cavity to form a chamber that is leak-tight to the fluid, this membrane being deformable: • from a suction position to an expulsion position in order to expel the fluid out of the chamber via the discharge channel, and • from the expulsion position to the suction position in order to suck the fluid into the chamber via the intake channel; - an assembly for measuring the temperature or flow rate of the fluid, characterized in that the pump comprises: - an actuator capable of converting the energy that it receives into a movement of the membrane between its suction and expulsion positions, and - the assembly for measuring the temperature or flow rate of the fluid comprises: • inside one of the substrates, a well entirely filled with a thermally insulating solid material having an exterior side flush with the interior of the tube or of the chamber, the thermally insulating solid material having a thermal conductivity at 20°C less than 5 W.m -1.K -1, and • a temperature probe (68, 69) placed, above the well, on the exterior side of the insulating material in order to insulate thermally this probe from the substrate. - a first substrate extending essentially in a plane, this substrate having a side; - a cavity formed in the side of the first substrate; - intake and discharge channels (22, 26) for admitting and discharging a fluid, respectively, said channels being formed in the side of the first substrate; - a second substrate having a side joined to the side of the first substrate, this side closing the channels (22, 26) in order to form tubes inside of which the pumped fluid is able to flow, this second substrate also comprising at least one membrane closing the cavity to form a chamber that is leak-tight to the fluid, this membrane being deformable: • from a suction position to an expulsion position in order to expel the fluid out of the chamber via the discharge channel, and • from the expulsion position to the suction position in order to suck the fluid into the chamber via the intake channel; • from a suction position to an expulsion position in order to expel the fluid out of the chamber via the discharge channel, and • from the expulsion position to the suction position in order to suck the fluid into the chamber via the intake channel; - an assembly for measuring the temperature or flow rate of the fluid, - an actuator capable of converting the energy that it receives into a movement of the membrane between its suction and expulsion positions, and - the assembly for measuring the temperature or flow rate of the fluid comprises: • inside one of the substrates, a well entirely filled with a thermally insulating solid material having an exterior side flush with the interior of the tube or of the chamber, the thermally insulating solid material having a thermal conductivity at 20°C less than 5 W.m -1.K -1, and • a temperature probe (68, 69) placed, above the well, on the exterior side of the insulating material in order to insulate thermally this probe from the substrate. • inside one of the substrates, a well entirely filled with a thermally insulating solid material having an exterior side flush with the interior of the tube or of the chamber, the thermally insulating solid material having a thermal conductivity at 20°C less than 5 W.m -1.K -1, and • a temperature probe (68, 69) placed, above the well, on the exterior side of the insulating material in order to insulate thermally this probe from the substrate.