The invention discloses an electronic device. The electronic device comprises an electromagnetic
exciter, a first load element and a second load element, the electromagnetic
exciter comprises a housing, a magnetic vibrator, a coil and a first permanent
magnet, the interior of the housing forms a cavity, the permanent
magnet, the coil and the magnetic vibrator are located in the cavity, the magnetic vibrator comprises a fixed end and a suspended part connected to each other, the fixed end is fixed to the housing, a part of the suspended part is opposite to and spaced from the first permanent
magnet, the suspended part comprises a connecting part, the housing has a through hole, the connecting part extends from the through hole, the connecting part is used to connect with the first load element or the second load element, and also comprises a conversion device for converting the connecting part between the first load element and the second load element, the coil responds to the alternating
signal of the
external circuit to generate an alternating
magnetic field, the first permanent magnet is configured to interact with the suspended part, and the magnetic vibrator drives the first load element or the second load element to vibrate.