A DC motor is a type of motor which as the name suggests run on direct current. The DC motor which we use properly runs between 9V to 15V(may vary according to size).. For connecting your Arduino with your motor you need an IC called L293D.Its is a dual H-bridge motor driver integrated circuit (IC). Motor drivers act as current amplifiers since they take a low-current control signal and provide a higher-current signal. This higher current signal is used to drive the motors. The program below show how to control motor when a switch is pressed, In when input-1 is pressed , the motors move forward and when input-2 is pressed, the motor moves backward.
For the program visit http://learningembedded.com/arduino/arduino-motor-interfacing/
For the program visit http://learningembedded.com/arduino/arduino-motor-interfacing/

No comments:
Post a Comment