Hello guys,
I'm currently working a project that I need a little help on it. I'm currently looking for suggestions and brainstorming. I think I have an idea how to get it all to work, but I need more info. There probably more then one way to achieve this, I'm just in limbo land at this point not being able to decide which way to go. Or maybe I'm wrong and I currently can't achieve what I'm going after.
Current project is a Stepper that will run at 66 rpm for exactly 1 minute. Other things involved in the project is a 7inch TFT to press "start test buttons" and "reset button". The button presses on the TFT will be CW START, CCW START, and RESET. There is also a hall effect sensor to display rpm to make sure the shaft is currently running at 66rpm. The stepper also needs to throttle up to 66 rpm. So I been looking at AccelStepper Library. I have used AccelStepper in the past on other projects using steppers. Just never used it in this type of application.
The hardware being used in this project are Nema 34, 13.5nm stepper, MA860H Microstep Driver, 350 watt power supply for the stepper , and sainsmart Hall effect sensor non latching for speed readout on the TFT. The arduino is a DUE.
Currently I have done research on
Demonstration code for several things at the same time - Project Guidance - Arduino Forum = Demonstration code for
several things at the same time.
I know most hall effect sensors are used in conjunction with ISR, but I don't know how that is going to effect the stepper output or speed. I currently have all the UI elements designed in a function that is called once in the beginning and that is about as far as I am. Please any feedback would be great.
Thank you,
Ryan