Input: orange ratchet wheel.
Output: green shaft carrying pink pawl.
Push and release blue lever to let the green shaft rotate 360 deg.
A flat spring forces the pawl toward the ratchet wheel.
Another flat spring returns the blue lever to its initial position.