Arduino WiFiSheild and stepper motor

Hello

I have an Arduino uno r3 and a WiFiSheild for it. I set up a circuit where a stepper motor is connected to the WiFiSheild. I am using stepper motor driver to handle the connection between the wifi sheild and stepper motor. I know my circuit is correct because the stepper motor is vibrating. But the stepper motor knob is not turning. I am not sure why the stepper motor knob won't turn. I had the same issue with the Ethernet Shield.

Pin Connections:
Stepper motor driver digital input 1 is connected to pin 8 on wifi shield
Stepper motor driver digital input 2 is connected to pin 9 on wifi shield
Stepper motor driver digital input 3 is connected to pin 10 on wifi shield
Stepper motor driver digital input 4 is connected to pin 11 on wifi shield
Stepper motor driver gnd is connected to power gnd on wifi shield
Stepper motor driver vcc is connected to power 5v on wifi shield

Code:

#include <Stepper.h>
#include <SPI.h>
#include <WiFi.h>

Stepper motor(200, 8, 9, 10, 11);
WiFiServer server(23);
int conn = WL_IDLE_STATUS;

void setup() {
   Serial.begin(9600);
   while(conn != WL_CONNECTED){
     conn = WiFi.begin("....", "....");
     delay(10000);
   }
   server.begin();
   motor.setSpeed(60);
   Serial.println(WiFi.localIP());
   
}

void loop() {
  WiFiClient client = server.available();
  if(client){
    motor.step(200);
    delay(10000);
    server.write('m');
  }
}[code]

[/code]

kingofjong:
Stepper motor driver vcc is connected to power 5v on wifi shield Use a separate power supply and connect the grounds!