Are you connecting the motor to the arduino output ? (I hope not ) Could you post the code that drives that pwm output ?