Cleaning device for applying a medium pulse (MP) to a surface (O), in particular a surface (O) 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 , which has a first and/or second pressure transmitter surface , being arranged in the pressure cylinder in order to divide the volume (V) 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 , 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 (S1) and a second switching state (S2), - in the first switching state (S1), 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 (VMK2) of the second medium chamber , and - in the second switching state (S2), 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 (VMK2) of the second medium chamber , - in such a way that - a medium pulse (MP) of a liquid medium (M2), and/or - a medium pulse (MP) of a gaseous medium (M1) can be applied to the surface (O). - a pressure cylinder , which has a pressure connection , a medium connection , and a first nozzle connection , - a separating and displacement means , which has a first and/or second pressure transmitter surface , being arranged in the pressure cylinder in order to divide the volume (V) 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 , - 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 (S1) and a second switching state (S2), - in the first switching state (S1), 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 (VMK2) of the second medium chamber , and - in the second switching state (S2), 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 (VMK2) of the second medium chamber , - in the first switching state (S1), 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 (VMK2) of the second medium chamber , and - in the second switching state (S2), 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 (VMK2) of the second medium chamber , - in such a way that - a medium pulse (MP) of a liquid medium (M2), and/or - a medium pulse (MP) of a gaseous medium (M1) - a medium pulse (MP) of a liquid medium (M2), and/or - a medium pulse (MP) of a gaseous medium (M1) <EOS>