I have a Year 12, Systems Engineering 3&4 project where I am making a basketball pinball machine.
I need to move a Mini 40x60mm Basketball Hoop against the side wall that is 101mm tall.
Therefore I have a stepper motor that rotates a band, which is attached by another free-spinning rod.
The function will be the hoop have a micro switch, so when the ball goes through the hoop the micro switch will detect you scored a point and movies in a random direction afterward.
(Note that green says it equals "Servo" but it has now been changed to Stepper because there wasn't enough torque)
So how with that in mind how would I go about, having the stepper motor rotate in a random direction, clockwise or anti-clockwise?
Once activated through a microswitch, the stepper motor rotates in between 101mm, and after less than a second it stops, and waits for the player to score again then it randomly rotates clockwise or anticlockwise.
Then the final issue will be how the does stepper motor know which position it is in. Therefore having microswitches at the top and bottom of the 101mm so that when the hoop hits the switch and it knows to stop at that point.
