This document describes a project to control the direction and speed of a DC motor using multiple switches and an AVR microcontroller. It includes a block diagram and flow chart showing the components and process. The circuit diagram uses an AVR microcontroller and L293D motor driver to control the motor based on button inputs. Buttons control the direction, start/stop, and increase/decrease speed. The hardware components are described along with the Proteus simulation software. Applications include robotics, industrial machinery, and more. The project demonstrates controlling DC motor direction and precise speed using an AVR microcontroller.
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
DC Motor Direction and Speed Control using Multiple Switches
1. “DC Motor Direction and speed control using
multiple switches”
UNDER THE GUIDANCE OF
Prof. Subhasmita Sahu
Dept. of Electronics & Communication Engg.
BY
Asutosh Acharya
B.TECH: 2014-2018
Reg. No.: 1401292235
Gandhi Engineering College, Bhubaneswar
2. Outline
1) Introduction
2) Block Diagram
3) Flow Chart
4) Circuit Diagram by using proteus8
5) Explanation of Circuit Diagram
7) Hardware used
8) Software used
8) Application and Future scope
9) Conclusion
10) Reference
2
3. Introduction
In my Project I will show you how to control Direction and Speed
of Dc motor using multiple switches.
The dc motor will move both in clockwise and anticlockwise
direction and also stop by the use of switches.
We can also increase and decrease the speed of dc motor using the
switches.
Here the switches will provide constant voltage proportion of the
motor.
In my project,I will interface L293D based dc motor driver in PWM
mode with AVR Atmega-32 microcontroller.
Here the PWM mode is used for the speed control of Dcmotor.
3
7. Explanation of Ckt. Diagram
Button 1:Run motor in clockwise direction
Button 2:Run motor in anticlockwise direction
Button 3:Stop motor
Button 4:Increase speed
Button 5:Decrease speed
7
8. Hardware used
1)12v Dcmotor
•A DC motor is any of a class of rotary electrical
machines that converts direct current electrical energy
into mechanical energy.
•It will work on 12v power supply.
2)Resistors
•These are used to reduce current flow on circuit.
•Here we are using nine 1kΩ resistors and six
330Ω resistors.
(1k Ω)
(330
8
9. 3)AVR Atmega-32 microcontroller
•AVR ATmega32 micro controller is low power, high performance, 8-bit, Advance
RISC architecture(Reduced Instruction Set Computing) based micro controller. It
has 32 KB of in system programmable FLASH. In this system it performs
following tasks:
· Scans push buttons continuously to get user input
· Give different indications on LEDs
· Run or stop DC motor
· Change direction or speed of motor
9
10. 4)L293D motor driver
• L293D is a monolithic integrated, high voltage, high current, 4-channel
driver.
• This chip takes input from micro controller and drives DC motor. The micro
controller output current is not enough to drive DC motor directly. The chip
has quad half H bridge drivers. It will provide up to 600 mA current to motor
that is enough to drive it.
10
11. 5)Push buttons
•These are used to activate, stop, change speed and
direction of DC motor.
•Here we are using six push buttons.
6)Led(Light emitting Diode)
• It is a semiconductor diode which glows when a
voltage is applied to it.
•Here we are using six leds for indication
purpose.
7)Capacitors
•Here we are using one 100uf and two 22pf
capacitors.
11
13. Applications and Future Scope
Controlling Direction and speed of dc motor is very essential in many
applications like:
1) Robotic application-To Change Direction and speed of moving robot.
2) Industrial application-To change the direction and speed of rotating
machine.
3) Domestic application-To vary the speed of battery operated portable
fan.
4) Defence application-To rotate radar,automatic gun,tank gun in either
direction.
5) Communication application-To rotate dish antena upward,downward
or clockwise-anticlockwise.
13
14. Conclusion
After Completion Of this project We Can Learn how to control the
speed and direction of dc motor using AVR Atmega-32 microcontroller
in both cw and acw direction with precise speed controlling method.
As a result we can use this project as a great advantage for both
industrial and scientific purpose.
14