There is a DC motor that requires a PWM frequency between 5 and 10kHz to drive it. Arduino UNO PWM default frequency generates noise while driving the motor.
So,
Generate a PWM with any frequency between 5 to 10 kHz using Arduino UNO.
Control the PWM duty cycle using a potentiometer to adjust the motor's speed.
Note :
If you don’t have DSO to analyze output PWM frequency, you can use simulation tools like Proteus, Wokwi, or any other platform.