Question: write a program for DC Motor Speed and Direction Control in C or Assembly Code and proteus diagram Startup and Welcome Screen A 2 x

write a program for DC Motor Speed and Direction Control in C or Assembly Code and proteus diagram
Startup and Welcome Screen
A 2x16 LCD screen will be used to inform the user. When the simulation starts, the first line of the LCD screen will display the student's name and surname, and the second line will display the student number for 3 seconds. Afterward, it will transition to the motor operation screen. During this time, the motor will not rotate.
Project Working Principle
After the startup screen, the operation screen will appear. On this screen, the first line will be used for number input and addition operations. While on this screen, numbers will be entered from the keypad, and the motor will remain stationary until the "=" key is pressed. When the "=" key is pressed, the speed and direction of the motor will be determined as follows, and the motor will start running. The second line of the operation screen will display the motor speed (as a percentage) and the motor's rotation direction (YON:CW for clockwise and YON:CCW for counterclockwise).
Motor Speed Adjustment
The speed of the DC motor will be adjusted by adding the two numbers entered from the keypad as follows:
a) If the sum of the two numbers entered from the keypad is less than 100, the motor speed will be set as the percentage of the sum (e.g., if the entered numbers are 30 and 20,30+20=50 Motor Speed =50%).
b) If the sum of the two numbers is equal to or greater than 100, the motor speed will be 100%.
Motor Direction Adjustment
The direction of the motor will be determined as follows: if the sum of the numbers entered from the keypad is odd, the motor will rotate clockwise; if even, it will rotate counterclockwise.
Important Note: Unless a key is pressed, the motor will continue to run in its current state. When any key is pressed, the motor will stop and remain in this state until numbers are entered, and the "=" key is pressed again. After entering the numbers and pressing the "=", the new operating conditions will be determined, and the motor will start running based on these new conditions. This process will be carried out in an infinite loop.
Components to Be Used in the Project:
PIC controller, 2x16 LCD screen, calculator keypad, and driver IC (MM74C922).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Electrical Engineering Questions!