Components used: arduino, arduinouno, 7-segment, potentiometer, npntransistor, dcmotor, diode, resistor