Supplies: I've got a nema 23 stepper motor, an easydriver to drive the stepper motor, and an arduino micro that I am using. I've got them all wired up to a breadboard with the appropriate power sources (3 1/3 V for the stepper motor driver and the arduino is powered by the computer).
Need: Someone to write code to operate the stepper motor. Code must...
- Make the stepper motor spin 180 degrees at 1/2 rev/s.
- Record the angular displacement of the motor over time. I just need this thing to run once and stop so no need for extra buttons. Just load the code onto the arduino, let it spin, record the displacement.
That's it. Message me if interested.
Thankyou
I think you need a sensor to read the angular position.
I was planning on just counting the steps of the motor. Can arduino handle that?
forrestcollier:
I was planning on just counting the steps of the motor. Can arduino handle that?
Yes. How many points do need and what is the precision you need (in time and position)? What you want to do with the data? Send it over serial connection in real time or store it and read it after?
If that is literally all you need it to do, I can do that with no hardware. You're essentially saying "move motor 100 steps and then record that it moved 100 steps." Since you know ahead of time where the motor is going, and you're not measuring it, then why do you need to record anything?
forrestcollier:
2. Record the angular displacement of the motor over time. I just need this thing to run once and stop so no need for extra buttons. Just load the code onto the arduino, let it spin, record the displacement.
What about finding the starting postition? How is that going to be guaranteed? Not just on first startup but also after a power outage?