Challenge

Project 1 - Controlling a DC motor using PWM and monitoring its Running status

Preeti madam's Embedded system live batch 12

Overview of the Project:

Implement a system on the simulator for controlling a DC motor using L293 motor driver, monitor its status and print the running status of motor on the LCD Display.

Goals:

  • Implement a system on simulator for Controlling the DC motor using L293 motor driver.
  • Displaying the running status of DC motor on the LCD display.

Key Highlights of the Project:

  • The DC motor can be controlled by using L293 motor driver.
  • The speed of a DC motor can be controlled by varying its input voltage, for doing this is to use PWM (Pulse Width Modulation).
  • L293D IC is a typical Motor Driver IC which allows the DC motor to drive on any direction.

Deliverables of this project:

  • Implement the system for controlling DC motor.
  • Controlling the speed of the DC motor using PMW.
  • Displaying the present running status of DC machine on LCD display.

Expected Outcomes:

  • Implement a system on simulator to control a DC motor using PMW
  • Monitoring the running status of the DC motor using L293 motor driver which allows the DC motor to drive on any direction.
  • Running status i.e. on which direction the DC motor is running is to be displayed on the LCD screen.

Screenshot of simiulation(SimulIDE):

  • Pressed the switch at pin C3 for powering the DC Motor.
  • Now motor running in clockwise direction.

  • Here direction of DC motor changed to anti clock wise by pressing switch at pin D1.

  • Increasing the speed of motor by pressing the push button at pin D2.

  • Motor is turned off after pressing the switch at pin C3.

Attached the code with comments, HEX and Simul files

Hence implemented the project as per the given instructions.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.