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