Arduino skech(firmware) needed with pinouts and explanations.
I have those parts.
-Arduino Uno or Mega
-Easydriver(stepper motor driver)([url removed, login to view])
-L298N(double dc motor driver)([url removed, login to view])
-2 pieces limit switches..Switch1 and Switch2 (optical switch/photo interrupter/[url removed, login to view])
-1 piece dc motor 12volt (works as a slider between Switch1 and Switch2 /dc motor works with L298N)
-1 piece rc servo motor (it will push and pull an arm/ works with Arduino Uno)
-1 piece nema17 stepper motor 200steps [url removed, login to view] 12volt(works as a turn table)
-1 piece 12 volt buzzer(works with L298N)
-1 piece sensorXXX for Stepper motor /Home position
-1 piece Push Button
-1 piece Green led
Stepper Motor: There is a turntable that has 10 [url removed, login to view] turntable is attached to stepper motor.
it will turn 36 degrees per movement(so total there will be 10 movements).Each Turntable turn 36 degrees Rc servo Motor
will put somethingXXX into turntable each groove.
Also Dc Motor is putting somethingXXX into turntable each groove.
system power on;
1-Dc Motor will goto switch1 and waits..if it is already in Switch1 same it will waits.
2-Rc servo Motor turns 80 Degrees CW..and waits.
3-Stepper motor will go to 1st groove on Turntable with a help of sensorXXX which is attached to the turntable.
4-Calibration finished and Green Led activated.
***All above steps must be in order.
When green led is active,user will Push the button..and system starts.
1-Rc Servo turns 40 degrees CCW.
2-Dc Motor will go to switch2 at same time buzzer will work.
3-When Dc motor reaches switch2,
b-rc servo turns 80 Degrees CW,
c-Dc motor reverse and go to Switch1.
***(a,b,c steps must be in order)
4-When Dc motor reaches switch1 wait for stepper movement, now stepper motor turns 36 [url removed, login to view] turntable 2nd groove is
5-When 2nd groove is [url removed, login to view] to step1 and so on...
***these all steps must be in order.
*** when stepper is turning..dc motor must be at switch1 and servo motor will be at 80 [url removed, login to view] there will be crash.