Space Ratchet Mechanism

Input: yellow tube linearly reciprocating.
Output: blue screw rotating interruptedly. It plays role of a ratchet wheel.
Flat spring of red pin plays role of a pawl.
Pay attention to asymmetric profile of the screw thread.
The engagement between the pawl and the screw threads happens only when the tube moves down.
When the tube moves up, the pin slides on the screw threads.
If the screw inertia is large enough, it can rotates continuously.
The mechanism can be used for spin mops.