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