Duel Motor Driver With Arduino Using A SN754410NE
Duel Motor Driver With Arduino Using A SN754410NE
Dual Motor Driver with Arduino using a SN754410NE Quad Half H-Bridge
by ArduinoFun on October 25, 2009 Table of Contents License: Attribution Share Alike (by-sa) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Intro: Dual Motor Driver with Arduino using a SN754410NE Quad Half H-Bridge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A step by step project guide by ArduinoFun . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . step 1: Parts List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . step 2: Build the H-Bridge Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . step 3: Arduino Sketch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2 2 3 3 4 6 6 6
http://www.instructables.com/id/Duel-Motor-Driver-with-Arduino-using-a-SN754410NE-/
License: Attribution Share Alike (by-sa) Intro: Dual Motor Driver with Arduino using a SN754410NE Quad Half H-Bridge
A step by step project guide by ArduinoFun
With this Instructable I am going to show you how to use a SN754410NE Quad H-Bridge IC to control two 12 volt DC Motors. I have added a video so that you can see the Dual Motor in action. As you can see in the video, all the wires can be a little confusing to look at. To make things easier to view and understand as we go along, I have also created an illustration for you to refer to. You may also download a printable PDF file of this illustration. I have depicted an Arduino board in the illustration, if you already have one you are good to go, if not... you can do like I have and Build Your Own Arduino following another one of my instructables.
Breadboard Illustration - You may also download a printable PDF file of this illustration
Image Notes 1. 12 Volt DC Motor 2. Breadboard Arduino 3. H-Bridge Duel Motor Driver SN754410NE 4. 22AWG Hook Up Wire Kit 5. On/OFF Switch 6. 12 volt power from power supply unit. 7. +12V 8. +12V 9. +5V 10. +5V
http://www.instructables.com/id/Duel-Motor-Driver-with-Arduino-using-a-SN754410NE-/
DISCOUNT: 10% OFF Your Total Order at ArduinoFun.com when you use coupon code "INSTRUCTABLES" at time of checkout.
Image Notes 1. DC Motors 2. SN754410NE Quad H-Bridge Driver IC 3. Arduino Duemilanove 4. 840 Tie Point Breadboard 5. 22 AWG Hook Up Wire Kit. Great for prototyping projects.
Pins 1, 9, and 16 are +5V Pin 8 is +12V and will run the +12V DC motors. Pins 4, 5, 12, and 13 are for GND DC Motors have two hook ups on them. If you hooked one up straight to the source power you would have one lead going to positive and one lead going to GND. For our H-Bridge driver, you will hook the left motor leads to pin 3 & 6. The right motor leads will hook up to pins 11 & 14. Connect h-bridge pin 2 to the Arduino digital pin 2, and h-bridge pin 7 to Arduino digital pin 3. Connect h-bridge pin 10 to Arduino digital pin 8, and h-bridge pin 15 to Arduino digital pin 7
http://www.instructables.com/id/Duel-Motor-Driver-with-Arduino-using-a-SN754410NE-/
Image Notes 1. U-Shaped Notch 2. Pin 1 3. Pin 8 4. Pin 9, opposite side 5. Pin 16
http://www.instructables.com/id/Duel-Motor-Driver-with-Arduino-using-a-SN754410NE-/
turn_right(); delay(1000); motor_stop(); Serial.println("4"); motor_stop(); delay(1000); motor_stop(); Serial.println("5"); digitalWrite(ledPin, HIGH); // set the LED on delay(1000); // wait for a second digitalWrite(ledPin, LOW); // set the LED off delay(1000); // wait for a second } // Drive void motor_stop(){ digitalWrite(motor_left[0], LOW); digitalWrite(motor_left[1], LOW); digitalWrite(motor_right[0], LOW); digitalWrite(motor_right[1], LOW); delay(25); } void drive_forward(){ digitalWrite(motor_left[0], HIGH); digitalWrite(motor_left[1], LOW); digitalWrite(motor_right[0], HIGH); digitalWrite(motor_right[1], LOW); } void drive_backward(){ digitalWrite(motor_left[0], LOW); digitalWrite(motor_left[1], HIGH); digitalWrite(motor_right[0], LOW); digitalWrite(motor_right[1], HIGH); } void turn_left(){ digitalWrite(motor_left[0], LOW); digitalWrite(motor_left[1], HIGH); digitalWrite(motor_right[0], HIGH); digitalWrite(motor_right[1], LOW); } void turn_right(){ digitalWrite(motor_left[0], HIGH); digitalWrite(motor_left[1], LOW); digitalWrite(motor_right[0], LOW); digitalWrite(motor_right[1], HIGH); }
http://www.instructables.com/id/Duel-Motor-Driver-with-Arduino-using-a-SN754410NE-/
Related Instructables
BLDC Motor Control with Arduino, salvaged HD motor, and Hall Sensors by dlginstructables
Advertisements
Simple Robotics Solderless Breadboard by Breadboard doctek Layout Sheets (plug and play electronics) by oomlout
Comments
4 comments
Add Comment
Sep 6, 2010. 6:25 PM REPLY
hughligen says:
I'm confused as to why you have in the parts list, the Arduino as well as the build your own arduino. Is it a choice? as in either a off the shelf arduino or a homebuilt one?
johnnyhellfire says:
So can you control the direction the motors go or is it only single directional circute
oshondrom says:
This is stupid!Jou coud use just 2 digial pins 2 transistors and no other chips!
http://www.instructables.com/id/Duel-Motor-Driver-with-Arduino-using-a-SN754410NE-/
amando96 says:
I really don't understand anything of your code.
http://www.instructables.com/id/Duel-Motor-Driver-with-Arduino-using-a-SN754410NE-/