--
You received this message because you are subscribed to the Google Groups "accelstepper" group.
To unsubscribe from this group and stop receiving emails from it, send an email to accelstepper...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "accelstepper" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/accelstepper/yT5XWeaJS2A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to accelstepper...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "accelstepper" group.
To unsubscribe from this group and stop receiving emails from it, send an email to accelstepper...@googlegroups.com.
--
--
You received this message because you are subscribed to the Google Groups "accelstepper" group.
To unsubscribe from this group and stop receiving emails from it, send an email to accelstepper...@googlegroups.com.
That's a fairly ambitious plan, but in the current iteration, I guess you are just aiming for the video part of the project?
So. Controls are a pot and a button, in your current version.
The pot sets the speed of the movement, when it happens. When the button is held down, the motor will run at the speed set by the pot. When the motor is released, the motor stops.
Questions then: does the pot define a constant speed, or a maximum speed? That is, when the button is held down, does the motor instantly start moving at a constant speed, or does it accelerate up to a max speed?
Same question for stopping. When releasing the button, does the motor stop instantly, or does it smoothly decelerate to a standstill?
Does anything special happen when the carriage is still moving when it runs out of track? (simple mechanical solution is it just judders around at the end if you make the links strong enough and don't over-spec the motor drive.)
I assume you will add a second button for moving in the opposite direction. Not something you need to fix now (don't add button 2 until you have solved button 1), but think about what happens when you press both buttons together, or try to reverse while in a deceleration phase.
What happens when you turn the pot while the motor is moving?
The answers to the questions form the basis of the logic in your program, so you do need to know them.
Re your variables - isn't motor speed and run time the same thing?
Sn
Questions then: does the pot define a constant speed, or a maximum speed?
The pot would define a constant speed, which would be determined by turning through its range. It could be 5 or 800. Max being 800.
That is, when the button is held down, does the motor instantly start moving at a constant speed, or does it accelerate up to a max speed?
I would like it to ramp slightly, but not over a prolong period. Ideally it would ramp up/down over a 1 second period at each end of the movement.
Same question for stopping. When releasing the button, does the motor stop instantly, or does it smoothly decelerate to a standstill?
Decelerate over a 1 second period.
Does anything special happen when the carriage is still moving when it runs out of track? (simple mechanical solution is it just judders around at the end if you make the links strong enough and don't over-spec the motor drive.)
I do not have, but can get, reed switches that would kill the motor instantly if hit. Ideally I would not hit them...but safety.
I assume you will add a second button for moving in the opposite direction. Not something you need to fix now (don't add button 2 until you have solved button 1), but think about what happens when you press both buttons together, or try to reverse while in a deceleration phase.
What happens when you turn the pot while the motor is moving?
Speed is to be set before movement, with no effect if changed during movement. Button deactivates changes from the pot in other words.
The answers to the questions form the basis of the logic in your program, so you do need to know them.
Re your variables - isn't motor speed and run time the same thing? No, motor speed would be how fast it moves down the track while run time would say how long it receives power. For example, my final clip will be 30 seconds long but it takes such minuscule steps (maybe 100 steps and stops for each movement) and I know it will take 3 hours to collect the amount of photos I need. motor speed will be say 500, while the run time will be 3 hours, 180 minutes...however it needs to be setup.

--