Let's Make Robots!

step motor

step Motor

hi all ,

 

i want to know if i am doing correct configuration?

i have these driver and the step motor below.

driver

a) http://i1265.photobucket.com/albums/jj519/soni991/IMG_6732.jpg

b) http://i1265.photobucket.com/albums/jj519/soni991/IMG_6731.jpg

motor:a) http://i1265.photobucket.com/albums/jj519/soni991/IMG_6733.jpg

i am connecting thsoe 4 pin out from driver to the mega 2560 from pin 8-11

and the code as below.

 

stepper motors

I ripped apart a couple of flat bed scanners looking for gears. So I have two stepper motors in my kit box that takes up valuable space. If anybody got inspired by this and want to give stepper motors a shot, just give me your adress and I'll send one your way for free in about two weeks (vacation atm).

Edit: BOTH STEPPERS ARE GIVEN AWAY NOW