SparkFun Forums 

Where electronics enthusiasts find answers.

General project discussion / help
Did you make a robotic coffee pot which implements HTCPCP and decafs unauthorized users? Show it off here!
By Zarakk
Hi everyone, I'm new here.

I don't have much experience with Electronics but I'm an engineer and programmer and have wanted to start playing about with some projects using a Raspberry Pi and/or Arduino.

One project I want to start involves very precise angular movements on motors. I'm looking at stepper motors but know very little (I'm an aerodynamic engineer so my skills don't translate lol). What I need is 3 motors, that can turn in increments of about 1 degree so I am looking at 1.8deg stepper motors with some micro stepping but the more steps the better. Two of the motors will turn very slowly, with the other having a max speed of about 1-2 revolutions per second.

The project isn't big and I have been looking at motors as small as possible (sub 45mm3 ideally)

My biggest issue is that ideally I need to know the angular position of the motors at any time even when turned of and on. I have looked at Absolute Radial Encoders and Potentiometers but wondered if anyone had any thoughts? Am I trying to do the impossible?

I would appreciate any help,

By lyndon
The main benefit of microstepping is smoother motion, not more precise control. I wouldn't trust the accuracy below half step or so, depending on the particular motor you are using. If you need more precise motion, gear it down. For knowing startup position, yes you will need some sort of absolute position measurement.
By jremington
I agree with the above.

To determine the shaft position of a stepper after power down, you have only two options. One is to use an absolute rotary shaft encoder, the other is to "home" the stepper upon power up, using a limit switch (and rotate back to original position).
By Zarakk
Thank you for the replies.

I hadn't thought about the accuracy of the microstepping so thank you. I will go on the prowl for as cheap absolute encoders as I can find. Thanks a bunch

By lyndon
One important thing to bear in mind is do you need to know the position of the motor shaft, or the position of what it's driving?
By BigPilot
Do you need the position instantly when you turn it on or can you move the stepper motor until you find an indication of its position? A hall sensor would do in that case, but it will be difficult to get 1 degree precision.