Professional Documents
Culture Documents
SEMESTER PROJECT
Controlling Speed of DC Motor Using PWM Technique
EE PROJECT: HAMZA|SOHAIB|ALI
Controlling DC Motor Speed
Using PWM Technique
Ali Ahmed. Muhammad Sohaib Faisal. Hamza Shahid Paracha.
School of Mechanical and School of Mechanical and School of Mechanical and
Manufacturing Engineering. Manufacturing Engineering. Manufacturing Engineering.
Natonal University of Sciences and National University of Sciences and National University of Sciences and
Technology. Technology. Technology.
Islamabad, Pakistan. Islamabad, Pakistan. Islamabad, Pakistan.
alisheikh1047@gmail.com faisalsohaib1997@gmail.com hamzashahid125@yahoo.com
Next, the Input 1 and Input 2 pins are used for controlling
the rotation direction of the motor A, and the inputs 3 and 4
for the motor B. Using these pins, we actually control the
switches of the H-Bridge inside the L298N IC. If input 1 is
LOW and input 2 is HIGH the motor will move forward,
and vice versa, if input 1 is HIGH and input 2 is LOW the
motor will move backward. In case both inputs are same,
either LOW or HIGH the motor will stop. The same applies
for the inputs 3 and 4 and the motor B. [1]
Fig.2. H-Bridge
IV. ACKNOWLEDGMENT
We are grateful to Lec. Kashif Javed and Lab engineer
Faisal Mehmood for teaching us the necessary theoretical
concepts being used in this project and providing us with
their guidance and utmost attention.
V. REFERENCES
[1] https://howtomechatronics.com/tutorials/arduino/arduino-dc-motor-
control-tutorial-l298n-pwm-h-bridge/
[2] https://www.youtube.com/watch?v=dyjo_ggEtVU
-----------------------------------------------------------------------------------------------------------------------------------------