rotate DC-Motor 180 degrees in both directions ?

hi
kindly, i have a DC-Motor and arduino mega ...i wanna rotate DC-Motor 180 degrees in both directions...how to do that pls? ...

Is the motor geared? If not you can't control a normal DC motor to just rotate half a turn.

1 Like

no it is just a DC-Motor ...but i have another motor, its a stepper motor with 6 pins ...i dont know how to use it...its name (motor-unipolar stepper:PM55L-048-HPG9 aka C2164-60045 NBM-MAT Stepper motor with metal gear) can i use it ..and how ?

can i use it

Yes

and how

http://www.thebox.myzen.co.uk/Workshop/Motors_3.html
or

thank you , i think that the 4 pins circuit in this page is helpfull

but my motor wires are all black and im dont sure of the right positions...maybe i will try

but my motor wires are all black and im dont sure of the right positions

Measure the resistance between the wires. The wire that is connected to all the others with the lowest resistance is the common one.
They wire the other four any way. If the motor chatters instead of turning then swap two wires over and try again.