Arduino Development Cookbook by Amariei Cornel

Arduino Development Cookbook by Amariei Cornel


Author:Amariei, Cornel [Amariei, Cornel]
Language: eng
Format: azw3, epub
Publisher: Packt Publishing
Published: 2015-04-22T16:00:00+00:00

There's more…

In this example, we've seen how to connect one motor directly to a digital pin. But we can also connect more than one.

Multiple motors

Multiple motors can be connected using different digital pins on the Arduino board. For example, pins 2, 3, and 4 can independently control different motors. Each digital pin on the Arduino can control one motor. However, it's generally advised not to do this, as it will increase the current passing through the Arduino until it burns. Let's limit ourselves to one motor only with this implementation.


Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.