5V POWER SOURCE shared by Motor & Arduino

5V from the bench power supply (upto 3A current) to both arduino Vin and 5V dc motor.

The arduino will also control motor via pwm.

Is there anything wrong with this? Will connect a diode across terminals to block back emf and a 0.1microfarrad capacitor for noise (read from herehttp://www.pololu.com/docs/0J15/9)

Please don't be confused, the motor is NOT powered via the 5V power pin from the arduino

This is a duplicate post, the original is here: Arduino Forum

Arduino external DC connector (Vin) voltage requirements:

Input Voltage (recommended) 7-12V
Input Voltage (limits) 6-20V