DIY project small motor that makes an axis turn

Hello forum members,

For a DIY project I am looking for a small motor that can turn an axis.
The shaft to be driven will have a diameter of approximately 15 or 20mm (maybe bigger).

I would like to use a knob (dial) that can rotate 180 * to the left and 180 degrees to the right.

If I turn the knob to eg 1 o’clock I would like the axis to come to this position as well.
If I turn the knob to eg 8 o’clock, the axle should also come to this position.

In addition, I have the question whether the shaft rotation can be limited eg 179 * left (from 12h to 6h) and 179 * right (from 12h to 6h)
I’m asking this because on the axis I would install a sensor that has a wire (just to be sure the cable doesn’t tangle up to far)

How could this be created and what parts do I need?
Thanks for the help and I look forward to hear your thoughts.

Greetings Jo from Belgium

Hoi @Jo111111
many people have read this thread, but (like me) they still need more information.
Is the shaft heavy or hard to turn? A steppermotor with pulley + belt or a servo would be my first candidates or a geared dc motor with encoder.
How much distance is between the shaft and the knob? That determines the way of ‘communication’ between knob and actuator. (wired, bluetooth, WiFi…etc.)