Couple questions about color sorting

Than found something about CALIBRATING STEPPER with microsteps but couldn't understand code clearly.

Micro steps are something that is a property of the motor's driver. They divide a step into 2, 4, 8, or 16 ( sometimes more ) steps. But when the motor is powered down you loose any fractional step and the motor reverts to the normal steps. However in your case as your required angle is a whole number of steps there should be no need for it.
Half stepping is described here:-
http://www.thebox.myzen.co.uk/Workshop/Motors_3.html

Have you made sure your motor is one that has 200 steps per revolution?

The other stuff simply moves the motor until a hall sensor detects a magnet. This gives you a fixed point of reference when you power up. However it could be used to calibrate every revolution. You could even put a magnet on every position and just pulse until your sensor sees the magnet.

Almost done

Looks good. :slight_smile:
What was it with the motor?

Thank you, hope it will be better soon.

Still confronting same problem about continues movement of stepper so changed it 45 forward another 45 forward and 90 backward for now. If I could be fix this problem, it will be perfect.

What it looks like now: http://instagram.com/p/oVGNp1pdgg/

I guess I'm done with this project.

Boran35:
I guess I'm done with this project.

Well done it looks great. :slight_smile: