Cleaning device for applying a medium pulse to a surface, in particular a surface of a sensor, preferably an optical sensor, in particular an environment detection sensor, comprising: - a pressure cylinder, which has a pressure connection, a medium connection, and a first nozzle connection, - a separating and displacement means (125, 125A, 125B), which has a first and/or second pressure transmitter surface, being arranged in the pressure cylinder in order to divide the volume of the pressure cylinder into a first medium chamber and a second medium chamber and in order to change a volume (VMK1, VMK2) of the first and second medium chambers (130, 140), characterized by - a switching valve, which has a first pressure cylinder connection, a first medium source connection, and a second nozzle connection and is designed to switch into a first switching state and a second switching state, - in the first switching state, it being possible for the first medium chamber to be connected to the first medium source connection via the pressure connection in order to reduce the volume of the second medium chamber, and - in the second switching state, it being possible for the first medium chamber to be connected to the second nozzle connection via the pressure connection in order to increase the volume of the second medium chamber, - in such a way that - a medium pulse of a liquid medium, and/or - a medium pulse of a gaseous medium can be applied to the surface. - a pressure cylinder, which has a pressure connection, a medium connection, and a first nozzle connection, - a separating and displacement means (125, 125A, 125B), which has a first and/or second pressure transmitter surface, being arranged in the pressure cylinder in order to divide the volume of the pressure cylinder into a first medium chamber and a second medium chamber and in order to change a volume (VMK1, VMK2) of the first and second medium chambers (130, 140), - a switching valve, which has a first pressure cylinder connection, a first medium source connection, and a second nozzle connection and is designed to switch into a first switching state and a second switching state, - in the first switching state, it being possible for the first medium chamber to be connected to the first medium source connection via the pressure connection in order to reduce the volume of the second medium chamber, and - in the second switching state, it being possible for the first medium chamber to be connected to the second nozzle connection via the pressure connection in order to increase the volume of the second medium chamber, - in the first switching state, it being possible for the first medium chamber to be connected to the first medium source connection via the pressure connection in order to reduce the volume of the second medium chamber, and - in the second switching state, it being possible for the first medium chamber to be connected to the second nozzle connection via the pressure connection in order to increase the volume of the second medium chamber, - in such a way that - a medium pulse of a liquid medium, and/or - a medium pulse of a gaseous medium - a medium pulse of a liquid medium, and/or - a medium pulse of a gaseous medium