Hi, I'm using an arduino uno to help me with a school project but I'm lost when it come to trying to code the dam thing. What I want to do is basic and I've been trying to get it working for over a week now but I'm still having no luck, so if someone could help I would be so greatful.
Ok so heres the idea or the operation I'm trying to get it to perform;
Push button pressed,
DC motor runs (at a slow speed) for a short amount of time and then stops,
Stepper motor rotates 360 degrees,
Finnish.
Its that simple. I do believe I have all the parts but if I don't I can get them. Basically what I need someone to do is either right the code for me or somehow enable to try and manipulate other pieces of code to forge a new one that would work for me.
If you have read all of this thank you and I hope that you will be able to help.
To guix;
thank you for the two useful pages and yes I did know that you can just connect a motor straight to the arduino but that side of the electronics (the true side as it were) is another part that I struggle with.
thank you for the two useful pages and yes I did know that you can just connect a motor straight to the arduino but that side of the electronics (the true side as it were) is another part that I struggle with.
What parts of the problem have you been able to solve so far, and where are you stuck?
(Do you have an Arduino? Have you been able to upload a sketch to it? Have you been able to write your own code and upload it? Have you been able to detect when a button has been pressed? etc ...)
BGiffo11:
To guix;
thank you for the two useful pages and yes I did know that you can just connect a motor straight to the arduino but that side of the electronics (the true side as it were) is another part that I struggle with.
To Stu1987;
yes I do have the driver
If you post your code, the type of driver, and how everything is wired it would be easier to help you. The program itself will be very small and easy from the sound of it. A digital input for your button, an output to drive the motor and an output to pulse the stepper motor(possibly one for enable and one for direction depending on your driver)