| Details |
Message |
|
Read-Only
Author nitin bala
Posted 18-Mar-2012 04:09 GMT
Toolset C51
|
 stepper motor conrol using keypad
nitin bala
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.....
|
|
|
Read-Only
Author Andrew Neil
Posted 18-Mar-2012 08:15 GMT
Toolset None
|
 RE: i need to submit a project
Andrew Neil
That usually means that you are actually supposed to do the
work for the project yourself - doesn't it?
"i want to control the stepper rotation using keypad"
So there's two things that you need to study:
1. How stepper motors work, and how to control them;
2. How keypads work, and how to use them.
Neither of them is any any way new or unusual; they are very
common, very well established topics - there are plenty of books,
websites, articles, projects, etc, etc, covering these topics.
eg, for stepper motors, start here: http://www.divms.uiowa.edu/~jones/step/
"i tried out many ways"
What, exactly, did you try?
What were the results?
If the results were not what you expected/wanted, what
investigations did you do to find out why?
"could u give me the corresponding c programe so that i can get
working with my project"
NO, that would be cheating!
Again, it is your project - that means you are the
one that has to do the work!
People will be happy to answer specific questions - but not do
your work for you.
http://www.catb.org/~esr/faqs/smart-questions.html#homework
|
|
|
Read-Only
Author Tamir Michael
Posted 18-Mar-2012 09:21 GMT
Toolset None
|
 RE: i need to submit a project
Tamir Michael
Another one of Erik's nightmarish assistants :-) :-) :-) :-)
|
|
|
Read-Only
Author nitin bala
Posted 18-Mar-2012 12:23 GMT
Toolset C51
|
 RE: i need to submit a project
nitin bala
i wrote the program and executed in keil and there is neither any
error or warning...but when i try to execute in edsim51 simulator the
motor doesnt rotate through keypad.....
|
|
|
Read-Only
Author Hans-Bernhard Broeker
Posted 18-Mar-2012 12:58 GMT
Toolset C51
|
 RE: i need to submit a project
Hans-Bernhard Broeker
the motor doesnt rotate through keypad.....
And you really think that a description of what does not
happen tells anybody anything about the problem?
|
|
|
Read-Only
Author Per Westermark
Posted 18-Mar-2012 13:24 GMT
Toolset C51
|
 RE: i need to submit a project
Per Westermark
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.
|
|
|
Read-Only
Author Andrew Neil
Posted 18-Mar-2012 15:02 GMT
Toolset None
|
 RE: there is neither any error or warning
Andrew Neil
That shows only that you have not made any syntax errors in your
source code - it says absolutely nothing as to whether your source
code can successfully perform any particular function!
eg, "Drive your car over that cliff" is a perfectly valid English
sentence - but would not be a good thing to actually do!
"the motor doesnt rotate through keypad"
So, again, what have you done to find out why it doesn't
work?
As it says on the EdSim home page, "The student can ... step
through the code and observe
the effects each line has on the internal memory and the external
peripherals"
Have you done that?
http://www.edsim51.com/
Debugging is an important part of any project - you
need to learn to debug your projects!
Here's some tips to get you started:
http://www.8052.com/faqs/120313
http://www.eetimes.com/discussion/break-point/4027526/Developing-a-good-bedside-manner?pageNumber=0
|
|
|
Read-Only
Author nitin bala
Posted 19-Mar-2012 05:35 GMT
Toolset C51
|
 RE: there is neither any error or warning
nitin bala
thanks for ur sincere reply!!!!!!
i know that as a student i have to work myself on my project!!!
but i really have very less time left and also going through my tests
right now!
so i really very less time left with me
so i would be highly obliged if anyone can provide me with a basic
program to control motor through keypad
i would surely study and change the program according to my
needs!!!!!
hoping for a positive reply!
also i believe that u will not disappoint young turks like me who
wish to help others in coming years just like u!!!
|
|
|
Read-Only
Author Andrew Neil
Posted 19-Mar-2012 07:57 GMT
Toolset None
|
 RE: i really very less time left with me
Andrew Neil
Your school sets the schedule according to their expectations of
what is required of a competent student. If you can't keep up with
the schedule, then you need to discuss with your tutors about
that.
Cheating by getting others to do your work for you is
not a solution.
"young turks like me who wish to help others in coming
years"
If you wish to help others, then you need to first learn to do
this stuff yourself!
"provide me with a basic program to control motor through
keypad"
Have you even looked at the examples on the EdSim site?
|
|
|
Read-Only
Author Tamir Michael
Posted 19-Mar-2012 08:25 GMT
Toolset None
|
 RE: i really very less time left with me
Tamir Michael
This is so silly.
Our young Turk here (by his own admission) is spending so much time
and energy in trying to steal homework rather than investing it into
learning so that he can actually do the next assignment. Silly, but
not uncommon.
Surreal, but not unique.
|
|
|
Read-Only
Author Tamir Michael
Posted 19-Mar-2012 08:26 GMT
Toolset None
|
 RE: i really very less time left with me
Tamir Michael
young turks like me who wish to help others in coming
years
Start by helping yourself (err, not by stealing and cheating, of
course). How about that?!
|
|
|
Read-Only
Author erik malund
Posted 19-Mar-2012 14:34 GMT
Toolset C51
|
 so you want, in the future to help some with
erik malund
so you want, in the future to help some with
a) typing with childish shorthand ('u', 'ur' etc)
b) drinking beer instead of studying "i really have very less
time"
c) stealing software "provide me with a basic program"
d) cheating "i know that as a student i have to work myself on my
project!!! but "
I, for one, hope you will NEVER be able to 'help'
Erik
|
|