HELP!! Stepper Motor on Arduino Mega 2560

Hello everyone,
I am relatively new to all of this and as a part of a project I am working on I need to connect a stepper motor to my Arduino mega 2560 and make the motor run. The stepper motor I have is the Kysan 1124090 NEMA17 Stepper Motor from Kysan Electronics. I am very confused as to what pins I should plug the motor into and how I would go about writing the program to simply turn it on and make it run. If anyone could give me a step by step tutorial on how to connect the motor to the arduino mega 2560 and help with basic code, that would be great!! Hopefully I get a response as soon as possible. Thanks guys!!! Attached are pictures of the connectors and the motor itself.

41TJnTNA-zL.SX342.jpg

You need a stepper motor controller. Stepper motors need pulses of current to make them move, the 20-30mA of an Arduino output pin won't do it. https://www.pololu.com/category/120/stepper-motor-drivers

CrossRoads: You need a stepper motor controller. Stepper motors need pulses of current to make them move, the 20-30mA of an Arduino output pin won't do it. https://www.pololu.com/category/120/stepper-motor-drivers

Oh whoops! Is that the only other part needed?

Well, a decent power supply too. 5V from Arduino won't cut it.

@bemur22, please do not cross-post. Other thread removed.

Have a look at stepper motor basics - it has a lot of background information.

...R

if I want to run a stepper motor, do I have to use the driver or can I use the driver

You need a driver, newbie30. The particular driver depends on the stepper that you want to control. See the tutorial link in post #5.