Page 29 - Demo
P. 29


                                     Project 8: DC Motor Direction Control (Forward & Reverse)Difficulty Level: Intermediate Components RequiredComponent Quantity DescriptionArduino Uno 1 Main microcontroller boardDC Motor (5%u20139V) 1 Output deviceL293D Motor Driver 1 For controlling motor safelyPush Buttons 2 One for Forward, one for ReverseResistors 2 10k%u03a9 (pull-down for buttons)Breadboard 1 For connectionsJumper Wires Several For wiringExternal Power Supply 1 6%u20139V battery (for motor) Circuit Schematic (Conceptual)%u2022 Motor %u2192 L293D outputs (OUT1 & OUT2).%u2022 Arduino pin 9 %u2192 L293D IN1.%u2022 Arduino pin 10 %u2192 L293D IN2.%u2022 Enable pin (EN1) %u2192 5V (to enable motor driver channel).%u2022 Button 1 %u2192 Arduino pin 2 (Forward) with 10k%u03a9 pull-down.%u2022 Button 2 %u2192 Arduino pin 3 (Reverse) with 10k%u03a9 pull-down.%u2022 External battery %u2192 powers motor via L293D Vcc2.%u2022 Grounds (Arduino, L293D, Battery) %u2192 connected together. Arduino Code
                                
   23   24   25   26   27   28   29   30   31   32

 

 

 

 

 

Web hosting by Somee.com