The article compares the control methods of a piezoelectric motor and a DC motor using the most widely available and widely used controllers. A circuit for connecting the piezoelectric motor driver and Arduino Nano controller is proposed, as well as testing the program for controlling the piezoelectric motor. The study of the velocity of a piezoelectric motor is performed, depending on the coefficient of filling the signal by pulse-width modulation at different frequencies. It is shown that the dependence of the engine’s speed on the coefficient of filling the signal by pulse-width modulation has a character close to the linear one, as in the DC motor, and its control can be carried out in the same way as driving a DC motor using standard programs.