Ratchet Mechanism

Input: green crank oscillating.
Output: ratchet wheel rotating interruptedly.
Blue spring maintains contact between yellow pawl and ratchet wheel.
Speciality: internal tooth wheel, external pawl.