You have chosen to sponsor your bid up to a maximum amount of .
Using an Arduino UNO or Leonardo develop a program to do the following:
On power up drive a stepper motor at a slow rate of speed until a force resistor sends an analog voltage signal to an input.
Stop the motor and advance 1 step in opposite direction. Set this as home position
On rise of external source, needs to be an interrupt, move the stepper motor a set amount of steps AWAY from home position at max speed
On fall of the same trigger move the stepper motor back to home position at max speed
1. Button attached to input. Each trigger increases number of steps for power up routine
2. Button attached to input. Each trigger increases number steps for open distance
3. Button attached to input. Trigger makes Buttons 1 and 2 work opposite.
Each of these triggers will need a debounce routine.
This is stage one of this project. Stage two will introduce the need to drive 8 stepper motors. Please consider this when bidding. If the hardware needs to change for stage one so that stage two is easier I have no problem with that. If I need one arduino board PER stepper for stage two that is ok as well.
Software will be completely commented.