Arduino report
Arduino report
Section 2
Lab: 1
Lab Title: Controlling DC Motor Speed and Direction Using H-Bridge L293D
Group number: 11
Name Enrolment No
3) Procedure:
1. The circuit was set up by connecting the motor driver module to the Arduino
UNO
2. Two slide switches were connected to the digital input pins of the Arduino board
3. The first switch was assigned to enable the motor driver.
4. The second switch controlled the direction of motor rotation
5. Three digital output pins were used to send control signals to the motor driver
6. The Arduino program was uploaded to handle input signals and drive the motor
accordingly as per our group input.
7. The circuit was tested by testing the switches on and off also by observing the
motor's behaviour.
4) Observations:
Motor Behavior:
● The motor vehicle speed increased when the PWM duty cycle was set at a high level but
it decreased with lower duty cycle values.
● The motor did not operate when the enable switch was off.
● Changing the direction switch's position altered the motor's rotation direction.
Current:
● The current drawn by the motor increased in direct relation to the speed.
5) Learnings:
Concepts Learned:
● The experiment proved that the L293D H-Bridge configuration enables speed and
directional control of motors through four control pins.
● The motor speed receives accurate control through PWM by adjusting the average
voltage supplied to it.
Challenges Faced:
● The main challenge involved avoiding signal conflicts which needed correct connection
organization to protect the motor.
● Achieving stable and effective speed control demanded proper power supply avoiding
any loose wires in circuit.
Real-World Applications:
● The concept show use in robotics and automation because accurate motor control is
essential.
6) Conclusion:
The lab successfully demonstrated the working of a motor driver with an Arduino. By using two
slide switches, we could control both the enable function and the direction of motor rotation. The
experiment provided understanding of motor control using digital electronics