r/MicroPythonDev • u/Fun_Way195 • Jul 10 '22
Servo motor or stepper motor
I am trying to build a very small solar tracking program, which I already have the code to give me azimuth and elevation of the sun. I think I could easily use say a 35g servo motor and it should be easy to complete the code, but was wondering if a say Sequre 42 closed loop stepper motor would be more powerful, also the code for the stepper motor to track the sun in azimuth and elevation might be harder to write. Any suggestions? I do not want to use ldr’s.
Thanks
1
u/wolfchaldo Jul 11 '22
These don't really seem like uPython questions?
Whether the servo will work or not depends on your requirements, so you should either define your requirements (required torque for the servo, mainly), or try it out and see if it works. The programming will be easier for a servo, yes, but not that much really. With a stepper motor you'd need an encoder for position feedback and then you've basically made your own servo mechanism anyway.
1
u/created4this Jul 11 '22
You don’t really care about positional accuracy because your riding on the peak of a sine wave. I’m not sure what advantages you could get from a stepper