Components used: arduino, arduinouno, toggleswitch, ir-sensor, npntransistor, dcmotor, resistor, diode, battery9v