AbsolutDealage
Platinum Member
- Dec 20, 2002
- 2,675
- 0
- 0
I actually did the inverted pendulum project with an hc11. Just to let you know, you are probably going to have issues with that stepper motor being fast enough to respond, and probably will move too much when it does. The real key to a successful inverted pendulum is very small movements. The only way to accomplish this is efficient code and a precise mechanical system. If I were you, I would probably replace that motor with a DC motor and an optical encoder (or potentiometer) system for feedback of positional information.
Also, another problem you may run into is that the HC11 is a little bit underpowered for this application. Don't get me wrong, it can be done, but you have to be super-efficient with your code and have everything set correctly on your A/D subsystem for this to work.
One of my teammates from a couple of years ago (if I can even get in touch with them) has all the code that we used, along with our CAD drawings of our pendulum, etc. If I can get a hold of it I'll let you know.
Also, another problem you may run into is that the HC11 is a little bit underpowered for this application. Don't get me wrong, it can be done, but you have to be super-efficient with your code and have everything set correctly on your A/D subsystem for this to work.
One of my teammates from a couple of years ago (if I can even get in touch with them) has all the code that we used, along with our CAD drawings of our pendulum, etc. If I can get a hold of it I'll let you know.