Schematic and board

The stepper motor is connected to the L293 IC, which is controlled by the ATMEGA328 board with PORTC. A slide switch is connected to the PORTD of the ATMEGA328 board. The switch drives the stepper motor to the left or to the right. The circuit is build on a breadboard

stepper motor controller sch

stepper motor controller pic2