sollodobo wrote: ↑
Mon Jun 29, 2020 2:25 am
so i find that the arduino world has many tutorials on how to record servo movements. they use a potentiometer to move the servo and while you are doing that the micro controler records it and plays it back. How can this be achieved with a raspberry pi? any help or advice is appreciated thank you.
One possible approach is to read and understand the code in the corresponding Arduino sketch and then re-implement the same solution on Raspberry Pi hardware using your chosen combination of Operating System and Programming Language.
Using the supported RasPiOS Operating System and the gpiozero Python library would give you a straightforward way of handling both the servo and the potentiometer.