I connected the Raspberry Pi Pico to a potentiometer and a stepper motor, allowing the potentiometer to control the stepper motor's direction and the number of steps it takes. This simulates how a joystick adjusts the pan motors' angles in manual mode. I converted the potentiometer's analog reading into stepper motor steps using a formula that calculates the difference between current and previous analog readings, divided by 150. However, this conversion isn't entirely accurate, causing a slight delay. To improve precision, I plan to derive a more accurate formula for the conversion rate.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.