This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

stepper motor conrol using keypad

hi!
i am new to dis forum.....plzz plzz really help me out.....i need to submit a project on stepper motor control using keypad
i want to control the stepper rotation using keypad......i tried out many ways.....could u give me the corresponding c programe so that i can get working with my project.....

Parents
  • Not sure what a simulator can do about a motor rotating or not.

    The questions are: can your program read a keypad or not?
    Can your program drive a motor or not?

    It isn't until the program can do the two above things, that it is meaningful to try to combine the two steps, having the keypad actually give the orders what the motor should do.

    You don't send someone out to win the Le Mans 24 hour race before the person have alrady shown great skills on the race track.
    And you don't send someone out on the race track in the first place before they have shown they can drive a car.
    And the normal way to make sure someone can drive a car is to get them to either train on a reserved track or wait until the person have a drivers license.

    It's all about doing things in multiple, reasonably large, steps. And repeat a step multiple times until problem is solved/skill reached/...

    So how have you broken your program down into smaller sub-programs and tried to figure out if they work or not? What is your actual strategy for debugging? Turn on the switch and then notice a failure and directly come to a forum claiming "it doesn't work"? Would anyone on a forum be able to help? Would we even know how your keypad is connected to the processor? Or what electronics you have for controlling that motor?

    Somehow, you must see that the major part of your projects must be done by you. Or by someone you pay to do them, based on full specifications from you.

Reply
  • Not sure what a simulator can do about a motor rotating or not.

    The questions are: can your program read a keypad or not?
    Can your program drive a motor or not?

    It isn't until the program can do the two above things, that it is meaningful to try to combine the two steps, having the keypad actually give the orders what the motor should do.

    You don't send someone out to win the Le Mans 24 hour race before the person have alrady shown great skills on the race track.
    And you don't send someone out on the race track in the first place before they have shown they can drive a car.
    And the normal way to make sure someone can drive a car is to get them to either train on a reserved track or wait until the person have a drivers license.

    It's all about doing things in multiple, reasonably large, steps. And repeat a step multiple times until problem is solved/skill reached/...

    So how have you broken your program down into smaller sub-programs and tried to figure out if they work or not? What is your actual strategy for debugging? Turn on the switch and then notice a failure and directly come to a forum claiming "it doesn't work"? Would anyone on a forum be able to help? Would we even know how your keypad is connected to the processor? Or what electronics you have for controlling that motor?

    Somehow, you must see that the major part of your projects must be done by you. Or by someone you pay to do them, based on full specifications from you.

Children
No data