niranjan23
Member level 5
Hello!!
I have problem with my project Speed control of DC motor using KEYPAD and pwm. I have interfaced 4x3 Keypad and 16x2 LCD, I want to control speed of DC motor using keypad input like 25% Duty cycle 50% duty cycle etc.!!!
My problem is in program ..that is I cannot stay in conditional loop after I enter value by keypad. for example when I enter 50% through keypad it goes in while loop for once and only it will never stay in loop!.:--(
I am attaching my Code in keil and Simulation in Proteus! Below with Circuit diagram.
Circuit diagram is general configuration for testing only.!!!
You will know what is the problem after running the simulation and code!! Please tell me whats wrong I am doing!!
Thank you!!
View attachment simu.PDF
View attachment DC Motor control.rar
I have problem with my project Speed control of DC motor using KEYPAD and pwm. I have interfaced 4x3 Keypad and 16x2 LCD, I want to control speed of DC motor using keypad input like 25% Duty cycle 50% duty cycle etc.!!!
My problem is in program ..that is I cannot stay in conditional loop after I enter value by keypad. for example when I enter 50% through keypad it goes in while loop for once and only it will never stay in loop!.:--(
I am attaching my Code in keil and Simulation in Proteus! Below with Circuit diagram.
Circuit diagram is general configuration for testing only.!!!
You will know what is the problem after running the simulation and code!! Please tell me whats wrong I am doing!!
Thank you!!
View attachment simu.PDF
View attachment DC Motor control.rar