5 wire... uni-polar with common center connection.
if you ohm out the lead and find one lead is common to all, then you connect that to your mains 5volt, and then bring each lead to ground to pulse. do NOT feed the motor from the Arduino. it will burn it up.
the motor should have some numbers. might be 200 steps per rotation. you cannot power this easily for things like microsteping nor can you use a simple h-bridge.
if you have not bought the motors, I would highly recommend you get 4 wire motors.
if you want to use this now, 4 transistors, (or FET's )
4 resistors between the pins and the base of the transistors.
connect the common to 5 volts
and connect each of the remaining 4 wires to the collector of the transistors.
then control the transistors one at a time.
if the motor does not spin swap any two of the pins, if not, then swap a different two pins.
since you are controlling the base of the transistor, you bring it high and it will activate that coil.
bring one pin high,
delay(5)
bring that pin low
delay(5)
second pin high
delay(5)
second pin low
delay(5)
(repeat for the other two pins)
repeat for all 4 pins. this simple test should get your motor spinning. and probably jumping around a bit.
delay is not the best, but for testing it is fine.
if the motor does not spin, just shakes, then swap 2 pins. if the does not work, swap the next two pins. you are trying to get the coils to alternate.
this crude operation will have most steppers rotating and shaking quite a bit.
a 4 wire, bi-polar stepper can be run in half step mode and will run more smoothly.
using as microstepper driver and the motor will purr smoothly when spinning.