So I'm in the process of making a small mechanical "proof-of-concept" for my upcoming exam. The system is fairly simple, and consists of two stepper motors, which I hope to drive from the Adafruit Motor shield V2, and a 5V relay which will activate a 12V DC motor hooked up to a battery. What it has to do is; drive stepper 1 x amount of resolutions, then activate the 5V relay activating the 12V DC motor, wait a couple of seconds, deactivate the relay, and drive stepper 1 x amount the other way, it then has to drive stepper 2 a couple of resolutions. All of this should then be looped a couple of times.
As I'm very new to programming, I would love some help with the code, however I hope, due to the fairly simple movements, that it will be easy to do.
EDIT: The stepper 2 might become a servo, if that makes anything easier.
Need help with a small project.
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23910
- Joined: Mon Apr 21, 2008 2:33 pm
Please be positive and constructive with your questions and comments.