Components used: arduino, arduinouno, ultrasonic, pushbutton, dcmotor, npntransistor, diode, resistor