A battery compartment, comprising: a battery mount having at least two battery mounting grooves spaced apart from each other; a connection electrode on the battery mount and between adjacent battery mounting grooves; a battery compartment cover detachably connected to the connection electrode; and a pushing-out assembly on the connection electrode, wherein the pushing-out assembly is configured to provide a force for moving the battery compartment cover away from the connection electrode; characterized in that, the connection electrode is in a cylindrical shape and has a closed end and an open end opposite to each other, wherein the closed end is located on the battery mount and the open end faces the battery compartment cover, an inner cavity of the connection electrode constitutes a slide slot, and a slider stopper plate is provided at the open end of the connection electrode; the pushing-out assembly comprises a slider configured to slidably engage with the slide slot and an elastic member located between a bottom of the slide slot and the slider, wherein the slider comprises a body and a protrusion protruding axially from a side surface of the body, the body is inside the slide slot, and the protrusion is outside the slide slot and axially extends out of the slider stopper plate; in a case that the battery compartment cover is connected to the connection electrode, the slider is sandwiched between the battery compartment cover and the elastic member, and the elastic member is in a compressed state; in a case that the battery compartment cover is detached from the connection electrode, an elastic force of the elastic member is released, such that the battery compartment cover is ejected from a mounting groove by the slider. a battery mount having at least two battery mounting grooves spaced apart from each other; a connection electrode on the battery mount and between adjacent battery mounting grooves; a battery compartment cover detachably connected to the connection electrode; and a pushing-out assembly on the connection electrode, wherein the pushing-out assembly is configured to provide a force for moving the battery compartment cover away from the connection electrode; characterized in that, the connection electrode is in a cylindrical shape and has a closed end and an open end opposite to each other, wherein the closed end is located on the battery mount and the open end faces the battery compartment cover, an inner cavity of the connection electrode constitutes a slide slot, and a slider stopper plate is provided at the open end of the connection electrode; the pushing-out assembly comprises a slider configured to slidably engage with the slide slot and an elastic member located between a bottom of the slide slot and the slider, wherein the slider comprises a body and a protrusion protruding axially from a side surface of the body, the body is inside the slide slot, and the protrusion is outside the slide slot and axially extends out of the slider stopper plate; in a case that the battery compartment cover is connected to the connection electrode, the slider is sandwiched between the battery compartment cover and the elastic member, and the elastic member is in a compressed state; in a case that the battery compartment cover is detached from the connection electrode, an elastic force of the elastic member is released, such that the battery compartment cover is ejected from a mounting groove by the slider.