A simple way to convert continuous rotation to oscillatory motion.
The spring creates friction between the yellow wheel and the cable.
It acts like the mechanism in video “Application of rack pinion mechanism 2” of this channel.
However in case of large motion the spring deformation is too big that causes unnecessary load on the bearings. See “Cable drive 12b” and “Cable drive 12c” of this channel for the ways to overcome this weakness.
The oscillatory angle can be more than 360 deg. by reducing the yellow wheel diameter.