Interfacing DC Motors With ARDUINO DUE
The Arduino Due is a microcontroller board based on the Atmel SAM3X8E ARM Cortex-M3 CPU. It is the first Arduino board based on a 32-bit ARM core microcontroller. A DC motor relies on the facts that like magnet poles repels and unlike magnetic poles attract each other. A coil of wire with a current running through it generates an electromagnetic field aligned with the centre of the coil. By switching the current on or off in a coil its magnetic field can be switched on or off or by switching the direction of the current in the coil the direction of the generated magnetic field can be switched 180°.
Even the simplest robot requires a motor to rotate a wheel or performs particular action. Since motors require more current then the microcontroller (Arduino) pin can typically generate, you need some type of a switch which can accept a small current, amplify it and generate a larger current, which further drives a motor. This entire process is done by what is known as a Motor driver. With L293D Motor Driver IC, that task is made simple and has helped in a number of applications with relative ease.