in steppers you should regulate your powering to your steppers to make it turn, its a matter of powering a number of coils
,in most steppers you need 4 pins to do this and another 2 which is vcc and ground.
google stepper motors and youll get intensive info,there are also some ics made as stepper drivers