An electronic device comprising: • a microphone component configured to receive a sound wave, wherein the microphone component comprises a microphone body, a support member, and a flexible circuit board, the support member is fixed into a shell, the flexible circuit board comprises a connection piece and an extension piece that are interconnected as a whole, the connection piece is fixedly connected to the microphone body and is accommodated in the support member together with the microphone body, and the extension piece is located outside the support member and configured to electrically connect to a signal processing apparatus of the electronic device; • the shell, wherein the microphone component is fixed to the shell, ∘ wherein a sidewall of the shell is provided with a through-hole, and the sidewall comprises an inner wall surface and an outer wall surface, ∘ wherein a groove is provided on the outer wall surface of the sidewall and the groove is connected to an inside of the shell through the through hole, ∘ wherein the microphone component is provided opposite to the through-hole and is in contact with the inner wall surface, wherein the support member is made of an elastic material, so that the support member fits to the inner wall surface after being squeezed; and • a waterproof film accommodated in the groove, and the waterproof film is provided opposite to the through-hole, so that a sound wave from the outside reaches the microphone component via vibrations of the waterproof film, wherein a thickness of the waterproof film is not greater than a depth of the groove. • a microphone component configured to receive a sound wave, wherein the microphone component comprises a microphone body, a support member, and a flexible circuit board, the support member is fixed into a shell, the flexible circuit board comprises a connection piece and an extension piece that are interconnected as a whole, the connection piece is fixedly connected to the microphone body and is accommodated in the support member together with the microphone body, and the extension piece is located outside the support member and configured to electrically connect to a signal processing apparatus of the electronic device; • the shell, wherein the microphone component is fixed to the shell, ∘ wherein a sidewall of the shell is provided with a through-hole, and the sidewall comprises an inner wall surface and an outer wall surface, ∘ wherein a groove is provided on the outer wall surface of the sidewall and the groove is connected to an inside of the shell through the through hole, ∘ wherein the microphone component is provided opposite to the through-hole and is in contact with the inner wall surface, wherein the support member is made of an elastic material, so that the support member fits to the inner wall surface after being squeezed; and ∘ wherein a sidewall of the shell is provided with a through-hole, and the sidewall comprises an inner wall surface and an outer wall surface, ∘ wherein a groove is provided on the outer wall surface of the sidewall and the groove is connected to an inside of the shell through the through hole, ∘ wherein the microphone component is provided opposite to the through-hole and is in contact with the inner wall surface, wherein the support member is made of an elastic material, so that the support member fits to the inner wall surface after being squeezed; and • a waterproof film accommodated in the groove, and the waterproof film is provided opposite to the through-hole, so that a sound wave from the outside reaches the microphone component via vibrations of the waterproof film, wherein a thickness of the waterproof film is not greater than a depth of the groove.