One thing I would like to add here. The arduino is the brain pretty much. It reads an input signal and send out output signals. The arduino itself can't drive a motor or led's etc. You either need a driver or "shield". They are called a shield because that's exactly what they do. Shield the arduino from the higher current. If you tried to drive a motor off a arduino it would just burn it up. So to drive a DC motor with PWM you need a motor driver/shield as pictured here.
The arduino just plugs right into the shield. As long as there aren't pin conflicts (shields that use the same pin) you can stack different shields. (Wifi, Xbee, Motor Driver, etc) Or you can use stand alone driver boards such as this one
Either way, your external power source (power supply) is run to the motor driver. The arduino sends the signal to the driver to tell it what to do. Turn on, Turn off, PWM etc. The motor controller protects the arduino from the higher voltages and amperage.
So there is a little bit more to it than simply hooking the arduino up to the motor etc... The good thing is most of the different driver boards are pretty cheap. I found my motor shields on ebay for 5 dollars a piece. I got my power supply for $11. You just need to research what you want to do. What voltage and amperage motor you are wanting to drive. etc. If looking to use multiple shields and stack them then you have to be aware of what pin those shilds use so you don't have any pin conflicts etc.
The arduino just plugs right into the shield. As long as there aren't pin conflicts (shields that use the same pin) you can stack different shields. (Wifi, Xbee, Motor Driver, etc) Or you can use stand alone driver boards such as this one
Either way, your external power source (power supply) is run to the motor driver. The arduino sends the signal to the driver to tell it what to do. Turn on, Turn off, PWM etc. The motor controller protects the arduino from the higher voltages and amperage.
So there is a little bit more to it than simply hooking the arduino up to the motor etc... The good thing is most of the different driver boards are pretty cheap. I found my motor shields on ebay for 5 dollars a piece. I got my power supply for $11. You just need to research what you want to do. What voltage and amperage motor you are wanting to drive. etc. If looking to use multiple shields and stack them then you have to be aware of what pin those shilds use so you don't have any pin conflicts etc.