An electronic pump, comprising a controller and a motor; the controller comprising a power input terminal, a printed circuit board, a motor driver and a microprocessor; the power input terminal, the microprocessor and the motor driver being spaced from each other and being fixedly connected to the printed circuit board; the microprocessor being electrically connected to the motor driver by the printed circuit board; wherein the microprocessor is configured to output or stop outputting a motor drive control signal based on a received control signal; the motor driver drives the motor to rotate based on the motor drive control signal from the microprocessor; and wherein there is no motor drive circuit composed by discrete components and configured to drive the motor to rotate arranged separately on the printed circuit board between the motor driver and the motor, wherein the controller further comprises a power protection circuit; a power supply supplies power to the motor driver and the microprocessor via the power protection circuit; one end of the power protection circuit is connected to the power supply and the other end of the power protection circuit is connected to the microprocessor and the motor driver, characterized in that the power protection circuit comprises a first capacitor, a second capacitor, a first diode, a metal oxide semiconductor transistor, a first resistor and a second diode, wherein the first diode is a bidirectional transient voltage suppression diode; the second diode is a transient voltage regulator diode; one end of the first capacitor is electrically connected to a positive of the power supply; the other end of the first capacitor is connected to a negative of the power supply; one end of the first resistor is connected to the positive of the power supply; the other end of the first resistor is connected to the metal oxide semiconductor transistor; the second capacitor is connected to the first capacitor in parallel; the first diode is connected to the first capacitor in parallel; the second diode comprises an anode and a cathode; the anode is connected to a reference ground of the controller and the cathode is connected to the positive of the power supply; the metal oxide semiconductor transistor comprises a drain electrode, a source electrode and a gate electrode; the drain electrode is connected to the negative of the power supply; the source electrode is connected to the reference ground; and the gate electrode is connected to the first resistor. wherein the microprocessor is configured to output or stop outputting a motor drive control signal based on a received control signal; the motor driver drives the motor to rotate based on the motor drive control signal from the microprocessor; and wherein there is no motor drive circuit composed by discrete components and configured to drive the motor to rotate arranged separately on the printed circuit board between the motor driver and the motor, wherein the controller further comprises a power protection circuit; a power supply supplies power to the motor driver and the microprocessor via the power protection circuit; one end of the power protection circuit is connected to the power supply and the other end of the power protection circuit is connected to the microprocessor and the motor driver, characterized in that the power protection circuit comprises a first capacitor, a second capacitor, a first diode, a metal oxide semiconductor transistor, a first resistor and a second diode, wherein the first diode is a bidirectional transient voltage suppression diode; the second diode is a transient voltage regulator diode; one end of the first capacitor is electrically connected to a positive of the power supply; the other end of the first capacitor is connected to a negative of the power supply; one end of the first resistor is connected to the positive of the power supply; the other end of the first resistor is connected to the metal oxide semiconductor transistor; the second capacitor is connected to the first capacitor in parallel; the first diode is connected to the first capacitor in parallel; the second diode comprises an anode and a cathode; the anode is connected to a reference ground of the controller and the cathode is connected to the positive of the power supply; the metal oxide semiconductor transistor comprises a drain electrode, a source electrode and a gate electrode; the drain electrode is connected to the negative of the power supply; the source electrode is connected to the reference ground; and the gate electrode is connected to the first resistor.